驱动程序部分:NTSTATUS
DriverEntry(
IN PDRIVER_OBJECT DriverObject,
IN PUNICODE_STRING RegistryPath
)
/*++
Routine Description:
DriverEntry initializes the driver and is the first routine c...
taskAffinity:指定activity的宿主对象(task)。可以指定activity自身所需要进入的task的实例对象,如果未指定,默认使用application中的taskAffinity(默认为包名),注意设置taskAffinity设置的String需要带前缀.,taskAffini...
分类:
移动开发 时间:
2015-01-09 06:56:51
阅读次数:
222
Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is formed from the orig...
分类:
编程语言 时间:
2015-01-09 06:56:19
阅读次数:
239
https://oj.leetcode.com/problems/word-break-ii/http://blog.csdn.net/linhuanmars/article/details/22452163publicclassSolution{
publicList<String>wordBreak(Strings,Set<String>dict)
{
//SolutionA:
//returnwordBreak_NP(s,dict);
//SolutionB:
return..
分类:
其他好文 时间:
2015-01-09 01:52:58
阅读次数:
160
packagecom.ctgu.java;
publicclassTestArray3{
publicstaticvoidmain(String[]args){
int[]i=newint[]{12,13,14};
int[]j=newint[10];
for(intk=0;k<i.length;k++){
j[k]=i[k];
}
j[3]=15;
j[4]=16;
//intk=1;
for(intk=0;k<j.length;k..
分类:
编程语言 时间:
2015-01-09 01:48:00
阅读次数:
135
packagecom.ctgu.java;
publicclassTestArray1{
publicstaticvoidmain(String[]args){
String[]strs=newString[4];
strs[0]="AA";
strs[1]="BB";
//strs[2]="CC";
strs[3]="DD";
for(inti=0;i<strs.length;i++){
System.out.println(strs[i]);
}
//TO..
分类:
编程语言 时间:
2015-01-09 01:47:18
阅读次数:
198
如下所示代码:publicclassExample041{
publicstaticvoidmain(String[]args)throwsIOException{
Example041e41=newExample041();
e41.copy("d:\\微信名ape_it.txt","d:\\微信名爱题猿.txt");
}
privatevoidcopy(Stringsrc,Stringdest)throwsIOException{
InputStrea..
分类:
编程语言 时间:
2015-01-09 01:46:07
阅读次数:
258
packagecom.ctgu.java.exer;
importjava.util.Scanner;
publicclassTestStudentScore{
publicstaticvoidmain(String[]args){
Scanners=newScanner(System.in);
System.out.println("请输入学生的个数");
intcount=s.nextInt();
int[]scores=newint[count];
intmax..
分类:
其他好文 时间:
2015-01-09 01:44:38
阅读次数:
153
packagehello;
importjava.util.Scanner;
publicclassMain{
/**
*@paramargs
*/
publicstaticvoidmain(String[]args){
//TODOAuto-generatedmethodstub
// doublea=1.0;
// doubleb=0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1;
// System.out.println("a="+a+";b="+..
分类:
其他好文 时间:
2015-01-09 01:43:49
阅读次数:
136
计算机随机生成一个1-100之内的数字,在7次之内币可以猜中packagehello;
importjava.util.Scanner;
publicclassCaishu{
/**
*@paramargs
*/
publicstaticvoidmain(String[]args){
//TODOAuto-generatedmethodstub
Scannerin=newScanner(System.in);
intnumber=(in..
分类:
其他好文 时间:
2015-01-09 01:42:59
阅读次数:
152