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 188 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 204 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 210 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 207 of file lz4.cc.

◆ hashPosition()

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

Definition at line 191 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 195 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 201 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 198 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 189 of file lz4.cc.


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