ecoli_murmurhash - Man Page

Name

ecoli_murmurhash — Murmurhash

— Hash calculation using murmurhash algorithm.  

Synopsis

Functions

static uint32_t ec_murmurhash_rotl32 (uint32_t x, int8_t r)
static uint32_t ec_murmurhash3_add32 (uint32_t h, uint32_t data)
static uint32_t ec_murmurhash3_mix32 (uint32_t h)
static uint32_t ec_murmurhash3_fmix32 (uint32_t h)
uint32_t ec_murmurhash3 (const void *key, int len, uint32_t seed)

Detailed Description

Hash calculation using murmurhash algorithm.

MurmurHash3 is a hash implementation that was written by Austin Appleby, and is placed in the public domain. The author hereby disclaims copyright to this source code.

Function Documentation

static uint32_t ec_murmurhash_rotl32 (uint32_t x, int8_t r) [inline], [static]

Hash rotation

Definition at line 22 of file ecoli_murmurhash.h.

static uint32_t ec_murmurhash3_add32 (uint32_t h, uint32_t data) [inline], [static]

Add 32-bit to the hash

Definition at line 28 of file ecoli_murmurhash.h.

static uint32_t ec_murmurhash3_mix32 (uint32_t h) [inline], [static]

Intermediate mix

Definition at line 38 of file ecoli_murmurhash.h.

static uint32_t ec_murmurhash3_fmix32 (uint32_t h) [inline], [static]

Final mix: force all bits of a hash block to avalanche

Definition at line 46 of file ecoli_murmurhash.h.

uint32_t ec_murmurhash3 (const void * key, int len, uint32_t seed)

Calculate a 32-bit murmurhash3

Parameters

key The key (the unaligned variable-length array of bytes).
len The length of the key, counting by bytes.
seed Can be any 4-byte value initialization value.

Returns

A 32-bit hash.

Author

Generated automatically by Doxygen for Libecoli from the source code.

Referenced By

The man pages ec_murmurhash3(3), ec_murmurhash3_add32(3), ec_murmurhash3_fmix32(3), ec_murmurhash3_mix32(3) and ec_murmurhash_rotl32(3) are aliases of ecoli_murmurhash(3).

Version 0.3.0 Libecoli