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

Typedefs

typedef std::pair< uint64_t,
uint64_t > 
uint128_t
 

Functions

uint64_t Uint128Low64 (const uint128_t x)
 
uint64_t Uint128High64 (const uint128_t x)
 
uint128_t Uint128 (uint64_t lo, uint64_t hi)
 
size_t OIIO_API Hash (const char *s, size_t len)
 
uint32_t OIIO_API Hash32 (const char *s, size_t len)
 
uint32_t OIIO_API Hash32WithSeed (const char *s, size_t len, uint32_t seed)
 
uint64_t OIIO_API Hash64 (const char *s, size_t len)
 
uint64_t OIIO_API Hash64WithSeed (const char *s, size_t len, uint64_t seed)
 
uint64_t OIIO_API Hash64WithSeeds (const char *s, size_t len, uint64_t seed0, uint64_t seed1)
 
uint128_t OIIO_API Hash128 (const char *s, size_t len)
 
uint128_t OIIO_API Hash128WithSeed (const char *s, size_t len, uint128_t seed)
 
uint64_t Hash128to64 (uint128_t x)
 
uint32_t OIIO_API Fingerprint32 (const char *s, size_t len)
 
uint64_t OIIO_API Fingerprint64 (const char *s, size_t len)
 
uint128_t OIIO_API Fingerprint128 (const char *s, size_t len)
 
uint64_t Fingerprint (uint128_t x)
 
uint64_t Fingerprint (uint64_t x)
 
template<typename Str >
size_t Hash (const Str &s)
 
template<typename Str >
uint32_t Hash32 (const Str &s)
 
template<typename Str >
uint32_t Hash32WithSeed (const Str &s, uint32_t seed)
 
template<typename Str >
uint64_t Hash64 (const Str &s)
 
template<typename Str >
uint64_t Hash64WithSeed (const Str &s, uint64_t seed)
 
template<typename Str >
uint64_t Hash64WithSeeds (const Str &s, uint64_t seed0, uint64_t seed1)
 
template<typename Str >
uint128_t Hash128 (const Str &s)
 
template<typename Str >
uint128_t Hash128WithSeed (const Str &s, uint128_t seed)
 
template<typename Str >
uint32_t Fingerprint32 (const Str &s)
 
template<typename Str >
uint64_t Fingerprint64 (const Str &s)
 
template<typename Str >
uint128_t Fingerprint128 (const Str &s)
 

Typedef Documentation

typedef std::pair<uint64_t, uint64_t> farmhash::uint128_t

Definition at line 318 of file hash.h.

Function Documentation

uint64_t farmhash::Fingerprint ( uint128_t  x)
inline

Definition at line 402 of file hash.h.

uint64_t farmhash::Fingerprint ( uint64_t  x)
inline

Definition at line 416 of file hash.h.

uint128_t OIIO_API farmhash::Fingerprint128 ( const char *  s,
size_t  len 
)
template<typename Str >
uint128_t farmhash::Fingerprint128 ( const Str &  s)
inline

Definition at line 530 of file hash.h.

uint32_t OIIO_API farmhash::Fingerprint32 ( const char *  s,
size_t  len 
)
template<typename Str >
uint32_t farmhash::Fingerprint32 ( const Str &  s)
inline

Definition at line 515 of file hash.h.

uint64_t OIIO_API farmhash::Fingerprint64 ( const char *  s,
size_t  len 
)
template<typename Str >
uint64_t farmhash::Fingerprint64 ( const Str &  s)
inline

Definition at line 523 of file hash.h.

size_t OIIO_API farmhash::Hash ( const char *  s,
size_t  len 
)
template<typename Str >
size_t farmhash::Hash ( const Str &  s)
inline

Definition at line 438 of file hash.h.

uint128_t OIIO_API farmhash::Hash128 ( const char *  s,
size_t  len 
)
template<typename Str >
uint128_t farmhash::Hash128 ( const Str &  s)
inline

Definition at line 496 of file hash.h.

uint64_t farmhash::Hash128to64 ( uint128_t  x)
inline

Definition at line 378 of file hash.h.

uint128_t OIIO_API farmhash::Hash128WithSeed ( const char *  s,
size_t  len,
uint128_t  seed 
)
template<typename Str >
uint128_t farmhash::Hash128WithSeed ( const Str &  s,
uint128_t  seed 
)
inline

Definition at line 506 of file hash.h.

uint32_t OIIO_API farmhash::Hash32 ( const char *  s,
size_t  len 
)
template<typename Str >
uint32_t farmhash::Hash32 ( const Str &  s)
inline

Definition at line 447 of file hash.h.

uint32_t OIIO_API farmhash::Hash32WithSeed ( const char *  s,
size_t  len,
uint32_t  seed 
)
template<typename Str >
uint32_t farmhash::Hash32WithSeed ( const Str &  s,
uint32_t  seed 
)
inline

Definition at line 457 of file hash.h.

uint64_t OIIO_API farmhash::Hash64 ( const char *  s,
size_t  len 
)
template<typename Str >
uint64_t farmhash::Hash64 ( const Str &  s)
inline

Definition at line 467 of file hash.h.

uint64_t OIIO_API farmhash::Hash64WithSeed ( const char *  s,
size_t  len,
uint64_t  seed 
)
template<typename Str >
uint64_t farmhash::Hash64WithSeed ( const Str &  s,
uint64_t  seed 
)
inline

Definition at line 477 of file hash.h.

uint64_t OIIO_API farmhash::Hash64WithSeeds ( const char *  s,
size_t  len,
uint64_t  seed0,
uint64_t  seed1 
)
template<typename Str >
uint64_t farmhash::Hash64WithSeeds ( const Str &  s,
uint64_t  seed0,
uint64_t  seed1 
)
inline

Definition at line 487 of file hash.h.

uint128_t farmhash::Uint128 ( uint64_t  lo,
uint64_t  hi 
)
inline

Definition at line 321 of file hash.h.

uint64_t farmhash::Uint128High64 ( const uint128_t  x)
inline

Definition at line 320 of file hash.h.

uint64_t farmhash::Uint128Low64 ( const uint128_t  x)
inline

Definition at line 319 of file hash.h.