2D Amortized Noise Performance Evaluator
A Program to Evaluate the Performance of Amortized Noise
 All Classes Files Functions Variables Macros Pages
MurmurHash3.h
1 
2 //-----------------------------------------------------------------------------
3 // MurmurHash3 was written by Austin Appleby, and is placed in the public
4 // domain. The author hereby disclaims copyright to this source code.
5 
6 #ifndef _MURMURHASH3_H_
7 #define _MURMURHASH3_H_
8 
9 //-----------------------------------------------------------------------------
10 // Platform-specific functions and macros
11 
12 // Microsoft Visual Studio
13 
14 #if defined(_MSC_VER)
15 
16 typedef unsigned char uint8_t;
17 typedef unsigned long uint32_t;
18 typedef unsigned __int64 uint64_t;
19 
20 // Other compilers
21 
22 #else // defined(_MSC_VER)
23 
24 #include <stdint.h>
25 
26 #endif // !defined(_MSC_VER)
27 
28 //-----------------------------------------------------------------------------
29 
30 void MurmurHash3_x86_32 (const void* key, int len, uint32_t seed, void* out);
31 
32 void MurmurHash3_x86_128 (const void* key, int len, uint32_t seed, void* out);
33 
34 void MurmurHash3_x64_128 (const void* key, int len, uint32_t seed, void* out);
35 
36 //-----------------------------------------------------------------------------
37 
38 #endif // _MURMURHASH3_H_