TeoCCl library
0.1.7
|
Macros | |
#define | get16bits(d) |
#define | hashsize(n) ((uint32_t)1<<(n)) |
#define | hashmask(n) (hashsize(n)-1) |
#define | mix(a, b, c) |
Functions | |
uint32_t | teoHashSuperFast (const uint8_t *data, int len) |
uint32_t | teoHashFast (register const uint8_t *k, register uint32_t length, register uint32_t initval) |
#define get16bits | ( | d | ) |
Referenced by teoHashSuperFast().
#define hashmask | ( | n | ) | (hashsize(n)-1) |
#define hashsize | ( | n | ) | ((uint32_t)1<<(n)) |
#define mix | ( | a, | |
b, | |||
c | |||
) |
Referenced by teoHashFast().
uint32_t teoHashFast | ( | register const uint8_t * | k, |
register uint32_t | length, | ||
register uint32_t | initval | ||
) |
References mix.
uint32_t teoHashSuperFast | ( | const uint8_t * | data, |
int | len | ||
) |
References get16bits.