转自 http://blog.csdn.net/todd911/article/details/11701847传统的UNIX实现在内核中设有缓冲区高速缓存或页面高速缓存,大多数磁盘 I/O都通过缓冲进行。当将数据写入文件时,内核通常先将该数据复制到其中一个缓冲区中,如果该缓冲区尚未写满,则并不将其...
分类:
其他好文 时间:
2015-06-23 21:15:59
阅读次数:
88
安装环境:
centos、R3.0.1
1、在终端下下载:
#cd /usr/local/
#wget http://mirror.bjtu.edu.cn/cran/src/base/R-3/R-3.0.1.tar.gz (终端下输入)
2、解压文件:
#tar -zxvf R-3.0.1.tar.gz
#cd R-3.0.1
3、安装...
分类:
编程语言 时间:
2015-06-23 20:10:50
阅读次数:
270
type __sync_fetch_and_add (type *ptr, type value);type __sync_fetch_and_sub (type *ptr, type value);type __sync_fetch_and_or (type *ptr, type value);t...
Step1yuminstallautomakelibtoolflexbisonpkgconfiggcc-c++Step2curlftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/monkeyiq:/centos6updates/CentOS_CentOS-6/noarch/autoconf-2.69-12.2.noarch.rpm>autoconf-2.69-12.2.noarch.rpmStep3yumins..
分类:
Web程序 时间:
2015-06-23 18:19:21
阅读次数:
161
一、下载,这里使用绿色解压缩版 http://mirror.services.wisc.edu/mysql/Downloads/MySQL-5.1/mysql-noinstall-5.1.32-win32.zip 二、配置MySQL的参数 1、解压缩绿色版软件到D:\AppServ\MySQL...
分类:
数据库 时间:
2015-06-23 17:12:46
阅读次数:
192
Email5.0 代码结构
1核心接口IEmailService
IEmailService是Email的核心接口。定义了Email的基本功能。如发送邮件(sendmail),下载附件(loadAttachment),同步(sync)搜索邮件(searchMessages)等。EmailServiceStub实现了IEmailService接口。主要实现POP3和IMAP邮箱共同的一些方法...
分类:
其他好文 时间:
2015-06-23 00:57:02
阅读次数:
191
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
But the f...
分类:
其他好文 时间:
2015-06-21 14:37:26
阅读次数:
145
#include #include char mirror(char c){ static const char m[] = "A 3 HIL JM O 2TUVWXY51SE Z 8 "; if ('A' <= c && c <= 'Z') return m[c-'A']; else retu.....
分类:
其他好文 时间:
2015-06-20 14:18:19
阅读次数:
111
Description:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: ...
分类:
其他好文 时间:
2015-06-19 18:09:13
阅读次数:
81
ext3.x 不支持ajax的同步请求,ext4就开始支持。 1 Ext.Ajax.request({ 2 url : '', 3 sync:true, 4 params : { 5 name : text.getValue() 6 ...
分类:
Web程序 时间:
2015-06-19 14:54:42
阅读次数:
112