函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\compress.c Create Date:2022-07-27 08:00:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static size_t ZSTD_count_2segments(const BYTE *ip, const BYTE *match, const BYTE *iEnd, const BYTE *mEnd, const BYTE *iStart)

返回类型:size_t

参数:

类型参数名称
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  如果matchmatchLength不等于mEnd则返回:matchLength
946  返回:matchLengthZSTD_count(ip + matchLength, iStart, iEnd)
调用者
名称描述
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
ZSTD_insertBtAndGetAllMatches-************************************** Binary Tree search
ZSTD_compressBlock_opt_extDict_generic