RAID磁盘的性能 1.定位
2.旋转
3.命令队列
4.数据库传输
HBA:基于主机的适配器
RAID:Redundent Array of Inexpensive Disks 廉价磁盘阵列
Independent 独立磁盘阵列Level:仅用于标识磁盘组合方式的不同,不能取代数据备份 raid0:提高读...
分类:
系统相关 时间:
2016-05-12 22:52:23
阅读次数:
225
The partial sum problem
时间限制:1000 ms | 内存限制:65535 KB
难度:2
描述 One day,Tom’s girlfriend give him an array A which contains N integers and asked him:Can you choose some integers from the N integ...
分类:
其他好文 时间:
2016-05-12 22:10:50
阅读次数:
126
题目描述:
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Your goal...
分类:
其他好文 时间:
2016-05-12 22:03:45
阅读次数:
141
一天一道LeetCode系列(一)题目
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that p...
分类:
其他好文 时间:
2016-05-12 21:48:14
阅读次数:
133
OpenGL在画图过程中大致可以分为三步,第一步创建好对应的vertex队列,同时在适当的时机将vertex绑定到GL内部;第二步利用BUFFER_ARRAY向vertex队列提交顶点信息以便对vertex队列进行初始化;第三步则是绑定已经初始化的vertex队列,同时利用对应的画图函数进行绘制。
vertex队列的生成主要利用glGenVertexArrays函数完成,其第一个参数定义需要生成...
分类:
其他好文 时间:
2016-05-12 21:18:43
阅读次数:
195
iOS导入字体包:
1.将所用到的字体包导入xcode
2.在info.plist里新建一个Fonts provided by application(array),将字体名称填入
3.在工程build phases->copy bundle resources中查看文件是否添加成功
4.自定义方法,将字体名称一一对应放入...
分类:
移动开发 时间:
2016-05-12 20:59:23
阅读次数:
245
Top K Frequent Elements
Total Accepted: 5045 Total
Submissions: 11511 Difficulty: Medium
Given a non-empty array of integers, return the k most frequent elements.
For example,
Give...
分类:
其他好文 时间:
2016-05-12 20:58:33
阅读次数:
225
mysql中获得当前时间可以用select now();
msyql格式化时间,date_formate(now(),'%y-%m-%d');
php中list函数的用法:
$a='a';
$b='bv';
list($a,$b)=array($b,$a);//直接交换两个变量的值。
复习jquery:
$.post请求格...
分类:
其他好文 时间:
2016-05-12 20:28:56
阅读次数:
176
数据结构:SeriesSeries是一种类似一维数组的数据结构,输出时会同时显示索引和值In [6]: a = Series([3,5,2])
In [7]: a
Out[7]:
0 3
1 5
2 2
dtype: int64分别得到索引和值In [10]: a.values
Out[10]: array([3, 5, 2], dtype=int64)In [11]: a.ind...
分类:
其他好文 时间:
2016-05-12 20:21:25
阅读次数:
227
1 什么是内存泄漏?
内存泄漏是指内存资源得不到释放 && 失去对该内存区的指针 => 无法复用内存资源,最终导致内存溢出。
2 JS中可以操作的对象有哪些?
Script中我们能操作的对象可分为三种:JS EngineObject、DOM Element 和 BOM Element。
JSEngine Object:
var obj = Object(); var array = []...
分类:
其他好文 时间:
2016-05-12 19:52:16
阅读次数:
206