1、px 即像素,1px代表屏幕上的一个物理像素点。 2、dp dip:device independent pixels(设备独立像素),dp与dip一样,不同的设备有不同的显示效果,一般为了支持WVGA、HVGA和QVGA推荐使用这个,不依赖像素。 3、sp sp:scale-independe
分类:
其他好文 时间:
2016-03-06 15:47:16
阅读次数:
225
underlying/??nd??laii?/adj 潜在的,基础的,表面下的,下层的 vt构成......的基础。 independent/??ndi?pend?nt/adj:自主的,不相关的,独立的,不相干的人所做的 available/??veil?bl/adj:可用的,有空的,可回见的,(票
分类:
其他好文 时间:
2016-03-04 23:54:02
阅读次数:
249
RAID:Redundant Arrays of Independent Disks,独立冗余磁盘阵列 RAID Level: 不同的级别表示不同的磁盘组织方式,没有上下之分。 RAID 0:条带。 性能提升。 无冗余能力,无容错能力。 空间利用率为nS。 至少需要2块磁盘。 RAID 1:镜像。
分类:
系统相关 时间:
2016-02-28 12:25:22
阅读次数:
220
题意:一个n*m的矩阵,要么是 . 要么是 z ,问可以形成几个大z 分析:(直接奉上官方题解,我感觉说的实在是太好了) Let's precalculate the values zlij,?zrij,?zldij — the maximal number of letters 'z' to th
分类:
编程语言 时间:
2016-02-24 22:38:57
阅读次数:
542
android中dip、dp、px、sp和屏幕密度 转自:http://www.cnblogs.com/fbsk/archive/2011/10/17/2215539.html 1. dip: device independent pixels(设备独立像素). 不同设备有不同的显示效果,这个和设备
分类:
移动开发 时间:
2016-02-19 18:56:24
阅读次数:
179
Item 44: Factor parameter-independent code out of templates.
模板是个好东西,你可以在实现类型安全的同时少写很多代码。但模板提供的是编译期的多态, 即使你的代码看起来非常简洁短小,生成的二进制文件也可能包含大量的冗余代码。 因为模板每次实例化都会生成一个完整的副本,所以其中与模板参数无关的部分会造成代码膨胀(code bloat)。...
分类:
其他好文 时间:
2016-02-19 12:45:09
阅读次数:
186
PCI(Peripheral Component Interconnect) USB(Universal Serial Bus) AGP(Accelerated Graphic Ports) PCI EXPRESS RAID(Redundant Arrays of Independent Disks
分类:
其他好文 时间:
2016-02-07 13:33:27
阅读次数:
156
public static int[] max_min(int[] a){ //res[0] records the minimum value while res[1] records the maximal one. int res[] = new int[2]; int n = a.lengt
分类:
其他好文 时间:
2016-02-07 09:44:28
阅读次数:
246
原文网址:http://blog.csdn.net/hxdanya/article/details/39371759 由于使用了NDK编译的可执行文件在应用中调用,在4.4及之前的版本上一直没出问题。最近由于要测试在Android L上的运行情况发现,当运行该可执行文件时,报如下错误: error:
分类:
移动开发 时间:
2016-01-28 12:29:27
阅读次数:
222
https://github.com/ibireme/YYKit YYKit YYKit is a collection of iOS components. It's so huge that I split it into several independent components: YYMo
分类:
其他好文 时间:
2016-01-27 17:11:32
阅读次数:
284