- 博客(11)
- 收藏
- 关注
原创 How to read command-line arguments with Perl
Submitted by alvin on August 9, 2009 - 8:41pmtags: args arguments argv command line perl perl read source code Perl command line FAQ: How do I read command-line arguments with Perl (command lin...
2010-07-29 09:58:09 85
原创 Mount options to improve ext4 file system performance
Mount options to improve ext4 file system performance
2010-07-29 09:52:24 93
原创 Queue sysfs files
Based on kernel version 2.6.34. Page generated on 2010-05-31 16:02 EST.1 Queue sysfs files2 =================3 4 This text file will detail the queue files that are located in the sysfs tree...
2010-07-28 13:50:31 114
原创 Install blktrace
I use libaio-0.3.106.tar.gz and blktrace-1.0.1.tar.gz to install blktrace on my linux server. 1. Install libaio make prefix=/usr install 2. Install blktrace make intall See the blk...
2010-07-27 13:15:23 98
原创 Implementing WebGIS on Hadoop: A Case Study of Improving Small File IO Performan
Implementing WebGIS on Hadoop: A Case Study of Improving Small File IO Performance on HDFS
2010-07-26 22:46:33 133
原创 zookeeper介绍
ZooKeeper是Hadoop的正式子项目,它是一个针对大型分布式系统的可靠协调系统,提供的功能包括:配置维护、名字服务、分布式同步、组服务等。ZooKeeper的目标就是封装好复杂易出错的关键服务,将简单易用的接口和性能高效、功能稳定的系统提供给用户。Zookeeper是Google的Chubby一个开源的实现.是高有效和可靠的协同工作系统.Zookeeper能够用来leader选举,...
2010-07-23 10:51:24 134
原创 how to reverse the word sequence in a sentence?
For example, &quot;Welcome you to Beijing&quot; is reversed into &quot;Beijing to you Welcome&quot; void ReverseString(char *s, int start, int end) 2{ 3 while (start < end)...
2010-07-06 22:01:45 82
原创 How to delete a node in a LinkList ?
If only given the pointer to the node to be deleted? Note the node is not the first one nor the last. 如果在单链表中删除一个指定的结点? 需要注意的是不是头尾结点。 这到题其实就是个小技巧,没有告诉前面的一个结点怎么做删除呢?答案就是把后面结点的内容拷贝过来!这个问题的前提是结点不...
2010-07-06 21:22:52 74
原创 deep copy & shallow copy
A shallow copy of an object copies all of the member field values. This works well if the fields are values, but may not be what you want for fields that point to dynamically allocated memory. The p...
2010-07-06 20:57:01 129
原创 copy constructor and copy assignment
When copies of objects are madeA copy constructor is called whenever a new variable is created from an object. This happens in the following cases (but not in assignment).A variable is declared...
2010-07-06 20:47:48 209
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人