原创 Java虛擬機學習筆記1-內存區域

  1.方法區:(非堆區)存儲類信息(版本,字段,方法,接口,常量(類加載後存儲在運行時常量池中),靜態變量),即時編譯器編譯後的代碼 運行時常量池:存儲常量信息,主要是這個東東具有動態性,即在程序運行期間可以動態往裏面插入常量。比如St

原创 STL迭代器簡介

原文網址:http://www.cppblog.com/The-Moment/archive/2009/06/18/88023.html 標準模板庫(The Standard Template Library, STL)定義了五種迭代器

原创 TCP三次握手/四次揮手詳解

http://justim.blog.51cto.com/740099/237548

原创 strtok的用法

#include <iostream> #include <cstring> using namespace std; int main(){ char sentence[]="This is a sentence with 7 tok

原创 一致性哈希算法及其在分佈式系統中的應用

http://blog.codinglabs.org/articles/consistent-hashing.html

原创 Java Thread 總結

http://www.cnblogs.com/DreamSea/archive/2012/01/11/JavaThread.html   java中wait/notify機制 http://sishuok.com/forum/blogP

原创 _ITERATOR_DEBUG_LEVEL

記性不好記錄下下。 關於編譯錯誤: libcpmt.lib(cout.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' does

原创 C/C++中“#”和“##”的作用和用法

FROM:http://www.2cto.com/kf/201503/381187.html 在C/C++的宏中,”#”的功能是將其後面的宏參數進行字符串化操作(Stringfication),簡單說就是在對它所引用的宏變量通過替換後在其

原创 STL迭代器簡介

原文網址:http://www.cppblog.com/The-Moment/archive/2009/06/18/88023.html 標準模板庫(The Standard Template Library, STL)定義了五種迭代器

原创 Lights off(關燈遊戲)終極算法

http://module77.is-programmer.com/posts/7231.html

原创 Linux的系統負載

原理:通過統計運行時的進程數來反應。 Load average:0.02 0.12 0.22分別表示1分鐘/5分鐘/15分鐘內的平均運行進程數 查看命令: w:還可以順便查看一下當前登錄的用戶以及他們正在跑的進程 top:動態查看系統信

原创 最長遞增子序列-O(NlogN)

http://www.ahathinking.com/archives/117.html

原创 strtok的用法

#include <iostream> #include <cstring> using namespace std; int main(){ char sentence[]="This is a sentence with 7 tok

原创 一致性哈希算法及其在分佈式系統中的應用

http://blog.codinglabs.org/articles/consistent-hashing.html

原创 僞造ip包代碼

http://blog.csdn.net/flash9008/article/details/5811298