原创 區間樹簡單實現(interval_tree)

interval_tree.cpp /* 區間樹(interval tree)是一種對動態集合進行維護的擴張紅黑樹,因此可在實驗二紅黑樹的基礎上進行擴張。 */ #include <iostream> #include <deq

原创 算法收集

七大查找算法(附C語言代碼實現) http://www.cnblogs.com/leezx/p/5719012.html 線段樹的實現[C語言](原創) http://www.fuqingchuan.com/2008/12/

原创 整形的hash算法

//bits值越小用的hashtable的空間越小 unsigned long hash_long(unsigned long val,unsigned int bits) { unsigned long hash = val * 0x

原创 Makefile 中:= ?= += =的區別

http://www.cnblogs.com/wanqieddy/archive/2011/09/21/2184257.html

原创 NUMA體系結構詳解

http://tech.it168.com/a2015/0518/1729/000001729699.shtml

原创 OOC 面向對象 C 語言編程實踐

http://blog.jobbole.com/105105/

原创 __attribute__

__attribute__((unused)) 表示該函數或變量可能不使用,避免編譯器產生告警信息。 __attribute__ ((packed)) 的作用就是告訴編譯器取消結構在編譯過程中的優化對齊,按照實際佔用字節數進行對齊

原创 網絡技術博客

http://blog.chinaunix.net/uid-20671208-id-4557447.html http://blog.chinaunix.net/uid/24148050.html http://blog.chinauni

原创 Linux 時鐘(微妙,納秒)

time_us.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> int time_substract(s

原创 socket()參數詳解

http://blog.csdn.net/u013120715/article/details/42711109

原创 Intel發佈面向開發者的推薦閱讀清單

http://www.infoq.com/cn/news/2014/01/intel-recommended-reading-list/

原创 C學習網站

http://www.gribblelab.org/CBootcamp/index.html http://www.cprogramming.com http://www.cs.swan.ac.uk/~csdavec/HPC/ http:

原创 RBTree和AVLtree

https://www.zhihu.com/question/20545708https://www.zhihu.com/question/1985

原创 OProfile

http://www.ibm.com/developerworks/cn/linux/l-gnuprof.html http://blog.chinaunix.net/uid-13746440-id-3152484.html http:/