刚看到一篇很好的介绍缓存一致性的文章,晚一点把其中的英文部分翻译过来 https://zhuanlan.zhihu.com/p/25876351 https://en.wikipedia.org/wiki/MESI_protocol ...
分类:
其他好文 时间:
2017-04-26 21:27:35
阅读次数:
116
题目: Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are non ...
分类:
编程语言 时间:
2017-04-26 20:31:03
阅读次数:
187
LDAP概述 目录系统是关于某些类别的对象(例如人)的信息列表。目录可以用于查找特定对象的信息,也可以反方向查找满足特定需求的对象。 企业中的员工通讯录就是一个目录系统。目录访问协议(directory access protocol)就是用来访问目录中数据的标准化方式。最广泛使用的是 轻量级目录访 ...
分类:
其他好文 时间:
2017-04-26 16:41:45
阅读次数:
128
# free 显示结果如下: Mem:表示物理内存统计 total 内存总数 8057964KBused 已使用的内存 7852484KBfree 空闲的内存数 205480KBshared 当前已经废弃不用,总是0buffers Buffer 缓存内存数: 290432KBcached Page ...
分类:
系统相关 时间:
2017-04-26 16:39:41
阅读次数:
164
有些时候我们要把ByteBuffer转换成byte[]来使用。于是很多时候会用以下代码来转换; ByteBuffer buf; .....(一些往buffer写数据的操作) byte[] bs= new byte[buf.capacity()]; //想把buf里所有的byte都拿出来 buf.ge ...
分类:
其他好文 时间:
2017-04-26 13:09:54
阅读次数:
137
http://bbs.pediy.com/thread-201125.htm 转 小白真诚分享不是装逼,大神勿喷!同是小白人,多赞多快乐!作者:精灵(^_^)/淘气鬼Windows调试员工具包自带有4个不同的调试器?微软控制台调试器:cdb.exe 用于调试用户模式的应用程序运行于基本的控?NT符号 ...
分类:
其他好文 时间:
2017-04-25 21:33:19
阅读次数:
296
fuse_loop_mt.c 中fuse_do_work函数使用while循环在后台不断运行,每一个while循环中,主要有两个操作。 1. fuse_session_receive_buf(mt->se, &fbuf, &ch); fuse_session.c 2. fuse_session_pr ...
分类:
其他好文 时间:
2017-04-25 21:09:17
阅读次数:
189
package lei; public class Test2 { public static void main(String[] args) { String s="我爱你"; StringBuffer s1 = new StringBuffer("我爱你"); String s2=new St... ...
分类:
其他好文 时间:
2017-04-25 20:02:59
阅读次数:
146
1、webservice 接口调用可参考jdk安装bin 下wsimport.exe。 2、本实例是CXF调用 .net webservice,且.net webservice接口参数是一个对象。 3、本实例调用的是文件上传,具体参数可忽略 ...
分类:
Web程序 时间:
2017-04-25 20:01:43
阅读次数:
283
std::string data((const char*)buf->data(),bytes_transferred); recycle_buffer(buf); std::string key="Sec-WebSocket-Key:"; auto pos = data.find(key); au ...
分类:
编程语言 时间:
2017-04-25 14:50:13
阅读次数:
182