浙大acm,第一题 Calculate a + b Input The input will consist of a series of pairs of integers a and b,separated by a space, one pair of integers per line. Output For each pair of input integers a ...
分类:
编程语言 时间:
2014-09-03 06:16:56
阅读次数:
260
查看ocr的存放位置[oracle@rac1 ~]$ ocrcheckStatus of Oracle Cluster Registry is as follows : Version : 2 Total space (kbytes) ...
分类:
其他好文 时间:
2014-09-02 21:13:25
阅读次数:
263
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:
其他好文 时间:
2014-09-02 21:11:15
阅读次数:
171
1. 首先要固定一个测试环境。具体来说,选择某一个可以重复的操作,作为标准的测试动作。2. 刷新浏览器后用profiler抓下heap snapshot。3. 进行操作,再一次抓下snapshot,重复多次进行比较。在比较的页面里面看到, 在多个snapshot之间,这些对象都是不断增长的。深入调查...
分类:
Web程序 时间:
2014-09-02 19:41:15
阅读次数:
206
堆(Heap)栈(Stack)1、内存分配方面: 堆:一般由程序员分配释放, 若程序员不释放,程序结束时可能由OS回收 。注意它与数据结构中的堆是两回事,分配方式是类似于链表。可能用到的关键字如下:new、malloc、delete、free等等。 栈:由编译器(Compiler)自动分配释放,.....
分类:
其他好文 时间:
2014-09-02 15:36:44
阅读次数:
230
Locally vs. Dictionary Managed Tablespaces
整理自:http://www.orafaq.com/node/3.
When Oracleallocates space to a segment (like a table or index), a group of contiguousfree blocks, called an extent,...
分类:
数据库 时间:
2014-09-02 14:14:04
阅读次数:
360
---------------------------------------博文作者:迦壹博客名称:Ubuntu14.04用apt安装CDH5.1.2[Apache Hadoop 2.3.0]博客地址:http://idoall.org/home.php?mod=space&uid=1&do=bl...
分类:
其他好文 时间:
2014-09-02 01:35:04
阅读次数:
458
四、linux服务器" 【have no space】"开发机dev2上不管是upa/upc上传文件时,会挂载在/目录下,而此时这里只有3G空间,通过df -h显示各大挂载点使用情况;java上传默认会先上传到tmp临时目录,这里如果/目录空间不足,可以考虑将上传使用其他目录,eg:tmp命令 to...
分类:
系统相关 时间:
2014-09-02 00:05:03
阅读次数:
289
一、预备知识—程序的内存分配一个由c/C++编译的程序占用的内存分为以下几个部分1、栈区(stack)— 由编译器自动分配释放 ,存放函数的参数值,局部变量的值等。其操作方式类似于数据结构中的栈。2、堆区(heap) — 一般由程序员分配释放, 若程序员不释放,程序结束时可能由OS回收。注意它与数据...
分类:
其他好文 时间:
2014-09-01 22:37:53
阅读次数:
260
LeetCode: Merge Sorted ArrayGiven two sorted integer arrays A and B, merge B into A as one sorted array. Note:You may assume that A has enough space (...
分类:
其他好文 时间:
2014-09-01 22:29:23
阅读次数:
172