Home
last modified time | relevance | path

Searched refs:hashTable (Results 1 – 4 of 4) sorted by relevance

/lz4-3.4.0-2.7.6/lib/
Dlz4.c730 case byPtr: { const BYTE** hashTable = (const BYTE**)tableBase; hashTable[h] = NULL; return; } in LZ4_clearHash() local
731 case byU32: { U32* hashTable = (U32*) tableBase; hashTable[h] = 0; return; } in LZ4_clearHash() local
732 case byU16: { U16* hashTable = (U16*) tableBase; hashTable[h] = 0; return; } in LZ4_clearHash() local
743 case byU32: { U32* hashTable = (U32*) tableBase; hashTable[h] = idx; return; } in LZ4_putIndexOnHash() local
744 …case byU16: { U16* hashTable = (U16*) tableBase; assert(idx < 65536); hashTable[h] = (U16)idx; ret… in LZ4_putIndexOnHash() local
755 case byPtr: { const BYTE** hashTable = (const BYTE**)tableBase; hashTable[h] = p; return; } in LZ4_putPositionOnHash() local
756 case byU32: { U32* hashTable = (U32*) tableBase; hashTable[h] = (U32)(p-srcBase); return; } in LZ4_putPositionOnHash() local
757 case byU16: { U16* hashTable = (U16*) tableBase; hashTable[h] = (U16)(p-srcBase); return; } in LZ4_putPositionOnHash() local
777 const U32* const hashTable = (const U32*) tableBase; in LZ4_getIndexOnHash() local
779 return hashTable[h]; in LZ4_getIndexOnHash()
[all …]
Dlz4hc.c96 MEM_INIT(hc4->hashTable, 0, sizeof(hc4->hashTable)); in LZ4HC_clearTables()
121 U32* const hashTable = hc4->hashTable; in LZ4HC_Insert() local
128 size_t delta = idx - hashTable[h]; in LZ4HC_Insert()
131 hashTable[h] = idx; in LZ4HC_Insert()
251 U32* const HashTable = hc4->hashTable; in LZ4HC_InsertAndGetWiderMatch()
417 U32 dictMatchIndex = dictCtx->hashTable[LZ4HC_hashPtr(ip)]; in LZ4HC_InsertAndGetWiderMatch()
Dlz4hc.h204 LZ4_u32 hashTable[LZ4HC_HASHTABLESIZE]; member
Dlz4.h597 LZ4_u32 hashTable[LZ4_HASH_SIZE_U32]; member