码迷,mamicode.com
首页 >  
搜索关键字:no write has been do    ( 38312个结果
socket编程原理
socket编程原理1、问题的引入1) 普通的I/O操作过程:UNIX系统的I/O命令集,是从Maltics和早期系统中的命令演变出来的,其模式为打开一读/写一关闭(open-write-read-close)。在一个用户进程进行I/O操作时,它首先调用“打开”获得对指定文件或设备的使用权,并返回称...
分类:其他好文   时间:2014-06-28 18:42:31    阅读次数:301
common头文件
#ifndef COMMON_HHH#define COMMON_HHH#define ASSERT(p) \ do{\ if (!p){\ printf("%s:%d\n",__FILE__,__LINE__ );\ }\ } while (...
分类:其他好文   时间:2014-06-28 18:34:04    阅读次数:293
异步fifo的读写
这里不讨论异步fifo是如何实现的,而是在实现fifo的前提下,对fifo的读写。现在遇到的问题是:总线的数据不能写入fifo中,但是地址能加一。代码如下: if( !fifo_tx_full && cpu_write_fifo_en ) begin fifo_r[ write_a...
分类:其他好文   时间:2014-06-28 17:36:37    阅读次数:207
Lua常用的数据结构表示
1.矩阵Lua中有两种表示矩阵的方法,一是“数组的数组”。也就是说,table的每个元素是另一个table。例如,可以使用下面代码创建一个n行m列的矩阵:mt = {} -- create the matrixfor i=1,N do mt = {} -- create a new ro...
分类:其他好文   时间:2014-06-28 17:17:13    阅读次数:194
【leetcode】Search a 2D Matrix
Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from l...
分类:其他好文   时间:2014-06-28 15:14:05    阅读次数:194
为啥 选择了 NSDocumentDirectory 还是返回一个array 而不是一个 直接一个 document 的目录 String
NSArray * array = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);为啥 选择了 NSDocumentDirectory 还是返回一个array 而不是一个 直接一个 do...
分类:其他好文   时间:2014-06-28 15:03:51    阅读次数:159
[LeetCode] Search a 2D Matrix
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted fr...
分类:其他好文   时间:2014-06-20 15:29:46    阅读次数:233
[LeetCode] Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note: You may assume that A has enough space (size that is greater or equa...
分类:其他好文   时间:2014-06-20 15:25:50    阅读次数:225
ACM——进制转换
http://acm.njupt.edu.cn/acmhome/problemdetail.do?&method=showdetail&id=1012进制转换时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte总提交:1362 测试通过:395...
分类:其他好文   时间:2014-06-20 15:03:04    阅读次数:251
route初级贴
vim route.rb resources :fetched_apps do member do patch :import end end spring rake routes recommend_apps GET /recommend_apps(.:fo...
分类:其他好文   时间:2014-06-20 14:57:22    阅读次数:213
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!