openMSX
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
LZ4::HashImpl< true, ARCH64 > Struct Template Reference

Public Member Functions

void putIndexOnHash (uint32_t idx, uint32_t h)
 
void putPositionOnHash (const uint8_t *p, uint32_t h, const uint8_t *srcBase)
 
void putPosition (const uint8_t *p, const uint8_t *srcBase)
 
uint32_t getIndexOnHash (uint32_t h) const
 
const uint8_t * getPositionOnHash (uint32_t h, const uint8_t *srcBase) const
 
const uint8_t * getPosition (const uint8_t *p, const uint8_t *srcBase) const
 

Static Public Member Functions

static uint32_t hashPosition (const uint8_t *p)
 

Public Attributes

std::array< uint16_t, 1<<(HASHLOG+1)> tab = {}
 

Detailed Description

template<bool ARCH64>
struct LZ4::HashImpl< true, ARCH64 >

Definition at line 189 of file lz4.cc.

Member Function Documentation

◆ getIndexOnHash()

template<bool ARCH64>
uint32_t LZ4::HashImpl< true, ARCH64 >::getIndexOnHash ( uint32_t  h) const
inline

Definition at line 205 of file lz4.cc.

◆ getPosition()

template<bool ARCH64>
const uint8_t * LZ4::HashImpl< true, ARCH64 >::getPosition ( const uint8_t *  p,
const uint8_t *  srcBase 
) const
inline

Definition at line 211 of file lz4.cc.

◆ getPositionOnHash()

template<bool ARCH64>
const uint8_t * LZ4::HashImpl< true, ARCH64 >::getPositionOnHash ( uint32_t  h,
const uint8_t *  srcBase 
) const
inline

Definition at line 208 of file lz4.cc.

◆ hashPosition()

template<bool ARCH64>
static uint32_t LZ4::HashImpl< true, ARCH64 >::hashPosition ( const uint8_t *  p)
inlinestatic

Definition at line 192 of file lz4.cc.

References unalignedLoad32().

◆ putIndexOnHash()

template<bool ARCH64>
void LZ4::HashImpl< true, ARCH64 >::putIndexOnHash ( uint32_t  idx,
uint32_t  h 
)
inline

Definition at line 196 of file lz4.cc.

◆ putPosition()

template<bool ARCH64>
void LZ4::HashImpl< true, ARCH64 >::putPosition ( const uint8_t *  p,
const uint8_t *  srcBase 
)
inline

Definition at line 202 of file lz4.cc.

◆ putPositionOnHash()

template<bool ARCH64>
void LZ4::HashImpl< true, ARCH64 >::putPositionOnHash ( const uint8_t *  p,
uint32_t  h,
const uint8_t *  srcBase 
)
inline

Definition at line 199 of file lz4.cc.

Member Data Documentation

◆ tab

template<bool ARCH64>
std::array<uint16_t, 1 << (HASHLOG + 1)> LZ4::HashImpl< true, ARCH64 >::tab = {}

Definition at line 190 of file lz4.cc.


The documentation for this struct was generated from the following file: