px (pixels)像素 一般HVGA代表320x480像素,这个用的比较多。 dip或dp (device independent pixels)设备独立像素 这个和设备硬件有关,一般为了支持WVGA、HVGA和QVGA 推荐使用这个,不依赖像素。sp (scaled p...
分类:
移动开发 时间:
2015-10-16 11:31:50
阅读次数:
223
一、概念 磁盘阵列(Redundant Arrays of Independent Disks,RAID),有“独立磁盘构成的具有冗余能力的阵列”之意。是为了提高文件在磁盘上的读写速度而研究出来的。将存入磁盘的数据分成一个一个的条带,然后并行地存储到磁盘阵列中,或者从磁盘阵列中以条带的形式并行地取数...
分类:
系统相关 时间:
2015-10-14 23:29:36
阅读次数:
277
组成共享库的目标文件和一般目标文件有所不同,在编译时要加-fPIC选项(生成与位置无关代码 Position Independent code)。gcc -c -fPIC stack/stack.c stack/push.c stack/pop.c stack/is_empty.c一般目标文件称为R...
分类:
其他好文 时间:
2015-10-14 21:45:39
阅读次数:
155
原文:http://blog.chinaunix.net/uid-639516-id-2692517.html分类:一.RAID定义RAID(Redundant Array of Independent Disk 独立冗余磁盘阵列)技术是加州大学伯克利分校1987年提出,最初是为了组合小的廉价磁盘来...
分类:
其他好文 时间:
2015-10-12 12:20:51
阅读次数:
196
LeetCode -- Maximal Square...
分类:
其他好文 时间:
2015-10-04 17:16:37
阅读次数:
161
在一个N * M的矩阵中,所有的元素只有0和1, 找出只包含1的最大正方形。输入为 3 31 1 11 1 10 0 1这个题与Leetcode中的Maximal Square相同。但是最开始理解错了,以为是求最大矩形这两个题类似。最大正方形: 1 #include 2 #include ...
分类:
其他好文 时间:
2015-09-30 12:38:15
阅读次数:
235
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the following matr...
分类:
其他好文 时间:
2015-09-29 06:31:46
阅读次数:
173
Impersonation is independent of the authentication mode configured using the authentication configuration element. The authentication element is used ...
分类:
Web程序 时间:
2015-09-23 20:58:10
阅读次数:
173
一.RAID定义RAID(Redundant Array of Independent Disk 独立冗余磁盘阵列)技术是加州大学伯克利分校1987年提出,最初是为了组合小的廉价磁盘来代替大的昂贵磁盘,同时希望磁盘失效时不会使对数据的访问受损 失而开发出一定水平的数据保护技术。RAID就是一种由多块...
分类:
其他好文 时间:
2015-09-23 19:14:43
阅读次数:
218
I've described the need for special handling of shared libraries while loading them into the process's address space in aprevious article. Briefly, wh...
分类:
其他好文 时间:
2015-09-23 18:53:10
阅读次数:
297