第一步 安装junit, hamcrest 和 eclemma 安装juint,hamcrest都使用了导入jar包的方法,在“项目”->“属性”当中选择java构建路径,导入jar包,这里我导入的是junit(4.12)和hamcrest-all-1.3。导入成功后就可以生成测试实例和进行测试。 ...
分类:
其他好文 时间:
2017-03-12 23:57:38
阅读次数:
323
(a) (b) array out of bounds (c) n = 1 (d) NC: {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15} EC: {(1,2), (2,3), (3,4), (4,5), (5,6), (6,7), (7,5), (6,8), (5,9) ...
分类:
其他好文 时间:
2017-03-10 15:30:33
阅读次数:
203
作业: 机械特性曲线: 设计仿真图: 仿真结果:第一行为电枢电流,第三行为角速度。(方向是相反的,规定负的为上升) ...
分类:
其他好文 时间:
2017-03-06 23:35:59
阅读次数:
146
一、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();#cat/etc/rc.d/init.d/functions|grep‘[[:alpha:]].*()‘二、使用echo命令输出一个绝对路径,使用grep取出其基名;扩展:取出其路径名;#echo/etc/sysconfig/network-scripts|grep‘^/[[:..
分类:
系统相关 时间:
2017-02-22 15:40:10
阅读次数:
303
1、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();[root@localhost~]#grep-E"[[:alpha:]]+\(\)+"/etc/rc.d/init.d/functions
checkpid(){
__pids_var_run(){
__pids_pidof(){
daemon(){
killproc(){
pidfileofproc(){
pidofproc(){
status(..
分类:
编程语言 时间:
2017-02-13 00:37:10
阅读次数:
244
1、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();[root@localhost~]#grep-E"[[:alpha:]]+\(\)+"/etc/rc.d/init.d/functions
checkpid(){
__pids_var_run(){
__pids_pidof(){
daemon(){
killproc(){
pidfileofproc(){
pidofproc(){
status(..
分类:
编程语言 时间:
2017-02-13 00:36:54
阅读次数:
267
1、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();[root@tom~]#grep-E-o"[_[:alpha:]]+\(\)"/etc/rc.d/init.d/functions
fstab_decode_str()
checkpid()
__readlink()
__fgrep()
__kill_pids_term_kill_checkpids()
__kill_pids_term_kill(..
分类:
编程语言 时间:
2017-02-13 00:36:43
阅读次数:
260
1、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();答: [root@localhost~]#egrep-o"[[:alpha:]]+\(\)"/etc/rc.d/init.d/functions checkpid() run() pidof() daemon() killproc() pidfileofproc() pidofproc() status() success() failure(..
分类:
其他好文 时间:
2017-01-19 23:14:07
阅读次数:
438
1. 阅读笔记 结合本周课堂所讲的实时操作系统知识内容,浏览如下商用和开源实时操作系统网站,写一段文字向其他同学简要介绍下某个实时操作系统的性能特点或进行操作系统间性能的比较: Vxworks: www.windriver.com/products/vxworks QNX:www.qnx.com X ...
分类:
其他好文 时间:
2016-12-14 21:30:35
阅读次数:
264