Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ZSTD_BtFindBestMatch() : Tree updater, providing best match

Proto:static size_t ZSTD_BtFindBestMatch(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLimit, size_t *offsetPtr, const U32 maxNbAttempts, const U32 mls)

Type:size_t

Parameter:

TypeParameterName
ZSTD_CCtx *zc
const BYTE *constip
const BYTE *constiLimit
size_t *offsetPtr
const U32maxNbAttempts
const U32mls
1737  If ip < base + nextToUpdate Then Return 0
1739  ZSTD_updateTree(zc, ip, iLimit, maxNbAttempts, mls)
1740  Return ZSTD_insertBtAndFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, mls, 0)
Caller
NameDescribe
ZSTD_BtFindBestMatch_selectMLS