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

Functions

OIIO_HOSTDEVICE void bjmix (uint32_t &a, uint32_t &b, uint32_t &c)
 
OIIO_HOSTDEVICE uint32_t bjfinal (uint32_t a, uint32_t b, uint32_t c=0xdeadbeef)
 
uint64_t bjfinal64 (uint64_t h0, uint64_t h1, uint64_t h2, uint64_t h3)
 
uint32_t OIIO_API hashlittle (const void *key, size_t length, uint32_t seed=1771)
 
uint32_t OIIO_API hashword (const uint32_t *key, size_t nwords, uint32_t seed=1771)
 
size_t strhash (const char *s)
 
size_t strhash (string_view s)
 

Function Documentation

OIIO_HOSTDEVICE uint32_t bjhash::bjfinal ( uint32_t  a,
uint32_t  b,
uint32_t  c = 0xdeadbeef 
)
inline

Definition at line 185 of file hash.h.

uint64_t bjhash::bjfinal64 ( uint64_t  h0,
uint64_t  h1,
uint64_t  h2,
uint64_t  h3 
)
inline

Definition at line 199 of file hash.h.

OIIO_HOSTDEVICE void bjhash::bjmix ( uint32_t &  a,
uint32_t &  b,
uint32_t &  c 
)
inline

Definition at line 173 of file hash.h.

uint32_t OIIO_API bjhash::hashlittle ( const void key,
size_t  length,
uint32_t  seed = 1771 
)
uint32_t OIIO_API bjhash::hashword ( const uint32_t *  key,
size_t  nwords,
uint32_t  seed = 1771 
)
size_t bjhash::strhash ( const char *  s)
inline

Definition at line 228 of file hash.h.

size_t bjhash::strhash ( string_view  s)
inline

Definition at line 249 of file hash.h.