摘要: unsigned int BKDRHash(char*str) { unsigned int seed=131 ;// 31 131 1313 13131 131313 etc.. unsigned int hash=0 ; while(*str) { hash=hash*seed+(*str+... 阅读全文
posted @ 2016-08-10 20:54 weeping 阅读(1029) 评论(0) 推荐(0) 编辑