Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Namespaces | Macros | Functions
MurmurHash2.cxx File Reference

Implementation of MurmurHash2. More...

#include "CxxUtils/MurmurHash2.h"
Include dependency graph for MurmurHash2.cxx:

Go to the source code of this file.

Namespaces

 CxxUtils
 

Macros

#define BIG_CONSTANT(x)   (x##LLU)
 
#define MIX(h, k, m)   { k *= m; k ^= k >> r; k *= m; h *= m; h ^= k; }
 

Functions

uint32_t CxxUtils::MurmurHash2 (const void *key, int len, uint32_t seed)
 
uint64_t CxxUtils::MurmurHash64A (const void *key, int len, uint64_t seed)
 
uint64_t CxxUtils::MurmurHash64B (const void *key, int len, uint64_t seed)
 
uint32_t CxxUtils::MurmurHash2A (const void *key, int len, uint32_t seed)
 
uint32_t CxxUtils::MurmurHashNeutral2 (const void *key, int len, uint32_t seed)
 
uint32_t CxxUtils::MurmurHashAligned2 (const void *key, int len, uint32_t seed)
 

Detailed Description

Implementation of MurmurHash2.

Author
Austin Appleby, adapted for ATLAS by scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Feb, 2018 From https://github.com/aappleby/smhasher

Definition in file MurmurHash2.cxx.

Macro Definition Documentation

◆ BIG_CONSTANT

#define BIG_CONSTANT (   x)    (x##LLU)

Definition at line 35 of file MurmurHash2.cxx.

◆ MIX

#define MIX (   h,
  k,
 
)    { k *= m; k ^= k >> r; k *= m; h *= m; h ^= k; }

Definition at line 322 of file MurmurHash2.cxx.