private void comeFromJar(Class cl) { String className = cl.getName(); className = className.replace('.', '/'); String resource = "/" + className + ...
分类:
其他好文 时间:
2015-03-18 11:55:40
阅读次数:
86
原本用的VC++2010 现在换了Visual Studio2013,editplus相关设置基本不变。采用的办法是网上找到的cl.bat方法,这里总结下:到VC的安装目录下,我这里是D:\VS\VS2013\VC\bin,在这里大家应该能看到vcvars32.bat和cl.exe两个文件。新建个文...
分类:
编程语言 时间:
2015-03-15 21:15:40
阅读次数:
181
8086 Register:寄存器没有地址的概念,地址都是指内存中数据寄存器:AX(AH AL) 累加器BX(BH BL) 基址寄存器CX(CH CL) 计数寄存器DX(DH DL) 数据寄存器段寄存器:(存各种段首地址)CS 代码段寄存器 当前要处理的指令在内存中的段首地址(物理地址=(CS<<4...
分类:
其他好文 时间:
2015-03-15 10:54:12
阅读次数:
128
今天用 gpio唤醒系统后,gpio_key也同时发给系统了,这样用感觉有些不好,能不能将一段时间内的gpio_key给过滤掉?
答案当然是肯定的,那么究竟如何在linus里实现呢?下面的实现比较简单。
1.定义一个long int的当前时间变量:
static long cur_sec;
2.初始化当前时间cur_sec:
static long int get_cl...
分类:
系统相关 时间:
2015-03-12 19:20:04
阅读次数:
132
1. How to change the Valuation Class of Material Master (MM02 ) ?if you want change the valuation, then you have to change the change the valuation cl...
分类:
其他好文 时间:
2015-03-12 18:57:51
阅读次数:
289
1 #include 2 #include 3 #include 4 #include 5 #define sc(x) scanf("%d",&x) 6 #define CL(x, y) memset(x,y,sizeof(x)) 7 using namespace std; 8 cons...
分类:
其他好文 时间:
2015-03-12 12:59:48
阅读次数:
278
因为测试自动化的需要,更新测试资材用svn的命令行实现,即svn.exe。前提:安装svn时选择命令行选项,安装后将添加至path使用:因访问svn资源需要用户名和密码,通过svn help update 发现,可使用参数--username和--password。例:call svn.exe cl...
分类:
其他好文 时间:
2015-03-11 19:13:14
阅读次数:
130
目录:effective java —— 终结方法守卫者effective java 第2章:创建和销毁对象。第7条 : 避免使用终结方法。最后的“终结方法守卫者 (finalizer guardian)”的例子,以加深理解。 1 /** 2 * chapter 2——终结守卫者 3 * @Cl.....
分类:
编程语言 时间:
2015-03-11 16:54:12
阅读次数:
138
Remove Nth Node From End of List问题:Given a linked list, remove thenthnode from the end of list and return its head.我的思路: 使用HashMap存储好位置我的代码:public cl....
分类:
其他好文 时间:
2015-03-11 16:35:32
阅读次数:
102
1 #include 2 #include 3 #include 4 #include 5 #define sc(x) scanf("%d",&x) 6 #define pf(x) printf("%d\n",x) 7 #define CL(x,y) memset(x,y,sizeof(x...
分类:
编程语言 时间:
2015-03-11 14:18:50
阅读次数:
132