码迷,mamicode.com
首页 >  
搜索关键字:out of sync    ( 40306个结果
Windows下RSA密钥生成工具openssl
点击下载1. 生成原始 RSA私钥文件 private_key.pemopenssl genrsa -out private_key.pem 10242. 将原始 RSA私钥转换为 pkcs8格式openssl pkcs8 -topk8 -inform PEM -in private_key.pem...
分类:Windows程序   时间:2014-06-18 22:47:13    阅读次数:969
Java输入数据流
@Test public void test() throws Exception{ //创建输入数据流对象 InputStream In=new FileInputStream("HellWord.txt"); try { //System.out.print((ch...
分类:编程语言   时间:2014-06-18 21:39:04    阅读次数:226
Java数据流之File
@Test public void fileTest() { //创建File 对象 File file=new File("hell.txt"); //获取文件名 System.out.println(file.getName()); //访问文件的绝对路径 System.out.p...
分类:编程语言   时间:2014-06-18 21:22:15    阅读次数:296
java 输出流
//输出流 @Test public void testOutStream() throws Exception{ OutputStream out =new FileOutputStream("abc.txt"); String content="hello word/nwww.baidu.c.....
分类:编程语言   时间:2014-06-18 21:16:47    阅读次数:280
文本处理工具之一grep命令详解
grep(Globel Search Regular Expression and Printing out the line)全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,是一个对行进行操作的搜索工作,它能使用正则表达式搜索文本,并把匹配的行打印出来。Unix的grep家族包括grep、egrep和fgrep。 egrep表示扩展的grep,相比grep支持更多的元字符,"grep...
分类:其他好文   时间:2014-06-16 20:07:52    阅读次数:220
java表达式陷阱
下面将列举一些面试中常见的关于java表达式的问题,我将结果直接以注释的形式附在后面。 问题1: int a = 10; int b = a + (a = 5) + a + (a = 10); System.out.println(b);//b = 30 问题2: int i = 1; i = (i=i+(i+(i=2)+...
分类:编程语言   时间:2014-06-16 19:30:52    阅读次数:312
java-第十三章-类的无参方法(一)-查找客户姓名
package上机练习; publicclassA02class{ Stringnames[]=newString[30]; publicvoidshowA(Stringname){ for(inti=0;i<names.length;i++){ if(names[i]==null){ names[i]=name; break; } } } publicvoidshowB(){ System.out.println("\t客户列表显..
分类:编程语言   时间:2014-06-16 15:26:12    阅读次数:287
父类提供业务逻辑,子类做具体实现
publicclassTest { publicstaticvoidmain(String[]args)throwsException{ Childrenc=newChildren(); c.show(); } } classParent { publicvoidshow(){ stepOne(); stepTwo(); } voidstepOne(){ System.out.println("parent.stepOne()"); } voidstepTwo(){ /..
分类:其他好文   时间:2014-06-16 15:12:59    阅读次数:178
[LeetCode] Combinations [38]
题目 Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3], [1,2], [1,3],...
分类:其他好文   时间:2014-06-15 14:10:54    阅读次数:239
Linux 文件系统同步
同步就是将物理内存中dirty的页写入到磁盘中,保证磁盘和物理页之间的内容一致。 触发同步操作的时机: 1、周期性内核线程,扫描脏页,根据一定的规则选择脏页,将页写回到磁盘。 2、如果内核中的脏页过多,会触发同步 3、内核中其它组件触发同步操作(如sync、fsync和fdatasync...
分类:系统相关   时间:2014-06-14 16:26:58    阅读次数:405
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!