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 330 of file hash.h.

Function Documentation

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

Definition at line 344 of file hash.h.

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

Definition at line 429 of file hash.h.

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

Definition at line 443 of file hash.h.

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

Definition at line 2050 of file farmhash.h.

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

Definition at line 557 of file hash.h.

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

Definition at line 2139 of file farmhash.h.

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

Definition at line 542 of file hash.h.

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

Definition at line 2144 of file farmhash.h.

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

Definition at line 550 of file hash.h.

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

Definition at line 2099 of file farmhash.h.

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

Definition at line 465 of file hash.h.

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

Definition at line 2122 of file farmhash.h.

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

Definition at line 523 of file hash.h.

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

Definition at line 405 of file hash.h.

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

Definition at line 2130 of file farmhash.h.

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

Definition at line 533 of file hash.h.

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

Definition at line 1170 of file farmhash.h.

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

Definition at line 474 of file hash.h.

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

Definition at line 1175 of file farmhash.h.

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

Definition at line 484 of file hash.h.

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

Definition at line 691 of file farmhash.h.

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

Definition at line 494 of file hash.h.

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

Definition at line 750 of file farmhash.h.

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

Definition at line 504 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 746 of file farmhash.h.

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

Definition at line 514 of file hash.h.

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

Definition at line 339 of file hash.h.

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

Definition at line 335 of file hash.h.

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

Definition at line 331 of file hash.h.