- 博客(4)
- 收藏
- 关注
转载 求平方根sqrt()函数的底层算法效率问题
转: http://www.nowamagic.net/algorithm/algorithm_EfficacyOfFunctionSqrt.php我们平时经常会有一些数据运算的操作,需要调用sqrt,exp,abs等函数,那么时候你有没有想过:这个些函数系统是如何实现的?就拿最常用的sqrt函数来说吧,系统怎么来实现这个经常调用的函数呢?虽然有可能你平时没有想过这个问题,不过正所
2013-06-28 03:40:30 3643
转载 Linux下多线程查看工具(pstree、ps、pstack)
1. pstreepstree以树结构显示进程$ pstree -p work | grep adsshd(22669)---bash(22670)---ad_preprocess(4551)-+-{ad_preprocess}(4552) |-{ad_preprocess}(4553
2013-06-23 00:01:08 859
转载 HOW TO : Select column in Notepad++
Notepad++, is a great open source editor similar to EditPlus and UltraEdit. One of the features that I really appreciated in EditPlus, was the capability to select a column of data. I checked if Not
2013-06-12 23:26:24 803
原创 随机函数的伪随机
刚看到一个blooming filter 的hash函数的实现,里面用到了随机函数。protected int[] getHashIndexes(E obj) { int[] indexes = new int[numHashFunc]; long seed = 0; byte[] digest; try { MessageDigest md = MessageDigest.ge
2013-06-10 02:32:57 1524
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人