Nilorea Library

- Main Page
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Macros
Macros | Functions
murmur3.c File Reference
`#include "murmur3.h"`
Include dependency graph for murmur3.c:

Go to the source code of this file.

## Macros

#define | FORCE_INLINE inline __attribute__((always_inline))
#define | ROTL32(x, y) rotl32(x,y)
#define | ROTL64(x, y) rotl64(x,y)
#define | BIG_CONSTANT(x) (x##LLU)

## Functions

FORCE_INLINE uint32_t | getblock (const uint32_t *p, int i)
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)

## Macro Definition Documentation

#define BIG_CONSTANT | ( |  | x | ) | (x##LLU)

Definition at line 51 of file murmur3.c.

#define FORCE_INLINE inline __attribute__((always_inline))

Definition at line 35 of file murmur3.c.

#define ROTL32 | ( |  | x,
|  |  | y
| ) |  | rotl32(x,y)

Definition at line 48 of file murmur3.c.

#define ROTL64 | ( |  | x,
|  |  | y
| ) |  | rotl64(x,y)

Definition at line 49 of file murmur3.c.

## Function Documentation

FORCE_INLINE uint32_t fmix32 | ( | uint32_t | h | ) |

Definition at line 70 of file murmur3.c.

Here is the caller graph for this function:

FORCE_INLINE uint64_t fmix64 | ( | uint64_t | k | ) |

Definition at line 83 of file murmur3.c.

FORCE_INLINE uint32_t getblock | ( | const uint32_t * | p,
|  | int | i
| ) |  |

Definition at line 59 of file murmur3.c.

Here is the caller graph for this function:

void MurmurHash3_x86_128 | ( | const void * | key,
|  | const int | len,
|  | uint32_t | seed,
|  | void * | out
| ) |  |

Definition at line 152 of file murmur3.c.

Here is the call graph for this function:

void MurmurHash3_x86_32 | ( | const void * | key,
|  | int | len,
|  | uint32_t | seed,
|  | void * | out
| ) |  |

Definition at line 96 of file murmur3.c.

Here is the call graph for this function:

Here is the caller graph for this function: