To free pagecache: echo 1 > /proc/sys/vm/drop_caches;to free dentries and inodes: echo 2 > /proc/sys/vm/drop_caches;to free pagecache, dentries and in...
分类:
系统相关 时间:
2014-06-28 10:41:39
阅读次数:
222
Page.ClientScript.RegisterStartupScript(GetType(), "", "");Response.Write("");this.LinkButton3.Attributes.Add("onclick", "return confirm('确定要删除吗?');")...
分类:
其他好文 时间:
2014-06-23 00:20:22
阅读次数:
233
网络爬虫第一个要面临的问题,就是如何抓取网页,抓取其实很容易,没你想的那么复杂,一个开源HtmlUnit包,4行代码就OK啦,例子如下:1234finalWebClient webClient=newWebClient();finalHtmlPage page=webClient.getPage("...
分类:
Web程序 时间:
2014-06-22 23:47:37
阅读次数:
373
话不多说,直接贴代码:
public class TestAction {
private String nextPage;//保存下一步内容的属性
public String destroy(){
if(user.dontConfirm()){//决定下一步
nextPage = LIST_PAGE;
}else{
nextPage = CONFIRM_PAGE;
...
分类:
其他好文 时间:
2014-06-22 22:29:18
阅读次数:
198
DCache中缓存的是数据,而ICache中缓存的是指令,这就是DCache与ICache的根本区别,由此也决定了DCache的特别之处。指令存储在指令存储器中,且指令存储器是只读的,对应只有一个取指操作,但是数据存储在数据存储器中,且数据存储器是可读、可写的,对应加载、存储两个操作。一般情况下,指令存储器、数据存储器都属于内存的一部分,有时就是内存中同样的地址空间。
当向数据存储器中存储数据且DCache命中时,称之为写命中,可以采用两种策略:...
分类:
其他好文 时间:
2014-06-22 20:20:42
阅读次数:
353
??
Artifacts
工件
“Hello, World!”
is implemented as an applet, so it never stands alone but instead is typically a part of some Web page. The applet starts when its enclosing page is opened, trigge...
分类:
其他好文 时间:
2014-06-22 19:50:03
阅读次数:
180
在使用$.ajax做异步调用的时候,如果success却得不到值
$.ajax({
type:"GET",
url:tourl,
cache:false,
data:"{}",
success:function(data){
alert(data);
}
});
后台这样写的不到值
PrintWr...
分类:
其他好文 时间:
2014-06-22 18:15:50
阅读次数:
224
通过对使用DCache各种情景的分析以实现对DCache模块的剖析,使用到DCache的情景有如下几种:
(1)l.mtspr指令写DCache中的特殊寄存器(分通写法、回写法)
(2)存储指令执行阶段DCache失靶(分通写法、回写法)
(3)加载指令执行阶段DCache失靶(分通写法、回写法)
(4)存储指令执行阶段DCache命中(分通写法、回写法)
(5)加载指令执行阶段DCache命中(DCache的工作过程在通写法、回写法下是...
分类:
其他好文 时间:
2014-06-22 17:02:20
阅读次数:
426
一、LINUX基础教程1.老男孩系列免费视频:1)linux高薪入门实战视频教程(第二部)老男孩linux教程http://edu.51cto.com/course/course_id-1035-page-1.html2)跟着老男孩从0开始一步步实战深入学习linux运维(三)http://edu.51cto.com/lesson/id-11909.html
分类:
系统相关 时间:
2014-06-22 10:08:17
阅读次数:
294
CCache is a compiler cache for C/C++. It speeds up recompilation by caching the result of previous compilations and detecting
when the same compilation is being done again. We can use this tool to s...
分类:
移动开发 时间:
2014-06-21 21:13:40
阅读次数:
318