Little annotations for the murmur hash function.

This commit is contained in:
Celine Mercier
2016-04-21 13:53:29 +02:00
parent 1941a3785e
commit e69f44ae3d
2 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,7 @@
// 1. It will not work incrementally.
// 2. It will not produce the same results on little-endian and big-endian
// machines.
// machines. ->TODO
unsigned int murmurhash2(const void * key, int len, const unsigned int seed)
{

View File

@ -2,6 +2,10 @@
#ifndef _BLOOM_MURMURHASH2
#define _BLOOM_MURMURHASH2
/**
* @brief Generates and returns a hash code from a byte array.
*/
unsigned int murmurhash2(const void * key, int len, const unsigned int seed);
#endif