一:mmc的命令例如以下:1:对mmc读操作mmc read addr blk# cnt 2:对mmc写操作 mmc write addr blk# cnt3:对mmc擦除操作mmc erase blk# cnt4:又一次搜索mmc设备mmc rescan5:列出mmc的分区mmc part ...
分类:
其他好文 时间:
2014-07-22 22:51:54
阅读次数:
222
不知大家是否见过这样一种让人“眼花缭乱”的位域操作, int read = 0 << 1; int write = 0 << 2; int connect = 0<<3; 最典型的就是jdk nio里的SelectionKey了,当你判断一个selectionkey所感兴趣的操作时,你不...
分类:
其他好文 时间:
2014-07-22 08:25:36
阅读次数:
201
题目链接 Write a function to find the longest common prefix string amongst an array of strings. 题目的意思说的不是很清楚,开始理解成了求任意两个字符串的前缀中的最长者。但是本题的意思是求所有字符串的最长公共前缀,...
分类:
其他好文 时间:
2014-07-21 09:14:25
阅读次数:
225
In this article, I gathered up all the dumps, who found. If you see something new table will be updated.If you want to replenish the base - write in c...
分类:
移动开发 时间:
2014-07-19 23:12:35
阅读次数:
867
protected void btnSend_Click(object sender, EventArgs e) { if (this.ddlSendName.SelectedValue == "-1") { Response.Write(""); return; } } protected vo....
分类:
其他好文 时间:
2014-07-19 17:35:22
阅读次数:
164
什么是mmap mmap对于c程序员很熟悉,对于java程序员有点陌生。简而言之,将文件直接映射到用户态的内存地址,这样对文件的操作不再是write/read,而是直接对内存地址的操作。 在c中提供了三个函数来实现 [list]mmap 进行映射munmap 取消映射msync 进程在映射空间的对共...
分类:
编程语言 时间:
2014-07-19 16:37:03
阅读次数:
407
例子说明get和post的方法使用:
一、示例用的GET方法:
import tornado.ioloop
import tornado.web
class MainHandler(tornado.web.RequestHandler):
def get(self):
self.write("Hello, world")
application...
分类:
其他好文 时间:
2014-07-19 12:02:22
阅读次数:
205
Your little brother has just learnt to write one, two and three, in English. He has written a lot of those words in a paper, your task is to recognize...
分类:
其他好文 时间:
2014-07-19 11:30:29
阅读次数:
225
Your little brother has just learnt to write one, two and three, in English. He has written a lot of those words in a paper, your task is to recognize...
分类:
其他好文 时间:
2014-07-19 09:31:41
阅读次数:
238
题目如下:
Graph Coloring
You are to write a program that tries to find an optimal coloring for agiven graph. Colors are applied to the nodes of the graph and the only availablec...
分类:
其他好文 时间:
2014-07-19 02:35:06
阅读次数:
210