commit | 67c1b7c0881ca428fb4e7fb6d1c8fd9463165c3d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Sat Sep 27 08:38:42 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:17 2015 -0800 |
tree | dcb57198fe0ab3c8de9832361e5c167b95557ba9 | |
parent | 343334a87f2ef7541635af4009ead4ea6521ada6 [diff] [blame] |
Add murmurhash3 And use it in bloom, add it to the crc tester as well. Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/lib/murmur3.h b/lib/murmur3.h new file mode 100644 index 0000000..89f6500 --- /dev/null +++ b/lib/murmur3.h
@@ -0,0 +1,8 @@ +#ifndef FIO_MURMUR3_H +#define FIO_MURMUR3_H + +#include <inttypes.h> + +uint32_t murmurhash3(const void *key, uint32_t len, uint32_t seed); + +#endif