- 博客(4)
- 资源 (138)
- 收藏
- 关注
原创 C++内存分配new
new表达式在内存生存周期内创建并初始化对象(两阶段:1、调用operator new创建内存,2、调用构造函数构造对象)也就是说,动态创建的对象其生命周期可能超出其创建的作用域。new的语法为: ::(optional) new (placement_params)(optional) (type) initializer(optional) // 1) ::(opti
2014-05-23 14:09:31 3511
原创 Dpark的安装测试
dpakr是豆瓣克隆的spark的高效分布式框架,安装测试了下,做个笔记1 下载:git clone https://github.com/douban/dpark.git 2 进入dpark目录运行:python setup.py install3 测试代码,使用蒙特卡洛模拟计算π值:#coding:utf-8import sysimport randomfrom dpar
2014-05-20 14:08:42 2466
原创 socketpair
int socketpair(int domain, int type, int protocol, int sockfd[2]); //创建未命名的全双工管道 domain只能为AF_UNIX,也就是限制在本地使用 type可以是SOCK_STREAM或SOCK_DGRAM,SOCK_STREAM相当于创建了双向流管道,管道的每一端都可以write或read,并且两端的数据流
2014-05-18 16:54:02 2751
原创 sigsuspend
int sigsuspend(const sigset_t *mask);//挂起进程直至信号发生man手册的解释: sigsuspend() temporarily replaces the signal mask of the calling process with the mask given by mask and then suspends the proces
2014-05-18 11:07:36 1623
一个最容易懂的 LaTeX 入门教材.pdf
2013-08-13
ggplot2 -- Elegant Graphics for Data Analysis.PDF
2013-07-13
MySQL技术内幕Innodb存储引擎.xmind
2020-07-11
Desinging Data-Intensive Applications-2.xmind
2020-07-11
Desinging Data-Intensive Applications.xmind
2020-07-11
Machine Learning-A Probabilistic Perspective.pdf
2013-09-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人