会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mumututu's growing
高山自仰止,流水不争先
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
42
43
44
45
46
47
48
49
50
···
84
下一页
2015年8月21日
Linux下获取线程TID的方法
摘要: 如何获取进程的PID(process ID)?可以使用:#includepid_tgetpid(void);通过查看头文件说明,可以得到更详细的信息:find/usr/include-nameunistd.h/usr/include/asm/unistd.h/usr/include/bits/uni...
阅读全文
posted @ 2015-08-21 14:37 穆穆兔兔
阅读(1695)
评论(0)
推荐(0)
2015年8月18日
event2/http.h File Reference
摘要: http://www.wangafu.net/~nickm/libevent-2.0/doxygen/html/http_8h.html
阅读全文
posted @ 2015-08-18 18:19 穆穆兔兔
阅读(299)
评论(0)
推荐(0)
2015年8月15日
ZooKeeper程序员指南 (
摘要: zookeeper权限管理概述1、在zookeeperC的API里面,设置ACL的时候需要传入一个类型为struct ACL的结构指针,structACL结构类型的定义如下:structACL_vector { int32_t count; struct ACL *data;};可以看出,该结构包含...
阅读全文
posted @ 2015-08-15 17:52 穆穆兔兔
阅读(2068)
评论(0)
推荐(0)
protobuf 一个c++示例
摘要: http://wangjunle23.blog.163.com/blog/static/11783817120126155282640/1、在.proto文件中定义消息格式2、使用protobuf编译器3、使用c++ api来读写消息0、为何使用protobuf?1、原始内存数据结构,可以以二进制方...
阅读全文
posted @ 2015-08-15 16:12 穆穆兔兔
阅读(639)
评论(0)
推荐(0)
protobuf 之 MessageLite 接口摘录
摘要: class LIBPROTOBUF_EXPORT MessageLite { public: inline MessageLite() {} virtual ~MessageLite(); // Basic Operations --------------------------------...
阅读全文
posted @ 2015-08-15 15:52 穆穆兔兔
阅读(5371)
评论(0)
推荐(0)
2015年8月14日
export setenv
摘要: bashexport LD_LIBRARY_PATH="../third_party/lib:$LD_LIBRARY_PATH"cshsetenv LD_LIBRARY_PATH "~/data:$LD_LIBRARY_PATH"[diego@localhost ~]# env | grep LD_...
阅读全文
posted @ 2015-08-14 21:10 穆穆兔兔
阅读(574)
评论(0)
推荐(0)
2015年8月13日
Centos java 安装
摘要: 第一步:查看Linux自带的JDK是否已安装 (卸载centOS已安装的1.4)安装好的CentOS会自带OpenJdk,用命令 java -version ,会有下面的信息:java version "1.6.0"OpenJDK Runtime Environment (build 1.6.0-b...
阅读全文
posted @ 2015-08-13 21:15 穆穆兔兔
阅读(218)
评论(0)
推荐(0)
2015年8月12日
C++中防止STL中迭代器失效——map/set等关联容器——vector/list/deque等序列容器—如何防止迭代器失效—即erase()的使用
摘要: 序列性容器::(vector和list和deque)erase迭代器不仅使所有指向被删元素的迭代器失效,而且使被删元素之后的所有迭代器失效,所以不能使用erase(iter++)的方式,但是erase的返回值为下一个有效的迭代器,所以 正确方法为::for(iter=c.begin();iter!=...
阅读全文
posted @ 2015-08-12 20:40 穆穆兔兔
阅读(1581)
评论(0)
推荐(0)
2015年8月11日
centos 安装tkdiff
摘要: http://sourceforge.net/projects/tkdiff/files/tkdiff/4.2/ 下载tkdiff-4.2.tar.gz然后在centos下解压将tkdiff copy 到/usr/local/bin下,记得将/usr/local/bin加入到path环境变量中然后y...
阅读全文
posted @ 2015-08-11 10:34 穆穆兔兔
阅读(2035)
评论(0)
推荐(0)
2015年8月9日
Redis 入门指南
摘要: 就是DBIdx
阅读全文
posted @ 2015-08-09 21:30 穆穆兔兔
阅读(178)
评论(0)
推荐(0)
上一页
1
···
42
43
44
45
46
47
48
49
50
···
84
下一页
公告