码迷,mamicode.com
首页 >  
搜索关键字:copy on write    ( 26982个结果
简单的分级别写日志程序
/************************************************************************/ /* * 文件名称:write_log.cpp * 摘 要:此文件实现了普通WINDOWS程序中的日志功能 * 主要有以下特点: * 1. 根据日期创...
分类:其他好文   时间:2014-05-09 20:38:20    阅读次数:304
Leetcode | Parentheses 相关
Generate ParenthesesGiven n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a...
分类:其他好文   时间:2014-05-09 20:09:32    阅读次数:333
maven web 项目 打入 jar 包 , 和编译入 java 文件到 web-inf 下
src\main\webapp\WEB-INF\classes 可以把 类文件编译到 web-inf 下 ,用于项目运行 maven-dependency-plugin 2.1 compile copy-dependencies src\mai...
分类:编程语言   时间:2014-05-09 19:44:26    阅读次数:277
使用FSO按文件大小浏览文件目录并进行删除操作
function JudgeParaRegular(intID)  if intID JudgeParaRegular=intId  else  Response.Write "输入错误!"  Response.End  end if  end function  intFileSize=JudgeParaRegular(Request.QueryString("intFileSi...
分类:其他好文   时间:2014-05-09 14:39:32    阅读次数:299
Leetcode:Search a 2D Matrix
戳我去解题Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted f...
分类:其他好文   时间:2014-05-09 08:27:24    阅读次数:241
property属性
@interface Person : NSObject@property (nonatomic, copy) NSString *name;@end @interface Student : Person@end1.Student类无法使用_name来访问Person中属性name,因为当使用@p...
分类:其他好文   时间:2014-05-09 08:20:33    阅读次数:268
解决问题ARC forbids explicit message send of 'release'
一、问题 用XCODE5新建工程,COPY老工程代码,编译出现以下错误: ARC forbids explicit message send of 'release' 二、解决 工程-->"Build Settings"-->找到Objective-C Automatic Reference Counting项-->将它的值设置为NO。 再次编...
分类:其他好文   时间:2014-05-09 06:23:39    阅读次数:285
File类基本操作之OutputStream字节输出流
贴代码了,已经测试,可正常编译 package org.mark.streamRW; import java.io.File; import java.io.FileOutputStream; import java.io.OutputStream; /** * 字节流输出OutputStream * 注意:1,write(byte[] b)数组方法写入; * * @author ...
分类:其他好文   时间:2014-05-09 06:19:20    阅读次数:267
LeetCode OJ - Merge Sorted Array
原地归并。下面是AC代码: 1 public void merge(int A[], int m, int B[], int n) { 2 3 int len = A.length; 4 //first copy m elements of A...
分类:其他好文   时间:2014-05-09 05:59:54    阅读次数:297
some simple recursive lisp programs
1. Write a procedure count-list to count the number of elements in a list1 (defun count-list (numbers)2 (if (null numbers) 03 (+ 1 (co...
分类:其他好文   时间:2014-05-09 05:41:41    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!