| 
    Tinyhash
    
   This is a library containing multiple C implementations of hashmap. 
   | 
 
#include <stdint.h>#include <stdlib.h>
Go to the source code of this file.
Macros | |
| #define | TH_HASH_INITIAL_VALUE 2166136261u | 
| Initial value for hash function.   | |
| #define | TH_HASH_MUL_VALUE 16777619 | 
| Multiplier for hash function.   | |
Functions | |
| uint32_t | th_hash (uint8_t *bytes, size_t size) | 
| Compute an unsigned int from bytes.   | |
| #define TH_HASH_INITIAL_VALUE 2166136261u | 
| #define TH_HASH_MUL_VALUE 16777619 | 
| uint32_t th_hash | ( | uint8_t * | bytes, | 
| size_t | size ) | 
Compute an unsigned int from bytes.
| bytes | |
| size | 
Definition at line 16 of file hash.c.
References TH_HASH_INITIAL_VALUE, and TH_HASH_MUL_VALUE.
Referenced by th_key_create().
