Download .NET
Profilerhttp://www.yourkit.com/dotnet/download/dotTrace 5.5
Performancehttp://www.jetbrains.com/profiler/
分类:
Web程序 时间:
2014-04-29 16:36:27
阅读次数:
448
2014-04-28 23:35题目:最大子数组和问题。解法:O(n)解法。代码: 1 //
17.8 Find the consecutive subarray with maximum sum in an array. 2 // O(n)
online algorithm. 3 #include...
分类:
其他好文 时间:
2014-04-29 16:35:28
阅读次数:
429
需求:对于区块div内点击事件, 需要展示区块内的附属操作区块,对于区块外的点击,
需要将前面说的附属操作区块隐藏掉。 分析:对于一般的HTML控件,有标准的js事件接口, focus和blur,来实现类似效果,
在focus中添加显示附属控件操作, 在blur中隐藏掉。例如 文本输入框, 和...
分类:
其他好文 时间:
2014-04-29 16:32:21
阅读次数:
481
Intrinsic Locks and Synchronization
Synchronization is built around an internal entity known as theintrinsic
lockormonitor lock. (The API specificati....
分类:
编程语言 时间:
2014-04-29 16:31:18
阅读次数:
668
1 sign=mt_rand(1,100000);12 }13 14 final protected
function __clone(){15 16 }17 18 protected static function getIns(){19 if(!...
分类:
Web程序 时间:
2014-04-29 16:30:19
阅读次数:
415
getByclass传入两个参数,oParent是父集,sClass是要传入class名称 1
function getByClass(oParent,sClass){ 2 var aChild =
oParent.getElementsByTagName("*"), 3 r...
分类:
其他好文 时间:
2014-04-29 16:27:10
阅读次数:
366
曾国藩是中国近代史上最显赫和最有争议的人物,其生前毁誉参半,既有“中兴第一名臣”的美称,又有“卖国贼”的恶名。曾国藩率湘军镇压了太平大国,被清廷称为“同治中兴”第一功臣;又于1861年创办了中国最早的洋务军工企业安庆内军械所,成为洋务派的重要代表人物。辛亥革命以后,一些革命党人称他“开就地正法之先河...
分类:
其他好文 时间:
2014-04-29 16:24:05
阅读次数:
306
在上一篇介绍MVC中的Ajax实现方法的时候,曾经提到了除了使用Ajax HTML
Helper方式来实现之外,Jquery也是实现Ajax的另外一种方案。通过get方法实现AJax请求ViewClick MeControllerpublic
ActionResult GetTime(){ r...
分类:
Web程序 时间:
2014-04-29 16:23:01
阅读次数:
569
1、获取主机信息@Test public void GetDomainInfo() throws
UnknownHostException { String domain = "www.baidu.com"; InetAddress netAddress =
InetAddress.getByN.....
分类:
编程语言 时间:
2014-04-29 16:18:55
阅读次数:
553
导入工程:File->New->project:选择“Java project
from existing ant buildfile”再从菜单windows->show view->ant
打开ant工具对话框打开ant编译文件build.xml当编译完成后,在源码根目录下会生成一个target目...
分类:
其他好文 时间:
2014-04-29 16:17:53
阅读次数:
519