码迷,mamicode.com
首页 >  
搜索关键字:sdbm hash    ( 10452个结果
amazon 汇总
1. what is hash table? how to implement in C? how to deal withconflicts? (linkedlist, linear probing, double hashing...etc)什么是hashtable, hash function...
分类:其他好文   时间:2014-07-27 22:06:19    阅读次数:310
Hash表
实现: 1 #ifndef SEPARATE_CHAINING_H 2 #define SEPARATE_CHAINING_H 3 4 #include 5 #include 6 #include 7 #include 8 using namespace std; 9 ...
分类:其他好文   时间:2014-07-27 10:44:42    阅读次数:231
hdu--2523--读懂题意....
这题 感觉很容易读错题意的~~ touch me这题 要是 数据再大点 就不那么容易做了 用hash才2000的数组 太轻松了要是弄个10^9....就要换方法了一开始 我一直担心 O(n^2)的去预处理数组 会不会导致超时 ...还好n就1000这里的第K大 让我WA了3 4发... 这...
分类:其他好文   时间:2014-07-27 10:25:32    阅读次数:174
JavaScript 实现的 SHA1 散列
1.代码:/**** Secure Hash Algorithm (SHA1)* http://www.webtoolkit.info/***/function SHA1 (msg) { function rotate_left(n,s) { var t4 = ( n>>(32-s)); ...
分类:编程语言   时间:2014-07-27 09:38:22    阅读次数:340
graph driver-device mapper-03thin pool基本操作
// 在thin pool中创建一个新thin device // 调用路径:driver.Create() 1.1 func (devices *DeviceSet) AddDevice(hash, baseHash string) error { //查找父device baseInfo, err := devices.lookupDevice(baseHash) if err != n...
分类:移动开发   时间:2014-07-26 02:53:26    阅读次数:347
java中HashMap详解
HashMap 和 HashSet 是 Java Collection Framework 的两个重要成员,其中 HashMap 是 Map 接口的常用实现类,HashSet 是 Set 接口的常用实现类。虽然 HashMap 和 HashSet 实现的接口规范不同,但它们底层的 Hash 存储机制...
分类:编程语言   时间:2014-07-26 01:19:36    阅读次数:265
graph driver-device mapper-driver初始化
// thin device数据结构 type DevInfo struct { Hash string `json:"-"` DeviceId int `json:"device_id"` Size uint64 `json:"size"` TransactionId uint64 `json:"tran...
分类:移动开发   时间:2014-07-25 11:02:35    阅读次数:549
WIP 投料报 Invalid Serial Number
1.接口表数据检查无误 2.同样数据界面能正常完成 界面做trace SQL ID: b2mw8gjyv7guh Plan Hash: 2015965341 DELETE FROM MTL_SERIAL_NUMBERS_TEMP  WHERE TRANSACTION_TEMP_ID =  :b1 call     count       cpu    el...
分类:其他好文   时间:2014-07-24 23:05:04    阅读次数:601
Handle URL anchor change event in js 监控地址栏里面的#后面
Google Custom Search Engines use a timer to check the hash against a previous value, whilst the child iframe on a seperate domain updates the parent‘s location hash to contain the size of the ifram...
分类:Web程序   时间:2014-07-24 12:31:35    阅读次数:289
ThreadLocal
public class ThreadLocal { /** * ThreadLocals rely on per-thread hash maps attached to each thread * (Thread.threadLocals and inheritab...
分类:其他好文   时间:2014-07-24 12:08:45    阅读次数:247
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!