首页 > 2014年11月23日 > 全部分享
计算机存储系统学习心得
分层组织计算机存储系统由高层到低层分别名之寄存器堆、高速缓存(cache)、主存(main memory)和外存(secondary memory)。那么为什么记忆系统要层次化呢?如果答案是效率,那么提效的原理又是什么呢?如果原理是传说中的局部性原理(principle of locality),那...
分类:其他   时间:2014-11-23 17:16:31    收藏:0  评论:0  赞:0  阅读:290
CentOS 6.4下安装Oracle 11gR2
安装前须知:内存(RAM)的最小要求是 1GB,建议 2GB 及以上。虚拟内存 swap 建议:内存为 1GB~2GB 时建议swap大小为内存大小的 1.5 倍;内存为 2GB~16GB 时建议swap大小为内存的大小;内存超过 16GB 时swap保持16GB。要求临时文件目录,如 /tmp 的...
分类:数据库技术   时间:2014-11-23 17:16:11    收藏:0  评论:0  赞:0  阅读:336
SQLiteOpenHelper操作SQLite数据库
package android.sqlite;import android.content.Context;import android.database.sqlite.SQLiteDatabase;import android.database.sqlite.SQLiteOpenHelper;im...
分类:数据库技术   时间:2014-11-23 17:16:01    收藏:0  评论:0  赞:0  阅读:354
java学习笔记一
1.java开发最基本的工具jdk(是一个软件,需要安装)在网上下载jdk安装包,注意在jdk安装过程中还会弹出一个jre安装,这个和jdk不能安装在同一个目录下面,否则在用命令行窗口进行代码编译时会报错 找不到或无法加载主类 com.sun.tools.javac.Main2初学者可以用notep...
分类:编程语言   时间:2014-11-23 17:15:51    收藏:0  评论:0  赞:0  阅读:162
bzoj 3143: [Hnoi2013]游走 高斯消元
3143: [Hnoi2013]游走Time Limit:10 SecMemory Limit:128 MBSubmit:1026Solved:448[Submit][Status]Description一个无向连通图,顶点从1编号到N,边从1编号到M。小Z在该图上进行随机游走,初始时小Z在1号顶点...
分类:其他   时间:2014-11-23 17:15:41    收藏:0  评论:0  赞:0  阅读:332
minlen of expression of integer
given an integer ,find 最小长度minlen 的expression of integer, minlen 定义为多少个完全平方数相加例如 14 = 1 + 4 + 9, minlen = 3int MinExpressionInteger(int i){ int k =...
分类:其他   时间:2014-11-23 17:15:31    收藏:0  评论:0  赞:0  阅读:281
三层交换单臂路由vlan间通信综合实验之降龙要点--Lee
单臂路由三层交换机提供vlan间的通信之菜鸟之降龙详解要点:图示PC:左到右依次设置IP172.16.10.1,20.1,30.1,40,1,50,1/24网关10.254,20.25430,25440,25450.254目的:全网ping通2层交换,下行做vlan,把接口划分vlan内,上行接口做...
分类:其他   时间:2014-11-23 17:15:21    收藏:0  评论:0  赞:0  阅读:277
OpenCASCADE Linear Extrusion Surface
Abstract. OpenCASCADE linear extrusion surface is a generalized cylinder. Such a surface is obtained by sweeping a curve (called the “extruded curve” ...
分类:其他   时间:2014-11-23 17:15:11    收藏:0  评论:0  赞:0  阅读:417
expression tree to string
+/ \1 */ \5 6这样的。要返回1+(5*6)struct TreeNode{ TreeNode * left, *right; string val; TreeNode(string i) :val(i), left(NULL), right(NULL){}}; bool...
分类:其他   时间:2014-11-23 17:15:01    收藏:0  评论:0  赞:0  阅读:193
实现 memcpy
void * Memcpy(void * src, void * des, int len){ char * pSrc, *pDes; if (NULL == des || NULL == src) return NULL; if (src (char*)des) ...
分类:其他   时间:2014-11-23 17:14:41    收藏:0  评论:0  赞:0  阅读:301
【树状数组】【权值分块】bzoj2352 Stars
经典问题:二维偏序。给定平面中的n个点,求每个点左下方的点的个数。因为 所有点已经以y为第一关键字,x为第二关键字排好序,所以我们按读入顺序处理,仅仅需要计算x坐标小于树状数组。 1 #include 2 #include 3 #include 4 using namespace std; 5 st...
分类:编程语言   时间:2014-11-23 17:14:21    收藏:0  评论:0  赞:0  阅读:690
给一个只包含 0, 1, * 的 String,将所有的* 替换成 0 或者 1, 返回所有的可能行
void GetAllString(int start, string & str, vector & res) { if (start == str.size()) { res.push_back(str); } else { ...
分类:其他   时间:2014-11-23 17:14:11    收藏:0  评论:0  赞:0  阅读:276
How to code a URL shortener?
I want to create a URL shortener service where you can write a long URL into an input field and the service shortens the URL to “http://www.example.or...
分类:Web开发   时间:2014-11-23 17:14:01    收藏:0  评论:0  赞:0  阅读:897
GS LiveMgr心跳管理类
struct LiveMgr{private: int m_nCount; /// m_vecChannels; /// m_spTimer; /// m...
分类:其他   时间:2014-11-23 17:13:51    收藏:0  评论:0  赞:0  阅读:299
三元组的补充(稀疏矩阵的乘法)
1 #include 2 #include 3 #include 4 #include 5 6 using namespace std; 7 8 class Node { 9 public: 10 int row,col; 11 int value; ...
分类:其他   时间:2014-11-23 17:13:41    收藏:0  评论:0  赞:0  阅读:323
使用 VisualVM 进行性能分析及调优
本文转自:http://www.ibm.com/developerworks/cn/java/j-lo-visualvm/index.htmlVisualVM 是一款免费的\集成了多个 JDK 命令行工具的可视化工具,它能为您提供强大的分析能力,对 Java 应用程序做性能分析和调优。这些功能包括生...
分类:其他   时间:2014-11-23 17:13:31    收藏:0  评论:0  赞:0  阅读:310
Leetcode Word Break
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl...
分类:其他   时间:2014-11-23 17:13:21    收藏:0  评论:0  赞:0  阅读:250
树结构练习——判断给定森林中有多少棵树(简单做法)
树结构练习——判断给定森林中有多少棵树Time Limit: 1000MS Memory limit: 65536K题目描述众人皆知,在编程领域中,C++是一门非常重要的语言,不仅仅因为其强大的功能,还 因为它是很多其他面向对象语言的祖先和典范。不过这世上几乎没什么东西是完美的,C++也不例外,多继...
分类:其他   时间:2014-11-23 17:13:01    收藏:0  评论:0  赞:0  阅读:151
2014/11/23 条件查询
一、条件查询:select * from student where code>2 为单一条件查询。可以用逻辑运算符 or 连接两个附加条件,即select * from student where code>2or name=‘小明'。表示或者。相对应的为 and。二、SQL的各种运算符运算符:+...
分类:其他   时间:2014-11-23 17:12:31    收藏:0  评论:0  赞:0  阅读:230
查询语句
查询语句select*fromstudentwherexuhao=1查询student表中xuhao一列中为1号的select*fromstudentwherexuhao3查询student表中xuhao一列中学号小于5并且小于3的运算符:数学运算符:+-*/%复制运算法:=比较运算符:>=!=!=...
分类:其他   时间:2014-11-23 17:12:21    收藏:0  评论:0  赞:0  阅读:238
1235条   上一页 1 ... 26 27 28 29 30 ... 62 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!