什么是GCD?Grand Central Dispatch或者GCD,是一套低层API,提供了一种新的方法来进行并发程序编写。从基本功能上讲,GCD有点像NSOperationQueue,他们都允许程序将任务切分为多个单一任务然后提交至工作队列来并发地或者串行地执行。GCD比之NSOpertion....
分类:
其他好文 时间:
2014-06-21 12:21:28
阅读次数:
261
正如那本《Code Reading》一书中指出的那样,源代码阅读一直没有被很好的重 视:你上大学的时候有“代码阅读”这门课吗?相信没有。1 Source Insight谈到阅读源代码,不得不提一下很多人都用过并且现在也还用着的一个工具: Source Insight。很多年前我最早接触的源代码阅读工...
分类:
其他好文 时间:
2014-06-21 10:12:33
阅读次数:
363
Web Service It is based on SOAP and return data in XML form. It support only HTTP protocol. It is not open source...
解决方法:1. 右键点击工程,选择 "Properties"2. 选择左边的 "Java Build Path"3. 打开 "Source" 标签面板4. 点击 "Add Folder..."5. 勾选 "gen" 文件夹,点击OK,点击YES,再点击OK6. 最后右键点击工程,选择 "Andrio...
分类:
其他好文 时间:
2014-06-18 11:00:21
阅读次数:
197
如何处理嵌套异步回调的dispatch_group场景...
分类:
其他好文 时间:
2014-06-18 07:01:45
阅读次数:
215
要在一个Flume Agent中定义数据流,你需要通过一个Channel将Source和Sink连接起来。你需要列出给定Agent的Source、Sink和Channel。一个Source可以指定多个Channel,但是一个Sink只能指定一个Channel。...
分类:
其他好文 时间:
2014-06-18 06:30:34
阅读次数:
306
[WinError 2] 系统找不到指定的文件。
[cmd: ['g++', 'D:\\source-code\\sublime\\test.cpp', '-o', 'D:\\source-code\\sublime/test']]
[dir: D:\source-code\sublime]
[path: D:\program\basic\python3.4.0;C:\Windows\sys...
分类:
Windows程序 时间:
2014-06-18 00:56:24
阅读次数:
7280
来自http://download.csdn.net/source/3208155#acomment特征提取代码总结颜色提取Ø颜色直方图提取:Code:#include#include#includeusingnamespacestd;intmain(intargc,char**argv){IplI...
分类:
其他好文 时间:
2014-06-17 20:19:15
阅读次数:
274
1. Install Java and set JAVA_HOME2. Install IntelliJ IDH and Scala plugin3. Download spark1.0.04. Generate a workspace for IDEA[shaochen@linux spark-1...
分类:
其他好文 时间:
2014-06-17 19:55:22
阅读次数:
262
OpenSSL编译安装forLinux:安装环境:
操作系统:CentOSrelease6.5
OpenSSL版本:openssl-1.0.1h
下载源码包:
源码包名称:openssl-1.0.1h.tar.gz
下载地址:http://www.openssl.org/source/
校验源码包:
[root@localhost~]#sha1sumopenssl-1.0.1h.tar.gz
b2239599c8bf8f7fc48..
分类:
其他好文 时间:
2014-06-17 18:35:44
阅读次数:
273