输入子系统在内核中的位置:/driver/input
drivers/input/input.c: input_init ---> err = register_chrdev(INPUT_MAJOR,
"input", &input_fops); static const struct file_o...
分类:
其他好文 时间:
2014-05-05 23:34:42
阅读次数:
516
Given an unsorted array of integers, find the
length of the longest consecutive elements sequence.For example,Given [100, 4,
200, 1, 3, 2],The longest...
分类:
其他好文 时间:
2014-05-05 23:01:41
阅读次数:
374
并查集类的c++封装,比较union_find algorithm四种实现方法之间的性能差别...
分类:
编程语言 时间:
2014-05-05 21:25:44
阅读次数:
324
Struts2实现文件上传
文件上传页面
file.jsp:
...
分类:
其他好文 时间:
2014-05-05 13:26:32
阅读次数:
261
apk file 其实就是zip文件, 可以将其重命名为zip文件,然后用unzip命令解压。unzip example1.apk -d ./example_dir
tree
.
├── AndroidManifest.xml
├── classes.dex
├── META-INF
│ ├── CERT.RSA
│ ├── CERT.SF
│ └── MANIFEST.MF
├── ...
分类:
移动开发 时间:
2014-05-05 13:12:59
阅读次数:
469
文件存储的用途:
A File object is suited to reading or writing large amounts of data in start-to-finish order without skipping around. For example, it's good for image files or anything exchanged over a netw...
分类:
移动开发 时间:
2014-05-05 13:01:21
阅读次数:
339
这篇对应的是习题16,读写文件
# -*- coding: utf-8 -*-
#对文件更多操作复制A文件的内容到B文件
#from sys import argv
from os.path import exists
prompt = "> "
from_file = raw_input("please input the filename where you want to copy...
分类:
编程语言 时间:
2014-05-05 12:54:02
阅读次数:
402
1.File的用于创建目录、用于表示目录、用于创建文件、用于表示文件和用于删除文件或目录。
2.字符流:abstract class Reader和Writer操作的是文本文件
3.缓冲字符流(BufferedReader和BufferedWriter)每次读取或写入一行
缓冲流(BufferedInputStream和BufferedOutputStream)每次读取或写入一个数组的大小。
4.打印字符流属于处理流,不能和介质直接相连...
分类:
其他好文 时间:
2014-05-03 17:21:40
阅读次数:
401
1、具体错误如下
2014-5-2 21:38:29 com.opensymphony.xwork2.util.logging.jdk.JdkLogger error
严重: Exception occurred during processing request: null
java.lang.NullPointerException
at com.you.file.upload.actio...
分类:
其他好文 时间:
2014-05-03 16:08:37
阅读次数:
353
package com.recursion;
import java.io.File;
public class RecursionFile {
public static void main(String[] args) {
File file = new File("G:/A");
tree(file, 0);
}
private static vo...
分类:
编程语言 时间:
2014-05-03 16:07:04
阅读次数:
265