Modules | |
XXH32 implementation | |
XXH64 implementation | |
Macros | |
#define | XXH_ASSERT(c) ((void)0) |
#define | XXH_COMPILER_GUARD(var) ((void)0) |
#define | XXH_FORCE_INLINE static |
#define | XXH_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) |
#define | XXH_HAS_BUILTIN(x) __has_builtin(x) |
#define | XXH_NO_INLINE static |
#define | XXH_rotl32(x, r) (((x) << (r)) | ((x) >> (32 - (r)))) |
#define | XXH_rotl64(x, r) (((x) << (r)) | ((x) >> (64 - (r)))) |
#define | XXH_STATIC_ASSERT(c) XXH_STATIC_ASSERT_WITH_MESSAGE((c),#c) |
#define | XXH_STATIC_ASSERT_WITH_MESSAGE(c, m) do { struct xxh_sa { char x[(c) ? 1 : -1]; }; } while(0) |
#define | ZSTD_DEPS_NEED_MALLOC |
#define | ZSTD_DEPS_NEED_MALLOC |
#define | ZSTD_DEPS_NEED_MALLOC |
#define | ZSTD_DEPS_NEED_MALLOC |
#define | ZSTD_DEPS_NEED_MALLOC |
#define | ZSTD_DEPS_NEED_MALLOC |
Typedefs | |
typedef XXH32_hash_t | xxh_u32 |
typedef unsigned char | xxh_u8 |
Enumerations | |
enum | XXH_alignment { XXH_aligned, XXH_unaligned, XXH_aligned, XXH_unaligned } |
Functions | |
static void | XXH_free (void *p) |
static int | XXH_isLittleEndian (void) |
static void * | XXH_malloc (size_t s) |
static void * | XXH_memcpy (void *dest, const void *src, size_t size) |
static xxh_u32 | XXH_read32 (const void *memPtr) |
static xxh_u32 | XXH_readBE32 (const void *ptr) |
XXH_FORCE_INLINE xxh_u32 | XXH_readLE32 (const void *ptr) |
XXH_FORCE_INLINE xxh_u32 | XXH_readLE32_align (const void *ptr, XXH_alignment align) |
static xxh_u32 | XXH_swap32 (xxh_u32 x) |
typedef XXH64_hash_t | xxh_u64 |
static xxh_u64 | XXH_read64 (const void *memPtr) |
static xxh_u64 | XXH_swap64 (xxh_u64 x) |
XXH_FORCE_INLINE xxh_u64 | XXH_readLE64 (const void *ptr) |
static xxh_u64 | XXH_readBE64 (const void *ptr) |
XXH_FORCE_INLINE xxh_u64 | XXH_readLE64_align (const void *ptr, XXH_alignment align) |
#define XXH_HAS_BUILTIN | ( | x | ) | __has_builtin(x) |
#define XXH_rotl32 | ( | x, | |
r | |||
) | (((x) << (r)) | ((x) >> (32 - (r)))) |
#define XXH_rotl64 | ( | x, | |
r | |||
) | (((x) << (r)) | ((x) >> (64 - (r)))) |
#define XXH_STATIC_ASSERT | ( | c | ) | XXH_STATIC_ASSERT_WITH_MESSAGE((c),#c) |
#define XXH_STATIC_ASSERT_WITH_MESSAGE | ( | c, | |
m | |||
) | do { struct xxh_sa { char x[(c) ? 1 : -1]; }; } while(0) |
typedef XXH32_hash_t xxh_u32 |
typedef XXH64_hash_t xxh_u64 |
enum XXH_alignment |
|
static |
XXH_FORCE_INLINE xxh_u32 XXH_readLE32 | ( | const void * | ptr | ) |
XXH_FORCE_INLINE xxh_u32 XXH_readLE32_align | ( | const void * | ptr, |
XXH_alignment | align | ||
) |
XXH_FORCE_INLINE xxh_u64 XXH_readLE64 | ( | const void * | ptr | ) |
XXH_FORCE_INLINE xxh_u64 XXH_readLE64_align | ( | const void * | ptr, |
XXH_alignment | align | ||
) |