Home
last modified time | relevance | path

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

/linux-6.1.9/lib/lz4/ !
Dlz4_compress.c775 int LZ4_loadDict(LZ4_stream_t *LZ4_dict, in LZ4_loadDict() argument
778 LZ4_stream_t_internal *dict = &LZ4_dict->internal_donotuse; in LZ4_loadDict()
786 LZ4_resetStream(LZ4_dict); in LZ4_loadDict()
812 static void LZ4_renormDictT(LZ4_stream_t_internal *LZ4_dict, in LZ4_renormDictT() argument
815 if ((LZ4_dict->currentOffset > 0x80000000) || in LZ4_renormDictT()
816 ((uptrval)LZ4_dict->currentOffset > (uptrval)src)) { in LZ4_renormDictT()
819 U32 const delta = LZ4_dict->currentOffset - 64 * KB; in LZ4_renormDictT()
820 const BYTE *dictEnd = LZ4_dict->dictionary + LZ4_dict->dictSize; in LZ4_renormDictT()
824 if (LZ4_dict->hashTable[i] < delta) in LZ4_renormDictT()
825 LZ4_dict->hashTable[i] = 0; in LZ4_renormDictT()
[all …]