Oracle will generate something called cursor
after it parse an statement. This thing--cursor will be stored in Library cache,
if next time you need to...
分类:
数据库 时间:
2014-05-10 01:02:22
阅读次数:
579
Say you have an array for which theithelement
is the price of a given stock on dayi.Design an algorithm to find the maximum
profit. You may complete a...
分类:
其他好文 时间:
2014-05-10 00:24:49
阅读次数:
255
转载:http://blog.csdn.net/linquidx/article/details/5916701#t5写好程序,用gcc编译,带上-pg参数,然后运行以后分析gmon.out文件:命令exp:
gprof ./test-main ./gmon.out >1.log 在1.log中会生...
分类:
编程语言 时间:
2014-05-09 23:58:07
阅读次数:
1713
Holding Bin-Laden Captive!Time Limit: 2000/1000
MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):
14095 Accepted Su...
分类:
其他好文 时间:
2014-05-09 23:53:49
阅读次数:
386
1 public static void main(String[] args) { 2
Integer in1 = 128; 3 Integer in2 = 128; 4 System.out.println(in1 == in2 ); 5...
分类:
其他好文 时间:
2014-05-09 23:50:29
阅读次数:
270
要点:AsyncTask主要用于short operations (a few seconds at
the most.)。如果你需要“running for long periods of time”,官方推荐使用various APIs provided
by the java.util.con...
分类:
其他好文 时间:
2014-05-09 23:46:38
阅读次数:
304
There are two sorted arrays A and B of size m
and n respectively. Find the median of the two sorted arrays. The overall run
time complexity should be ...
分类:
其他好文 时间:
2014-05-09 23:26:18
阅读次数:
353
首先,想用开放模式需要先成为开发者。成为开发者有两种写法。
一是:通过jsp页面,用out.print("echostr")//SHA1加密的字符串; 二是:通过Servlet。doGet返回exhostr,给微信平台。
这里我只写第二种方式的请求(这里的请求是以get方式请求),代码如下: ...
分类:
微信 时间:
2014-05-09 23:14:58
阅读次数:
714
find / –name sqlplus iostat –d 2 iostat和iowait详细解说
如果你想对硬盘做一个IO负荷的压力测试可以用如下命令 time dd if=/dev/zero bs=1M count=2048 of=direct_2G
此命令为在当前目录下新建一个2G的文件 我...
分类:
系统相关 时间:
2014-05-09 20:31:22
阅读次数:
547
多余的就不说了,都明白,为了方便操作,我们常常会用到类似于LED1 = 1来点亮一个灯,此处LED1就是一个脚位,它当然不是系统自带,一般都是我们宏定义一个脚位。 昨天刚接触IAR这个编程器,想用类似的方法来操作,但是类似51内核操作(keil中写法) sbit LED1 PA0 ; STVD 中的 _Bool PA0_OUT @PA_ODR:0; 这是头有点大,一方面想着操作能...
分类:
其他好文 时间:
2014-05-09 15:11:42
阅读次数:
282