码迷,mamicode.com
首页 >  
搜索关键字:no write has been do    ( 38312个结果
【Linux编程】存储映射I/O
存储映射I/O使一个磁盘文件与存储空间中的一个缓冲区相映射,对缓冲区的读、写操作就是对文件的读、写操作,从而可以不再使用read、write系统调用。 将文件映射到存储区的函数由mmap完成,函数原型如下: #include /* 成功返回映射区起始地址,出错返回MAP_FAILED */ void *mmap(void *addr, size_t len, int prot, ...
分类:系统相关   时间:2014-06-22 21:39:19    阅读次数:301
lua5.1 和 5.2 关于 sequence 的定义变化,对#table取值的影响
从语言角度讲, lua 5.1 定义了 # 对数组取长度的约束. 而 lua 5.2 不严格定义了,只说如果有 nil 就不确定   a[4] = 11;   print(a[#a])   ---print 11 -----------------------------------   a = {}   for i=1,3 do a[i] = i*3 end...
分类:其他好文   时间:2014-06-22 20:56:03    阅读次数:257
【Leetcode】Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. 思路:若使用【Leetcode】Reverse Integer 的方法,判断反转后的整数是否与原整数相同,则可能出现溢出情况;又因为题目要求不适用额外空间,可以之间对比整数第一个与最后一个数的值,再依次类推。 class Solution {...
分类:其他好文   时间:2014-06-22 20:43:56    阅读次数:187
MFC TreeCtrl 控件(一):简单使用
本文描述了 MFC 中的树形控件 TreeCtrl 的简单使用,内容包括数据项的添加、图标设置、提示信息设置等。     新建基于对话框的应用程序,添加一个 TreeCtrl ,为其定义一个控件变量 m_userTreeCtrl,并将其属性:Has Buttons、Has Lines、Lines At Root和 Info Tip 都设为True。插入3个Icon资源,分别作为 管理员、部门、用...
分类:其他好文   时间:2014-06-22 19:16:28    阅读次数:284
打印数字回环
题目要求: Input a value n, then print out a N×N matrix.     Example 1: Input 2, then 1 2 4 3     Example2: Input 4, then 1  2  3  4 12 13 14 5 11 16 15 6 10 9  8  7 Please write a program to...
分类:其他好文   时间:2014-06-22 00:38:02    阅读次数:409
.ARM.exidx
一介绍: `.ARM.exidx` is the section containing information for unwinding the stack. If your C program has functions that print out a stack backtrace, the functions will likely depend on this section bei...
分类:其他好文   时间:2014-06-22 00:31:07    阅读次数:618
[转]Virtualization Basics
Virtualization Basics Virtualization is not a new concept, but its complexity has been growing, and a number of new paradigms are rising. I will try t...
分类:其他好文   时间:2014-06-21 18:08:03    阅读次数:336
c# async
?Methods (as well as lambda expressions or anonymous methods) can be markedwith the async keyword to enable the method to do work in a nonblockingmann...
分类:其他好文   时间:2014-06-21 17:58:34    阅读次数:197
[转]Request Flow for Provisioning Instance in Openstack
One of the most important use-case in any cloud is provisioning a VM . In this article we shall do a walk through about an instance(VM) being provisio...
分类:其他好文   时间:2014-06-21 16:59:43    阅读次数:376
RabbitMQ in Action (1): Understanding messaging
1. Consumers and producers Producers create messages and publish (send) them to a broker server (RabbitMQ). A message has two parts: a payload and a l...
分类:其他好文   时间:2014-06-21 14:33:14    阅读次数:431
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!