- 浏览: 135660 次
- 性别:
- 来自: 南宁
最新评论
-
blues1021:
dafeiwudi 写道什么叫外频和陪频啊?一般电脑都显示主频 ...
计算机组成原理和结构-时钟周期、机器周期、总线周期、指令周期含义和关系 -
dafeiwudi:
什么叫外频和陪频啊?一般电脑都显示主频,它不表示运算速递,我们 ...
计算机组成原理和结构-时钟周期、机器周期、总线周期、指令周期含义和关系
文章列表
主频:CPU的工作频率(主频)包括两部分:外频与倍频,两者的乘积就是主频。由于主频并不直接代表运算速度,所以在一定情况下,很可能会出现主频较高的CPU实际运算速度较低的现象。因此主频仅仅是CPU性能表现的一个方面,而不代表CPU的整体性能 。
时钟周期=1/时钟频率 时钟频率=主频
时钟周期:时钟脉冲频率的倒数,是CPU完成最基本的动作的时间。
机器周期:指令执行的一个阶段的时间,如取指令,读存储器,写存储器的时间。
总线周期:指令执行的一个阶段中的,对外部其它资源(内存,I/O设备)进行一次访问的时间。
指令周期:完成一条指令所需要的时间。
关系:机器周期包含若干个时钟周期,可 ...
1.使用了现成的可运行的项目的库,将项目下的.mymetadata .myhibernatedata .settings中修改
路径
名实现项目名修改
,且确保了.jar文件的一致性,API库应该没问题。2.配置文件web.xml:
<filter-class>com.lma.tools.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>config</param-name>
<param-value ...
初识JUnit
- 博客分类:
- JUnit单元和J2EE集成测试
1..概念:
JUnit 是开发人员为了测试自己写的类中的方法对不对,更加健壮。
以前是用main 方法对其测试,但大规模不适应。。
而不是测试人员对整个系统的测试。2.使用:
(1)导入:
eclipse自带,也可以自己加入;
静态引入是JDK 1.5 后引进的版本,
import static org.junit.Assert.;
后面调用可以直接写方法,不用写Assert类.方法。
(2)编写:自定义一个
自己本身的项目名称为Unity3DHouse4 而不是Unity3DHouse,又写错一次,以后要小心,但是也要提高程序的纠错,测试能力。
Apache Tomcat/6.0.13 - Error report
<h1 font-familytahomaarialsans-serifcolorwhitebackground-colordfont-sizepx h font-familytahomaarialsans-serifcolorwhitebackground-colordfont-sizepx h font-familytahomaarialsans-serifcolorwhitebackground-colordfont-sizepx body font-familytahomaarialsans-serifcol ...
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
org.apache.st ...
Apache Tomcat/6.0.13 - Error report
<h1 font-familytahomaarialsans-serifcolorwhitebackground-colordfont-sizepx h font-familytahomaarialsans-serifcolorwhitebackground-colordfont-sizepx h font-familytahomaarialsans-serifcolorwhitebackground-colordfont-sizepx body font-familytahomaarialsans-serifcol ...
1. .JSP页面代码出错,到相应的代码中改正即可。
HTTP Status 503 - This application is not currently available
--------------------------------------------------------------------------------
type Status report
message This application is not currently available
description The requested service (This application ...
页面:
HTTP Status 404 - /shiyan/
--------------------------------------------------------------------------------
type Status report
message /shiyan/
description The requested resource (/shiyan/) is not available.控制台:
1.
严重: Exception sending context initialized event to listener instance of ...
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception o ...
问题.tomcat 中的j2ee的报jsessionid的404 报错?
1.在浏览器的i
nternet工具选项中选择支持cookie
,将会使其成功的调转到首页
2.是跳转中的配置文件struts-config.xml或jsp文件的form表单声明问题,这次的出
错是struts的action类中的execute写成了excute
,故报这样的错,已经将其解决。
3.其它未知的可能。
问题:HTTP Status 404 - /shiyan/statInfo.do 报错 ?
description:The requested resource (/shiyan/statI ...
一、目录的创建和删除命令:mkdir rmdir
1.
mkdir -p -m 700 command3/command
创建目录时,用户应该有当前目录和创建目录的写权限。
选项 -p 可以创建一个多级的目录
-m 对新建目录设置存取权限,700为读写执行操作。
2.
rmdir -p command3/command
删除时,用户要有对删除目录的父目录的写权限。
选项 -p 递归的删除多级目录。二、改变工作目录、显示路径和显示目录内容命令:cd pwd ls
1.
cd /usr/src
2.
pwd
3.
ls
...
一:文件和目录查找命令:find locate
find 路径或当前默认路径 选项 选项值
选项:-gid -uid -group -user -perm(权限)
-name -size -empty
-exec -ok linux命令 {} \;
-ls -fprintf -print
示例:在root根目录下:
命令:find -name jiayuan ...
一、创建
:
1.创建Hard Link:
ln read.doc read_hard.doc
2.创建Symbolic Link:
ln -s link.txt linksym.txt
二、多引用文件权限设置:
对不同Hard Link文件设置不同的权限,而对符号链接文件不是一个独立的文件,它的许多属性依赖于原文件,所以给一个
符号链接文件设置存取权限是没有意义的。
命令:待解决三、浅路径的设置:
对硬连接,不能对目录文件做硬链接,也不能在不同的文件系统之间做硬链接
。而符号连接没有这样的限制。
命令:文件内容的操作 文件和目录的操作四、查看
:命令
...
一:显示文件内容命令:cat more less head tail
1.1
cat readme.txt
cat -A readme.txt //是以$符号结束一句,不能用-a表示,区分大小写
1.2
more readme.txt
more -dc readme.txt
1.3
less readme.txt
//相比more可以使用pageup pagedown
less jiayuan //less 目录时类似于list -la命令
1.4
head -3 readme.txt
//显示前面三行
1.5
tail -1 readme.t ...