Macros | Functions
XXH32 implementation
Collaboration diagram for XXH32 implementation:

Macros

#define XXH_get32bits(p)   XXH_readLE32_align(p, align)
 
#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
 

Functions

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

Detailed Description

Macro Definition Documentation

◆ XXH_get32bits

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

Definition at line 6871 of file zstd.c.

◆ XXH_PRIME32_1

#define XXH_PRIME32_1   0x9E3779B1U

0b10011110001101110111100110110001

Definition at line 6782 of file zstd.c.

◆ XXH_PRIME32_2

#define XXH_PRIME32_2   0x85EBCA77U

0b10000101111010111100101001110111

Definition at line 6783 of file zstd.c.

◆ XXH_PRIME32_3

#define XXH_PRIME32_3   0xC2B2AE3DU

0b11000010101100101010111000111101

Definition at line 6784 of file zstd.c.

◆ XXH_PRIME32_4

#define XXH_PRIME32_4   0x27D4EB2FU

0b00100111110101001110101100101111

Definition at line 6785 of file zstd.c.

◆ XXH_PRIME32_5

#define XXH_PRIME32_5   0x165667B1U

0b00010110010101100110011110110001

Definition at line 6786 of file zstd.c.

Function Documentation

◆ XXH32_avalanche()

static xxh_u32 XXH32_avalanche ( xxh_u32  h32)
static

Definition at line 6861 of file zstd.c.

◆ XXH32_endian_align()

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

Definition at line 6977 of file zstd.c.

◆ XXH32_finalize()

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

Definition at line 6888 of file zstd.c.

◆ XXH32_round()

static xxh_u32 XXH32_round ( xxh_u32  acc,
xxh_u32  input 
)
static

Definition at line 6807 of file zstd.c.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50