#include "sys.h"
#include "util.h"
#include "hash.h"
#include "jenkins.h"
Defines | |
| #define | MAX_COLLISIONS 25 |
Functions | |
| void | aw_hash32_clear (aw_hash32_t *ht) |
| Reset hash. | |
| void | aw_hash32_delete (u_int32_t key, aw_hash32_t *ht) |
| Delete user_pointer associated with key. | |
| void | aw_hash32_destroy (aw_hash32_t *ht) |
| Free Hash. | |
| void * | aw_hash32_fetch (u_int32_t key, const aw_hash32_t *ht) |
| Return user_pointer associated with key. | |
| int32_t | aw_hash32_incr (u_int32_t key, int32_t incr, aw_hash32_t *ht) |
| interpret the user pointer as a 32bit signed int and increment by 'incr' | |
| int32_t | aw_hash32_insert (u_int32_t key, void *user_pointer, aw_hash32_t *ht) |
| Associated key with user_pointer in ht. | |
| aw_hash32_t * | aw_hash32_make (u_int32_t nentries) |
| Create closed hash table using 32bit keys. | |
| void | aw_hash32_map (aw_hash32_t *ht, void *user_ptr, void(*eval)(void *user_ptr, u_int32_t key, void *valuer_ptr)) |
| void | aw_hash32_thin (aw_hash32_t *ht, void *user_ptr, u_int32_t(*eval)(void *user_ptr, void *valuer_ptr)) |
| void | aw_hash64_clear (aw_hash64_t *ht) |
| Reset hash. | |
| void | aw_hash64_delete (u_int64_t key, aw_hash64_t *ht) |
| Delete user_pointer associated with key. | |
| void | aw_hash64_destroy (aw_hash64_t *ht) |
| Free Hash. | |
| void * | aw_hash64_fetch (u_int64_t key, const aw_hash64_t *ht) |
| Return user_pointer associated with key. | |
| int32_t | aw_hash64_incr (u_int64_t key, int32_t incr, aw_hash64_t *ht) |
| interpret the user pointer as a 32bit signed int and increment by 'incr' | |
| int32_t | aw_hash64_insert (u_int64_t key, void *user_pointer, aw_hash64_t *ht) |
| Associated key with user_pointer in ht. | |
| aw_hash64_t * | aw_hash64_make (u_int32_t nentries) |
| Create closed hash table using 64bit keys. | |
| void | aw_hash64_map (aw_hash64_t *ht, void *user_ptr, void(*eval)(void *user_ptr, u_int64_t key, void *valuer_ptr)) |
| void | aw_hash64_thin (aw_hash64_t *ht, void *user_ptr, u_int32_t(*eval)(void *user_ptr, void *valuer_ptr)) |
| void | aw_hashString_clear (aw_hashString_t *ht) |
| Reset hash. | |
| void | aw_hashString_delete (const byte_t *key, aw_hashString_t *ht) |
| Delete user_pointer associated with key. | |
| void | aw_hashString_destroy (aw_hashString_t *ht) |
| Free Hash. | |
| void * | aw_hashString_fetch (const byte_t *key, const aw_hashString_t *ht) |
| Return user_pointer associated with key. | |
| int32_t | aw_hashString_insert (const byte_t *key, void *user_pointer, aw_hashString_t *ht) |
| Associated key with user_pointer in ht. | |
| aw_hashString_t * | aw_hashString_make (u_int32_t nentries) |
| Create closed hash table using 32bit keys. | |
| void | aw_hashString_map (aw_hashString_t *ht, void *user_ptr, void(*eval)(void *user_ptr, byte_t *key, void *valuer_ptr)) |
| void | aw_hashString_thin (aw_hashString_t *ht, void *user_ptr, u_int32_t(*eval)(void *user_ptr, void *valuer_ptr)) |
|
|
|
|
|
Reset hash. aw_hash32_clear
|
|
||||||||||||
|
Delete user_pointer associated with key. aw_hash32_delete
|
|
|
Free Hash. aw_hash32_destroy
|
|
||||||||||||
|
Return user_pointer associated with key. aw_hash32_fetch
|
|
||||||||||||||||
|
interpret the user pointer as a 32bit signed int and increment by 'incr' aw_hash32_incr
|
|
||||||||||||||||
|
Associated key with user_pointer in ht. aw_hash32_insert
|
|
|
Create closed hash table using 32bit keys. aw_hash32_make
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Reset hash. aw_hash64_clear
|
|
||||||||||||
|
Delete user_pointer associated with key. aw_hash64_delete
|
|
|
Free Hash. aw_hash64_destroy
|
|
||||||||||||
|
Return user_pointer associated with key. aw_hash64_fetch
|
|
||||||||||||||||
|
interpret the user pointer as a 32bit signed int and increment by 'incr' aw_hash64_incr
|
|
||||||||||||||||
|
Associated key with user_pointer in ht. aw_hash64_insert
|
|
|
Create closed hash table using 64bit keys. aw_hash64_make
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Reset hash. aw_hashString_clear
|
|
||||||||||||
|
Delete user_pointer associated with key. aw_hashString_delete
|
|
|
Free Hash. aw_hashString_destroy
|
|
||||||||||||
|
Return user_pointer associated with key. aw_hashString_fetch
|
|
||||||||||||||||
|
Associated key with user_pointer in ht. aw_hashString_insert
|
|
|
Create closed hash table using 32bit keys. aw_hashString_make
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|