HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
farmhash::inlined Namespace Reference

Functions

STATIC_INLINE uint64_t Fetch64 (const char *p)
 
STATIC_INLINE uint32_t Fetch32 (const char *p)
 
STATIC_INLINE uint32_t Bswap32 (uint32_t val)
 
STATIC_INLINE uint64_t Bswap64 (uint64_t val)
 
STATIC_INLINE uint32_t BasicRotate32 (uint32_t val, int shift)
 
STATIC_INLINE uint64_t BasicRotate64 (uint64_t val, int shift)
 
STATIC_INLINE uint32_t Rotate32 (uint32_t val, int shift)
 
STATIC_INLINE uint64_t Rotate64 (uint64_t val, int shift)
 
STATIC_INLINE uint32_t fmix (uint32_t h)
 
STATIC_INLINE uint32_t Mur (uint32_t a, uint32_t h)
 
template<typename T >
STATIC_INLINEDebugTweak (T x)
 
template<>
STATIC_INLINE uint128_t DebugTweak (uint128_t x)
 
STATIC_INLINE uint32_t Hash32 (const char *s, size_t len)
 
STATIC_INLINE uint32_t Hash32WithSeed (const char *s, size_t len, uint32_t seed)
 
STATIC_INLINE uint64_t Hash64 (const char *s, size_t len)
 
STATIC_INLINE size_t Hash (const char *s, size_t len)
 
STATIC_INLINE uint64_t Hash64WithSeed (const char *s, size_t len, uint64_t seed)
 
STATIC_INLINE uint64_t Hash64WithSeeds (const char *s, size_t len, uint64_t seed0, uint64_t seed1)
 
STATIC_INLINE uint128_t Hash128 (const char *s, size_t len)
 
STATIC_INLINE uint128_t Hash128WithSeed (const char *s, size_t len, uint128_t seed)
 
STATIC_INLINE uint32_t Fingerprint32 (const char *s, size_t len)
 
STATIC_INLINE uint64_t Fingerprint64 (const char *s, size_t len)
 
STATIC_INLINE uint128_t Fingerprint128 (const char *s, size_t len)
 

Function Documentation

STATIC_INLINE uint32_t farmhash::inlined::BasicRotate32 ( uint32_t  val,
int  shift 
)

Definition at line 290 of file farmhash.h.

STATIC_INLINE uint64_t farmhash::inlined::BasicRotate64 ( uint64_t  val,
int  shift 
)

Definition at line 295 of file farmhash.h.

STATIC_INLINE uint32_t farmhash::inlined::Bswap32 ( uint32_t  val)

Definition at line 285 of file farmhash.h.

STATIC_INLINE uint64_t farmhash::inlined::Bswap64 ( uint64_t  val)

Definition at line 286 of file farmhash.h.

template<typename T >
STATIC_INLINE T farmhash::inlined::DebugTweak ( x)

Definition at line 497 of file farmhash.h.

template<>
STATIC_INLINE uint128_t farmhash::inlined::DebugTweak ( uint128_t  x)

Definition at line 508 of file farmhash.h.

STATIC_INLINE uint32_t farmhash::inlined::Fetch32 ( const char *  p)

Definition at line 234 of file farmhash.h.

STATIC_INLINE uint64_t farmhash::inlined::Fetch64 ( const char *  p)

Definition at line 228 of file farmhash.h.

STATIC_INLINE uint128_t farmhash::inlined::Fingerprint128 ( const char *  s,
size_t  len 
)

Definition at line 2088 of file farmhash.h.

STATIC_INLINE uint32_t farmhash::inlined::Fingerprint32 ( const char *  s,
size_t  len 
)

Definition at line 2078 of file farmhash.h.

STATIC_INLINE uint64_t farmhash::inlined::Fingerprint64 ( const char *  s,
size_t  len 
)

Definition at line 2083 of file farmhash.h.

STATIC_INLINE uint32_t farmhash::inlined::fmix ( uint32_t  h)

Definition at line 477 of file farmhash.h.

STATIC_INLINE size_t farmhash::inlined::Hash ( const char *  s,
size_t  len 
)

Definition at line 2038 of file farmhash.h.

STATIC_INLINE uint128_t farmhash::inlined::Hash128 ( const char *  s,
size_t  len 
)

Definition at line 2061 of file farmhash.h.

STATIC_INLINE uint128_t farmhash::inlined::Hash128WithSeed ( const char *  s,
size_t  len,
uint128_t  seed 
)

Definition at line 2069 of file farmhash.h.

STATIC_INLINE uint32_t farmhash::inlined::Hash32 ( const char *  s,
size_t  len 
)

Definition at line 2004 of file farmhash.h.

STATIC_INLINE uint32_t farmhash::inlined::Hash32WithSeed ( const char *  s,
size_t  len,
uint32_t  seed 
)

Definition at line 2016 of file farmhash.h.

STATIC_INLINE uint64_t farmhash::inlined::Hash64 ( const char *  s,
size_t  len 
)

Definition at line 2028 of file farmhash.h.

STATIC_INLINE uint64_t farmhash::inlined::Hash64WithSeed ( const char *  s,
size_t  len,
uint64_t  seed 
)

Definition at line 2046 of file farmhash.h.

STATIC_INLINE uint64_t farmhash::inlined::Hash64WithSeeds ( const char *  s,
size_t  len,
uint64_t  seed0,
uint64_t  seed1 
)

Definition at line 2054 of file farmhash.h.

STATIC_INLINE uint32_t farmhash::inlined::Mur ( uint32_t  a,
uint32_t  h 
)

Definition at line 487 of file farmhash.h.

STATIC_INLINE uint32_t farmhash::inlined::Rotate32 ( uint32_t  val,
int  shift 
)

Definition at line 316 of file farmhash.h.

STATIC_INLINE uint64_t farmhash::inlined::Rotate64 ( uint64_t  val,
int  shift 
)

Definition at line 319 of file farmhash.h.