Mercurial > repos > rliterman > csp2
comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/mash/MurmurHash3.h @ 69:33d812a61356
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 17:55:14 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
67:0e9998148a16 | 69:33d812a61356 |
---|---|
1 //----------------------------------------------------------------------------- | |
2 // MurmurHash3 was written by Austin Appleby, and is placed in the public | |
3 // domain. The author hereby disclaims copyright to this source code. | |
4 | |
5 #ifndef _MURMURHASH3_H_ | |
6 #define _MURMURHASH3_H_ | |
7 | |
8 //----------------------------------------------------------------------------- | |
9 // Platform-specific functions and macros | |
10 | |
11 // Microsoft Visual Studio | |
12 | |
13 #if defined(_MSC_VER) && (_MSC_VER < 1600) | |
14 | |
15 typedef unsigned char uint8_t; | |
16 typedef unsigned int uint32_t; | |
17 typedef unsigned __int64 uint64_t; | |
18 | |
19 // Other compilers | |
20 | |
21 #else // defined(_MSC_VER) | |
22 | |
23 #include <stdint.h> | |
24 | |
25 #endif // !defined(_MSC_VER) | |
26 | |
27 //----------------------------------------------------------------------------- | |
28 | |
29 void MurmurHash3_x86_32 ( const void * key, int len, uint32_t seed, void * out ); | |
30 | |
31 void MurmurHash3_x86_128 ( const void * key, int len, uint32_t seed, void * out ); | |
32 | |
33 void MurmurHash3_x64_128 ( const void * key, int len, uint32_t seed, void * out ); | |
34 | |
35 //----------------------------------------------------------------------------- | |
36 | |
37 #endif // _MURMURHASH3_H_ |