函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:! ZSTD_storeSeq() :Store a sequence (literal length, literals, offset code and match length code) into seqStore_t.`offsetCode` : distance to match, or 0 == repCode.`matchCode` : matchLength - MINMATCH

函数原型:ZSTD_STATIC void ZSTD_storeSeq(seqStore_t *seqStorePtr, size_t litLength, const void *literals, U32 offsetCode, size_t matchCode)

返回类型:void

参数:

类型参数名称
seqStore_t *seqStorePtr
size_tlitLength
const void *literals
U32offsetCode
size_tmatchCode
864  ZSTD_wildcopy(lit, literals, litLength)
865  lit加等于litLength
868  如果litLength大于0xFFFF则
869  0 == no longLength; 1 == Lit.longLength; 2 == Match.longLength; 等于1
870  longLengthPos等于sequencessequencesStart
872  litLength等于litLength
875  offset等于offsetCode加1
878  如果matchCode大于0xFFFF则
879  0 == no longLength; 1 == Lit.longLength; 2 == Match.longLength; 等于2
880  longLengthPos等于sequencessequencesStart
882  matchLength等于matchCode
884  sequences自加
调用者
名称描述
ZSTD_compressBlock_fast_generic
ZSTD_compressBlock_fast_extDict_generic
ZSTD_compressBlock_doubleFast_generic
ZSTD_compressBlock_doubleFast_extDict_generic
ZSTD_compressBlock_lazy_generic
ZSTD_compressBlock_lazy_extDict_generic
ZSTD_compressBlock_opt_generic
ZSTD_compressBlock_opt_extDict_generic