Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\zstd_opt.h Create Date:2022-07-28 07:04:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ZSTD_insertAndFindFirstIndexHash3

Proto:U32 ZSTD_insertAndFindFirstIndexHash3(ZSTD_CCtx *zc, const BYTE *ip)

Type:U32

Parameter:

TypeParameterName
ZSTD_CCtx *zc
const BYTE *ip
217  hashTable3 = hashTable3
218  hashLog3 = hashLog3
219  base = base
220  idx = nextToUpdate3
221  target = nextToUpdate3 = ip - base
222  hash3 = ZSTD_hash3Ptr(ip, hashLog3)
224  When idx < target cycle
225  hashTable3[ZSTD_hash3Ptr(base + idx, hashLog3)] = idx
226  idx++
229  Return hashTable3[hash3]