码迷,mamicode.com
首页 >  
搜索关键字:write back    ( 29084个结果
lua_gc 源码学习五
今天来说说 write barrier 。在 GC 的扫描过程中,由于分步执行,难免会出现少描了一半时,那些已经被置黑的对象又被修改,需要重新标记的情况。这就需要在改写对象时,建立 write barrier 。在扫描过程中触发 write barrier 的操作影响的对象被正确染色,或是把需要再染...
分类:其他好文   时间:2014-07-27 10:01:02    阅读次数:309
卡特兰数
A - 卡特兰数 Time Limit:1000MS     Memory Limit:30000KB     64bit IO Format:%I64d & %I64u Submit Status Description This is a small but ancient game. You are supposed to write down the num...
分类:其他好文   时间:2014-07-26 15:07:50    阅读次数:216
Mac 显示和隐藏 隐藏文件
控制台运行://显示defaults write com.apple.finder AppleShowAllFiles -bool true//隐藏defaults write com.apple.finder AppleShowAllFiles -bool false
分类:其他好文   时间:2014-07-26 13:42:34    阅读次数:202
/var/run/syslogd.pid can not write pid
场景描述:系统启动之后,将分区挂载到/var目录下,保存日志文件到其他的硬盘分区之上。出现如下的问题:1重新挂载硬盘的分区到/var/log,接收系统的日志如果已经指向一个设备,重新挂载到一个设备,以前的将被覆盖2startingsystemlogger:cannotopenorcreate/var/run/syslogd.pi..
分类:其他好文   时间:2014-07-26 03:11:57    阅读次数:599
0723------Linux基础----------文件 IO 之 read 和 write (readn 、writen、readline)
1. readn 和 writen 1.1 基础巩固: read 和 write 函数的返回值 1.1.1 read 函数原型为:ssize_t read(int fd, void* buf, size_t count); (这里的 void *在标准 C 中表示通用指针即任意类型的指针都可...
分类:系统相关   时间:2014-07-26 01:51:56    阅读次数:472
POJ 2438 解题报告
分析: 2*n个小朋友,每个最多有n-1个"敌人",显然是存在哈密顿回路的. 预处理边,然后找哈密顿回路.code#include #include #include #include #include using namespace std;#define pb push_back#def...
分类:其他好文   时间:2014-07-26 01:51:16    阅读次数:271
block 解析(2)
上一篇讲的是block和截获变量的特性,这里我们来看一下_block变量。引用官方:You can specify that an imported variable be mutable—that is, read-write— by applying the__blockstorage type...
分类:其他好文   时间:2014-07-26 01:27:36    阅读次数:239
windows 文件内存映射
static int MapLogFile(void){ hFile = CreateFile(".\\db.bin", GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_ALWAYS, ...
分类:Windows程序   时间:2014-07-26 00:25:46    阅读次数:307
android 读取SQLite android could not open the database in read/write mode错误
由于AndroidManifest.xml文件中uses-permission没有设置权限问题
分类:移动开发   时间:2014-07-25 02:33:24    阅读次数:528
MySQL 临时目录
MySQL数据目录/data/mysql所在的上层目录/data磁盘空间不足导致MySQL启动失败,所以清理了/data目录下除了mysql子目录外的其他无用目录。重启发现还是失败。检查错误日志。看到如下错误: /usr/local/mysql/bin/mysqld: Can't create/write to file '/data/tmp/ibbLmEoD' (Errcode: 13 - P...
分类:数据库   时间:2014-07-24 17:41:56    阅读次数:272
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!