first commit
This commit is contained in:
commit
5893b00dd2
1669 changed files with 1982740 additions and 0 deletions
26
libraries/M5Utility/test/MurmurHash3.h
Normal file
26
libraries/M5Utility/test/MurmurHash3.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
MurmurHash3 by
|
||||
https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.hpp
|
||||
|
||||
Modified by M5Stack
|
||||
*/
|
||||
//-----------------------------------------------------------------------------
|
||||
// MurmurHash3 was written by Austin Appleby, and is placed in the public
|
||||
// domain. The author hereby disclaims copyright to this source code.
|
||||
|
||||
#ifndef _MURMURHASH3_H_
|
||||
#define _MURMURHASH3_H_
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
void MurmurHash3_x86_32(const void* key, int len, uint32_t seed, void* out);
|
||||
|
||||
void MurmurHash3_x86_128(const void* key, int len, uint32_t seed, void* out);
|
||||
|
||||
void MurmurHash3_x64_128(const void* key, int len, uint32_t seed, void* out);
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#endif // _MURMURHASH3_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue