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

Namespaces

 farmhashcc
 
 farmhashmk
 
 farmhashna
 
 farmhashnt
 
 farmhashsa
 
 farmhashsu
 
 farmhashte
 
 farmhashuo
 
 farmhashxo
 
 inlined
 

Typedefs

typedef std::pair< uint64_t,
uint64_t > 
uint128_t
 

Functions

OIIO_HOSTDEVICE constexpr uint64_t Uint128Low64 (const uint128_t x)
 
OIIO_HOSTDEVICE constexpr uint64_t Uint128High64 (const uint128_t x)
 
OIIO_HOSTDEVICE
OIIO_CONSTEXPR14 uint128_t 
Uint128 (uint64_t lo, uint64_t hi)
 
OIIO_HOSTDEVICE
OIIO_CONSTEXPR14 void 
CopyUint128 (uint128_t &dst, const uint128_t src)
 
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)
 
OIIO_HOSTDEVICE
OIIO_CONSTEXPR14 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)
 
OIIO_HOSTDEVICE
OIIO_CONSTEXPR14 uint64_t 
Fingerprint (uint128_t x)
 
OIIO_HOSTDEVICE
OIIO_CONSTEXPR14 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 325 of file hash.h.

Function Documentation

OIIO_HOSTDEVICE OIIO_CONSTEXPR14 void farmhash::CopyUint128 ( uint128_t dst,
const uint128_t  src 
)
inline

Definition at line 339 of file hash.h.

OIIO_HOSTDEVICE OIIO_CONSTEXPR14 uint64_t farmhash::Fingerprint ( uint128_t  x)
inline

Definition at line 424 of file hash.h.

OIIO_HOSTDEVICE OIIO_CONSTEXPR14 uint64_t farmhash::Fingerprint ( uint64_t  x)
inline

Definition at line 438 of file hash.h.

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

Definition at line 1989 of file farmhash.h.

template<typename Str >
uint128_t farmhash::Fingerprint128 ( const Str &  s)
inline

Definition at line 552 of file hash.h.

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

Definition at line 2078 of file farmhash.h.

template<typename Str >
uint32_t farmhash::Fingerprint32 ( const Str &  s)
inline

Definition at line 537 of file hash.h.

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

Definition at line 2083 of file farmhash.h.

template<typename Str >
uint64_t farmhash::Fingerprint64 ( const Str &  s)
inline

Definition at line 545 of file hash.h.

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

Definition at line 2038 of file farmhash.h.

template<typename Str >
size_t farmhash::Hash ( const Str &  s)
inline

Definition at line 460 of file hash.h.

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

Definition at line 2061 of file farmhash.h.

template<typename Str >
uint128_t farmhash::Hash128 ( const Str &  s)
inline

Definition at line 518 of file hash.h.

OIIO_HOSTDEVICE OIIO_CONSTEXPR14 uint64_t farmhash::Hash128to64 ( uint128_t  x)
inline

Definition at line 400 of file hash.h.

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

Definition at line 2069 of file farmhash.h.

template<typename Str >
uint128_t farmhash::Hash128WithSeed ( const Str &  s,
uint128_t  seed 
)
inline

Definition at line 528 of file hash.h.

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

Definition at line 1109 of file farmhash.h.

template<typename Str >
uint32_t farmhash::Hash32 ( const Str &  s)
inline

Definition at line 469 of file hash.h.

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

Definition at line 1114 of file farmhash.h.

template<typename Str >
uint32_t farmhash::Hash32WithSeed ( const Str &  s,
uint32_t  seed 
)
inline

Definition at line 479 of file hash.h.

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

Definition at line 630 of file farmhash.h.

template<typename Str >
uint64_t farmhash::Hash64 ( const Str &  s)
inline

Definition at line 489 of file hash.h.

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

Definition at line 689 of file farmhash.h.

template<typename Str >
uint64_t farmhash::Hash64WithSeed ( const Str &  s,
uint64_t  seed 
)
inline

Definition at line 499 of file hash.h.

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

Definition at line 685 of file farmhash.h.

template<typename Str >
uint64_t farmhash::Hash64WithSeeds ( const Str &  s,
uint64_t  seed0,
uint64_t  seed1 
)
inline

Definition at line 509 of file hash.h.

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

Definition at line 334 of file hash.h.

OIIO_HOSTDEVICE constexpr uint64_t farmhash::Uint128High64 ( const uint128_t  x)
inline

Definition at line 330 of file hash.h.

OIIO_HOSTDEVICE constexpr uint64_t farmhash::Uint128Low64 ( const uint128_t  x)
inline

Definition at line 326 of file hash.h.