Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\lz4\lz4hc_compress.c Create Date:2022-07-28 07:00:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Update chains up to ip (excluded)

Proto:static inline __attribute__((__always_inline__)) void LZ4HC_Insert(LZ4HC_CCtx_internal *hc4, const BYTE *ip)

Type:void

Parameter:

TypeParameterName
LZ4HC_CCtx_internal *hc4
const BYTE *ip
77  chainTable = chainTable
78  hashTable = hashTable
79  base = All index relative to this position
80  target = ip - base
81  idx = dex from which to continue dict update
83  When idx < target cycle
84  h = LZ4HC_hashPtr(base + idx)
85  delta = idx - hashTable[h]
87  If delta > MAX_DISTANCE Then delta = MAX_DISTANCE
90  aster (idx) = delta
92  hashTable[h] = idx
93  idx++
96  dex from which to continue dict update = target
Caller
NameDescribe
LZ4HC_InsertAndFindBestMatch
LZ4HC_InsertAndGetWiderMatch
LZ4_loadDictHC
LZ4HC_setExternalDictmpression