Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ZSTD_count_2segments() :* can count match length with `ip` & `match` in 2 different segments.* convention : on reaching mEnd, match count continue starting from iStart

Proto:static size_t ZSTD_count_2segments(const BYTE *ip, const BYTE *match, const BYTE *iEnd, const BYTE *mEnd, const BYTE *iStart)

Type:size_t

Parameter:

TypeParameterName
const BYTE *ip
const BYTE *match
const BYTE *iEnd
const BYTE *mEnd
const BYTE *iStart
942  vEnd = -************************************** shared macros(ip + (mEnd - match), iEnd)
943  matchLength = ZSTD_count(ip, match, vEnd)
944  If match + matchLength != mEnd Then Return matchLength
946  Return matchLength + ZSTD_count(ip + matchLength, iStart, iEnd)
Caller
NameDescribe
ZSTD_compressBlock_fast_extDict_generic
ZSTD_compressBlock_doubleFast_extDict_generic
ZSTD_insertBt1 : nb of positions added
ZSTD_insertBtAndFindBestMatch
ZSTD_HcFindBestMatch_generic
ZSTD_compressBlock_lazy_extDict_generic