gfx/angle/src/third_party/murmurhash/MurmurHash3.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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.
     5 #ifndef _MURMURHASH3_H_
     6 #define _MURMURHASH3_H_
     8 //-----------------------------------------------------------------------------
     9 // Platform-specific functions and macros
    11 // Microsoft Visual Studio
    13 #if defined(_MSC_VER)
    15 typedef unsigned char uint8_t;
    16 typedef unsigned long uint32_t;
    17 typedef unsigned __int64 uint64_t;
    19 // Other compilers
    21 #else	// defined(_MSC_VER)
    23 #include <stdint.h>
    25 #endif // !defined(_MSC_VER)
    27 //-----------------------------------------------------------------------------
    29 void MurmurHash3_x86_32  ( const void * key, int len, uint32_t seed, void * out );
    31 void MurmurHash3_x86_128 ( const void * key, int len, uint32_t seed, void * out );
    33 void MurmurHash3_x64_128 ( const void * key, int len, uint32_t seed, void * out );
    35 //-----------------------------------------------------------------------------
    37 #endif // _MURMURHASH3_H_

mercurial