一、Linux下查看CPU Cache级数,每级大小dmesg | grep cache实例结果如下:二、查看Cache的关联方式在/sys/devices/system/cpu/中查看相应的文件夹如查看cpu0 的一级缓存中的有多少组,$ cat /sys/devices/system/cpu/c...
分类:
系统相关 时间:
2014-07-09 23:23:33
阅读次数:
380
在自动化测试的过程中,经常会出现这样的场景:按住Ctrl的同时,进行单击操作,已达到多选的目的Actions a = new Actions(driver);a.keyDown(Keys.CONTROL).perform();for(int i = 0;i<quantity;i++){ W...
分类:
其他好文 时间:
2014-07-09 21:33:36
阅读次数:
305
TCP(Transmission Control Protocol) 传输控制协议TCP是主机对主机层的传输控制协议,提供可靠的连接服务,采用三次握手确认建立一个连接:位码即tcp标志位,有6种标示: SYN(synchronous建立联机) ...
分类:
其他好文 时间:
2014-07-08 00:21:03
阅读次数:
323
In a fast local area network (LAN) environment, Transmission Control Protocol/Internet Protocol (TCP/IP) Sockets and Named Pipes clients are comparabl...
分类:
其他好文 时间:
2014-07-06 20:39:21
阅读次数:
315
从 http://www.a.com/test.html 发起一个跨域请求,请求的地址为: http://www.b.com/test.php,如果 服务器B返回一个如下的headerAccess-Control-Allow-Origin: http://www.a.com,那么,这个来自 http...
分类:
数据库 时间:
2014-07-06 20:36:07
阅读次数:
317
一、时序图简介(Brief introduction) 二、时序图元素(Sequence Diagram Elements)角色(Actor)对象(Object)生命线(Lifeline)控制焦点(Focus of Control)消息(Message)自关联消息(Self-Message)Com....
分类:
其他好文 时间:
2014-07-06 13:38:54
阅读次数:
254
由查找session IP 展开---函数、触发器、包
一、userenv函数、sys_context函数
--查看当前客户端会话的session IP信息
SQL>select sys_context('userenv','ip_address') from dual;
SYS_CONTEXT('USERENV','IP_ADDRESS')
-------------...
分类:
其他好文 时间:
2014-07-06 10:40:35
阅读次数:
161
There's a much simpler solution for this. Try running the following command:sudo /usr/sbin/DevToolsSecurity --enable
分类:
数据库 时间:
2014-07-05 22:43:50
阅读次数:
451
守护进程不属于不论什么的终端,所以当须要输出某些信息时,它无法像通常程序那样将信息直接输出到标准输出和标准错误输出中。这就须要某些特殊的机制来处理它的输出。为了解决问题,Linux 系统提供了syslog()系统调用。通过它,守护进程能够向系统的log 文件写入信息。它在Linux 系统函数库sys...
分类:
其他好文 时间:
2014-07-05 20:57:22
阅读次数:
144
private RichTextBox FindControl() { RichTextBox ret = null; try { Control[] controls = Application.OpenForms["MainForm"].Controls.Find("txtContent", ....