Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:
其他好文 时间:
2014-07-11 20:36:27
阅读次数:
234
JNDI是 Java 命名与文件夹接口(Java Naming and Directory Interface),在J2EE规范中是重要的规范之中的一个,不少专家觉得,没有透彻理解JNDI的意义和作用,就没有真正掌握J2EE特别是EJB的知识。那么,JNDI究竟起什么作用?要了解JNDI的作用,我们...
分类:
其他好文 时间:
2014-07-11 20:23:17
阅读次数:
213
Kernel Page Global Directory(PGD)of User process created在早期版本:在fork一个进程的时候,必须建立进程自己的内核页目录项(内核页目录项要与用户空间的页目录放在同一个物理地址连续的页面上,所以不能共享,但所有进程的内核页表与进程0共享)3G用...
分类:
系统相关 时间:
2014-07-11 18:06:32
阅读次数:
413
directory not found for option...
分类:
其他好文 时间:
2014-07-10 21:51:35
阅读次数:
196
解决:
选择项目名称-->Targets-->Build Settings-->Search Paths-->Library Search Paths 删除对应路径...
分类:
其他好文 时间:
2014-07-09 11:12:33
阅读次数:
274
linux下文件的复制、移动与删除命令为:cp,mv,rm一、文件复制命令cp 命令格式: cp [-adfilprsu] 源文件(source) 目标文件(destination) cp [option] source1 source2 source3 ... directory 参数说明: -a...
分类:
其他好文 时间:
2014-07-09 00:00:34
阅读次数:
256
//得到目录下的所有文件夹public static void Get_All_Filepath_In_Directory(string dirpath, List listpaths) { List filePaths = listpaths; //存放文件的路径 try { if (Is_Dir...
分类:
其他好文 时间:
2014-07-08 23:24:07
阅读次数:
183
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
分类:
其他好文 时间:
2014-07-08 22:54:28
阅读次数:
287
位于/Users/你电脑名/Library/Developer/Xcode/DerivedData
下的缓存文件占很大的缓存空间,如果长时间不删除xcode下的缓存文件,就会导致硬盘空间越来越小直到Directory
not empty。删除了缓存文件再运行就不会再报错。
删除DerivedData: 打开看了终端输入 sudo chmod -R 777 /Users/xxx/Li...
分类:
移动开发 时间:
2014-07-08 21:39:21
阅读次数:
240
在windows7中用户配置文件的默认位置是在c:\users文件夹中。我建议最好在安装完操作系统之后就将用户配置文件的默认位置改变到其他分区。Warning在视图更改注册表之前,请备份好注册表相关键值。1.将c:\user文件夹Copy到新的位置(默认情况下“Default”directory是隐藏的,请到..