关于MemStore的补充
在通过HStore.add向store中添加一个kv时,首先把数据写入到memstore中。这一点没有什么说明;
publiclongadd(finalKeyValue
 kv) {
lock.readLock().lock();
try{
returnthis.memstore.add(kv);
}finally{
lock.readLock().un...
                            
                            
                                分类:
其他好文   时间:
2014-05-12 14:14:38   
                                阅读次数:
340
                             
                    
                        
                            
                            
                                #include 
#include 
#include 
using namespace std;
#ifdef ONLINE_JUDGE                                   
#define FINPUT(file)  0
#define FOUTPUT(file) 0
#else                                        ...
                            
                            
                                分类:
其他好文   时间:
2014-05-12 14:12:35   
                                阅读次数:
379
                             
                    
                        
                            
                            
                                【makefile的规则】 
在讲述这个makefile之前,还是让我们先来粗略地看一看makefile的规则。 target可以是一个object 
file(目标文件),也可以是一个执行文件,还可以是一个标签(label)。对于标签这种特性,在后续的“伪目标”章节中会有叙述。 prereq...
                            
                            
                                分类:
其他好文   时间:
2014-05-12 09:56:08   
                                阅读次数:
327
                             
                    
                        
                            
                            
                                一个android apk的编译过程 
请参考:http://www.2cto.com/kf/201312/261475.html典型的编译过程:aapt( Android Asset 
Packaging Tool): 把你的应用程序资源文件(例如: AndroidManifest.xml file ...
                            
                            
                                分类:
移动开发   时间:
2014-05-12 08:21:55   
                                阅读次数:
962
                             
                    
                        
                            
                            
                                一、file was built for archive which is not the 
architecture being linked (armv7s) 
项目是基于cocos2d-x绑定lua进行开发的,需要引用liblua.a静态库,编译的时候报上面的错。需要将liblua项目中的buil...
                            
                            
                                分类:
其他好文   时间:
2014-05-12 08:16:45   
                                阅读次数:
345
                             
                    
                        
                            
                            
                                #include 
#include 
#include 
using namespace std;
#ifdef ONLINE_JUDGE                                   
#define FINPUT(file)  0
#define FOUTPUT(file) 0
#else                                        ...
                            
                            
                                分类:
其他好文   时间:
2014-05-12 06:30:08   
                                阅读次数:
232
                             
                    
                        
                            
                            
                                /* *******************************************
***** File Name:	Love.c
***** Description:	Love Story about you and me
***** Author:		JPing.Cai
***** Date:			2014-5-10
***** Last Version:	1.0
* *******...
                            
                            
                                分类:
其他好文   时间:
2014-05-11 14:15:46   
                                阅读次数:
290
                             
                    
                        
                            
                            
                                零、求人不如求已:
       1、 在Linux中,文件,文件夹,驱动,命令,脚本都视为文件,也即一切皆file。
       2、记住使用Linux 的关键就是六个字: 命令、选项、参数。
       3、学会看帮助,不用求人。
   学会看帮助,不用求人。
   man touch
    touch --help...
                            
                            
                                分类:
系统相关   时间:
2014-05-11 06:07:02   
                                阅读次数:
567
                             
                    
                        
                            
                            
                                创建一个Android应用程序
File -> New -> Android Application Project
填写应用名称、工程名称、包名
设置工程的相关信息,默认会创建icon和activity
设置图标,可直接用默认的图标,也可通过Browse自定义图标
工程创建完成后,得到如下目录:...
                            
                            
                                分类:
移动开发   时间:
2014-05-11 02:45:41   
                                阅读次数:
367
                             
                    
                        
                            
                            
                                创建一个新项目是很简单的,只要你安装了Eclipse插件,并且你的Eclipse软件版本在3.2或3.3,你就可以开始开发了。首先, 看一下要创建"Hello, 
World"程序从高级层面上有哪些步骤:1, 通过 File -> New -> Project 菜单,建立新项目"Android ...
                            
                            
                                分类:
移动开发   时间:
2014-05-11 00:06:13   
                                阅读次数:
400