openMSX
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
LZ4::HashImpl< false, true > Struct 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< uint32_t, 1<< HASHLOG > tab = {}
 

Detailed Description

Definition at line 216 of file lz4.cc.

Member Function Documentation

◆ getIndexOnHash()

uint32_t LZ4::HashImpl< false, true >::getIndexOnHash ( uint32_t  h) const
inline

Definition at line 235 of file lz4.cc.

◆ getPosition()

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

Definition at line 241 of file lz4.cc.

◆ getPositionOnHash()

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

Definition at line 238 of file lz4.cc.

◆ hashPosition()

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

Definition at line 219 of file lz4.cc.

References Endian::BIG.

◆ putIndexOnHash()

void LZ4::HashImpl< false, true >::putIndexOnHash ( uint32_t  idx,
uint32_t  h 
)
inline

Definition at line 226 of file lz4.cc.

◆ putPosition()

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

Definition at line 232 of file lz4.cc.

◆ putPositionOnHash()

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

Definition at line 229 of file lz4.cc.

Member Data Documentation

◆ tab

std::array<uint32_t, 1 << HASHLOG> LZ4::HashImpl< false, true >::tab = {}

Definition at line 217 of file lz4.cc.


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