#include "murmur3.h"
Go to the source code of this file.
Defines |
#define | FORCE_INLINE static inline __attribute__((always_inline)) |
#define | ROTL32(x, y) rotl32(x,y) |
#define | ROTL64(x, y) rotl64(x,y) |
#define | BIG_CONSTANT(x) (x##LLU) |
#define | getblock(p, i) (p[i]) |
Functions |
uint32_t | rotl32 (uint32_t x, int8_t r) |
uint64_t | rotl64 (uint64_t x, int8_t r) |
FORCE_INLINE uint32_t | fmix32 (uint32_t h) |
FORCE_INLINE uint64_t | fmix64 (uint64_t k) |
void | MurmurHash3_x86_32 (const void *key, int len, uint32_t seed, void *out) |
void | MurmurHash3_x86_128 (const void *key, const int len, uint32_t seed, void *out) |
void | MurmurHash3_x64_128 (const void *key, const int len, const uint32_t seed, void *out) |
Define Documentation
#define BIG_CONSTANT |
( |
|
x | ) |
(x##LLU) |
#define FORCE_INLINE static inline __attribute__((always_inline)) |
#define getblock |
( |
|
p, |
|
|
|
i |
|
) |
| (p[i]) |
#define ROTL32 |
( |
|
x, |
|
|
|
y |
|
) |
| rotl32(x,y) |
#define ROTL64 |
( |
|
x, |
|
|
|
y |
|
) |
| rotl64(x,y) |
Function Documentation
void MurmurHash3_x64_128 |
( |
const void * |
key, |
|
|
const int |
len, |
|
|
const uint32_t |
seed, |
|
|
void * |
out |
|
) |
| |
void MurmurHash3_x86_128 |
( |
const void * |
key, |
|
|
const int |
len, |
|
|
uint32_t |
seed, |
|
|
void * |
out |
|
) |
| |
void MurmurHash3_x86_32 |
( |
const void * |
key, |
|
|
int |
len, |
|
|
uint32_t |
seed, |
|
|
void * |
out |
|
) |
| |