关于VFS的通用读,我们不做考虑,本文以如下函数为根,往下分析:do_generic_mapping_read(*ppos,*mapping,*desc)本函数的目的是,从磁盘读数据到用户态,先是从*ppos开始的页,一直读到*ppos+desc->count 为止的,这么多个页,然后拷贝desc-...
分类:
其他好文 时间:
2014-07-16 21:53:13
阅读次数:
326
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2014-07-16 20:50:06
阅读次数:
137
源自leetcode上的一道题。题目为:Reverse Words in a StringGiven an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "bl...
分类:
其他好文 时间:
2014-07-16 20:46:04
阅读次数:
185
Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
分类:
其他好文 时间:
2014-07-16 20:44:52
阅读次数:
158
Given an input string, reverse the string word by word.For example,Given s = " the sky is blue ",return "blue is sky the".click to show clarification....
分类:
其他好文 时间:
2014-07-16 20:27:53
阅读次数:
134
Hibernate3.0后新增了annotation的配置方式,比起xml有着更加简洁的配置1:修改hibernate.cfg.xml之前标签中配置了hbm资源文件由于现在使用了注解方式代替了hbm文件,所以需要修改mapping标签的内容2:User.java 1 @Entity 2 @Table...
分类:
系统相关 时间:
2014-07-11 22:38:19
阅读次数:
300
Mindjet MindManager是由美国Mindjet公司开发的一款优秀的思维导图和知识管理软件,能够帮助你将想法和灵感以清晰的树桩形式记录下来,这对梳理工作计划和规划很有帮助。 思维导图(Mind Mapping),又称心智图,俗称脑图,是一种图像式思维工具或者是一种利用图像式思考来...
分类:
其他好文 时间:
2014-07-11 12:25:18
阅读次数:
280
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /.
Each operand may be an integer or another expression.
Some examples:
["2", "1", ...
分类:
其他好文 时间:
2014-07-10 19:39:53
阅读次数:
146
题目:
Given an input string, reverse the string word by word.
For example,
Given s = "the sky is blue",
return "blue is sky the".
java代码:
{CSDN:CODE:422957}...
分类:
其他好文 时间:
2014-07-10 17:26:26
阅读次数:
136
Implement a function to check if a linked list is a palindrome.Reverse the second half of the list and then compare it with the first half./* Assume t...
分类:
其他好文 时间:
2014-07-09 14:25:04
阅读次数:
176