Look under the start
memcahcedthreadingprocessmemcached multi-threaded mainly by instantiating
multiple libevent, are a main thread and n workers thre...
分类:
其他好文 时间:
2014-05-01 06:15:27
阅读次数:
356
This article mainly introduces the process of
Memcached, libevent structure of the main thread and worker thread based on the
processing of the connec...
分类:
其他好文 时间:
2014-05-01 02:44:07
阅读次数:
571
问题现象:
Eclipse按装maven插件之后,每次启动Eclipse都会弹出:
Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
问题原因:
从提示信息上看,就是...
分类:
系统相关 时间:
2014-04-30 22:11:38
阅读次数:
382
Android调试Source Not Found的错误原因及解决办法!...
分类:
移动开发 时间:
2014-04-29 13:48:21
阅读次数:
362
定义了一个elevator_noop的调度器类型:
static struct elevator_type elevator_noop = {
.ops = {
.elevator_merge_req_fn = noop_merged_requests,//查询一个request,用于将bio并入
.elevator_dispatch_fn = noop_dispatch,/...
分类:
系统相关 时间:
2014-04-29 13:33:20
阅读次数:
830
今天clone了一份代码,跑gradle test时出现failed,从report上来看是这个错误:IllegalArgumentException,具体如下:
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.objectweb.asm.ClassRead...
分类:
其他好文 时间:
2014-04-29 13:27:21
阅读次数:
359
代码来自于这里
https://code.google.com/p/stanford-cs193g-sp2010/source/browse/trunk/tutorials/sum_reduction.cu...
分类:
其他好文 时间:
2014-04-29 13:13:20
阅读次数:
324
1. Download Kernel source
Study:
1. Please refer to the AOSP official kernel download address:
http://source.android.com/source/building-kernels.html
2. goto https://android.g...
分类:
移动开发 时间:
2014-04-29 13:13:20
阅读次数:
679
解题思路:
高数上的三重积分。注意:PI的精度要大些,一开始用的3.1415926通不过,精度太小,后来百度3.1415926535898。还有浮点数的除法记得*1.0。
题目中的oc = ob这条信息特别关键。
代码:
#include
#include
#include
#include
using namespace std;
#define pi 3.1415...
分类:
其他好文 时间:
2014-04-27 21:18:00
阅读次数:
387