xxHash 0.8.2
Extremely fast non-cryptographic hash function
Loading...
Searching...
No Matches
Modules | Macros | Typedefs | Enumerations
Implementation

Modules

 XXH32 implementation
 
 XXH64 implementation
 
 XXH3 implementation
 

Macros

#define XXH_FORCE_INLINE   static
 
#define XXH_NO_INLINE   static
 
#define XXH3_WITH_SECRET_INLINE   XXH_NO_INLINE
 
#define XXH_ASSERT(c)   XXH_ASSUME(c)
 
#define XXH_STATIC_ASSERT_WITH_MESSAGE(c, m)   do { struct xxh_sa { char x[(c) ? 1 : -1]; }; } while(0)
 
#define XXH_STATIC_ASSERT(c)   XXH_STATIC_ASSERT_WITH_MESSAGE((c),#c)
 
#define XXH_COMPILER_GUARD(var)   ((void)0)
 
#define XXH_COMPILER_GUARD_CLANG_NEON(var)   ((void)0)
 
#define XXH_GCC_VERSION   (__GNUC__ * 100 + __GNUC_MINOR__)
 
#define XXH_HAS_BUILTIN(x)   0
 
#define XXH_UNREACHABLE()
 
#define XXH_ASSUME(c)   if (!(c)) { XXH_UNREACHABLE(); }
 
#define XXH_rotl32(x, r)   (((x) << (r)) | ((x) >> (32 - (r))))
 
#define XXH_rotl64(x, r)   (((x) << (r)) | ((x) >> (64 - (r))))
 

Typedefs

typedef unsigned char xxh_u8
 
typedef XXH32_hash_t xxh_u32
 

Enumerations

enum  XXH_alignment { XXH_aligned , XXH_unaligned }
 
typedef XXH64_hash_t xxh_u64
 

Detailed Description

Enumeration Type Documentation

◆ XXH_alignment

Enumerator
XXH_aligned 

Aligned

XXH_unaligned 

Possibly unaligned