Conscience Core
Macros | Functions
XXH32 implementation

Macros

#define XXH_PRIME32_1   0x9E3779B1U
 
#define XXH_PRIME32_2   0x85EBCA77U
 
#define XXH_PRIME32_3   0xC2B2AE3DU
 
#define XXH_PRIME32_4   0x27D4EB2FU
 
#define XXH_PRIME32_5   0x165667B1U
 
#define XXH_get32bits(p)   XXH_readLE32_align(p, align)
 

Functions

static xxh_u32 XXH32_round (xxh_u32 acc, xxh_u32 input)
 
static xxh_u32 XXH32_avalanche (xxh_u32 h32)
 
static xxh_u32 XXH32_finalize (xxh_u32 h32, const xxh_u8 *ptr, size_t len, XXH_alignment align)
 
XXH_FORCE_INLINE xxh_u32 XXH32_endian_align (const xxh_u8 *input, size_t len, xxh_u32 seed, XXH_alignment align)
 

Detailed Description

Macro Definition Documentation

◆ XXH_get32bits

#define XXH_get32bits (   p)    XXH_readLE32_align(p, align)

◆ XXH_PRIME32_1

#define XXH_PRIME32_1   0x9E3779B1U

0b10011110001101110111100110110001

◆ XXH_PRIME32_2

#define XXH_PRIME32_2   0x85EBCA77U

0b10000101111010111100101001110111

◆ XXH_PRIME32_3

#define XXH_PRIME32_3   0xC2B2AE3DU

0b11000010101100101010111000111101

◆ XXH_PRIME32_4

#define XXH_PRIME32_4   0x27D4EB2FU

0b00100111110101001110101100101111

◆ XXH_PRIME32_5

#define XXH_PRIME32_5   0x165667B1U

0b00010110010101100110011110110001

Function Documentation

◆ XXH32_avalanche()

static xxh_u32 XXH32_avalanche ( xxh_u32  h32)
static

◆ XXH32_endian_align()

XXH_FORCE_INLINE xxh_u32 XXH32_endian_align ( const xxh_u8 input,
size_t  len,
xxh_u32  seed,
XXH_alignment  align 
)

◆ XXH32_finalize()

static xxh_u32 XXH32_finalize ( xxh_u32  h32,
const xxh_u8 ptr,
size_t  len,
XXH_alignment  align 
)
static

◆ XXH32_round()

static xxh_u32 XXH32_round ( xxh_u32  acc,
xxh_u32  input 
)
static