▲ETX2文件系统通常一个扇区的大小为512字节(byte=8个二进制位)分区的要点就是要记录每一个分区的起始与结束柱面MBR(master boot recorder)最多提供4个分区的记忆为提高磁头的读取效率,使用了逻辑块的概念1Block=2^n扇区每个文件系统开始位置的那个块称为超级块。超级...
分类:
系统相关 时间:
2015-01-16 16:26:46
阅读次数:
285
https://oj.leetcode.com/problems/gas-station/There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car...
分类:
其他好文 时间:
2015-01-15 12:29:53
阅读次数:
202
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,
"A man, a plan, a canal: Panama" is a palindrome.
"race a car" is not a ...
分类:
其他好文 时间:
2015-01-15 09:26:10
阅读次数:
160
python版本3.4.2:1、书上的例子是from nltk.corpus import wordnet as wnwn.synset('car.n.01').lemma_names #获得同义词集wn.synset('car.n.01').definition #获得定义在3.4.2下执行得.....
分类:
其他好文 时间:
2015-01-15 01:38:45
阅读次数:
644
问题描述:
There are N gas stations along a circular route, where the amount of gas at station
i is gas[i].
You have a car with an unlimited gas tank and it costs
cost[i] of gas to travel from statio...
分类:
其他好文 时间:
2015-01-13 23:20:36
阅读次数:
266
TIANKENG’s travel
Problem Description
TIANKENG has get a driving license and one day he is so lucky to find a car. Every day he drives the car around the city. After a month TIANKE...
分类:
其他好文 时间:
2015-01-13 19:57:09
阅读次数:
171
1.Car.h文件#import<Foundation/Foundation.h>//如果A类.h引入B类的.h文件,B类.h文件又引入A类的头文件,就会导致头文件循环引入的错误//解决方案://以后只有两种情况需要在.h里面引其他的头文件,1是继承,2是协议//除此之外需要引头文件,全部到.m文件中引入.h中如果要使用..
分类:
其他好文 时间:
2015-01-13 01:32:39
阅读次数:
228
由于undefined和null两个值的比较是相等的,所以,未初始化的变量和赋值为null的变量会相等。这时,可以采用typeof变量的类型进行比较。但,建议还是养成编码的规范,不要忘记初始化变量。var box;var car = null;alert(typeof box == typeof c...
分类:
Web程序 时间:
2015-01-09 18:43:43
阅读次数:
168
函数式编程 函数式编程(functional programming)的思想相对于命令式编程(imperative programming),告诉计算机你要什么而不是告诉它要怎么做,举个例子: (defun fun(x)
(list ‘a (expt (car x) 2))) 这是函...
分类:
其他好文 时间:
2015-01-07 01:55:36
阅读次数:
112
前些天分析了一下FM的流程以及主要类,接下来我们分析一下FM的录音功能;
首先看下流程图:
Fm录音时,当点击了录音按钮,会发一个广播出去,源码在FMRadioService.java中
public void startRecording() {
Log.d(LOGTAG, "In startRecording of Recorder");
if ((t...
分类:
移动开发 时间:
2015-01-06 20:12:39
阅读次数:
400