]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/MurmurHash2.h
5758b860398dba7c1740ad86b76f709f299452e9
1 /* SPDX-License-Identifier: LicenseRef-murmurhash2-public-domain */
2 //-----------------------------------------------------------------------------
3 // MurmurHash2 was written by Austin Appleby, and is placed in the public
4 // domain. The author hereby disclaims copyright to this source code.
8 //-----------------------------------------------------------------------------
9 // Platform-specific functions and macros
11 // Microsoft Visual Studio
15 typedef unsigned char uint8_t;
16 typedef unsigned long uint32_t;
17 typedef unsigned __int64
uint64_t;
21 #else // defined(_MSC_VER)
25 #endif // !defined(_MSC_VER)
27 //-----------------------------------------------------------------------------
29 uint32_t MurmurHash2 ( const void * key
, int len
, uint32_t seed
);
31 //-----------------------------------------------------------------------------