Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:! 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

Proto:ZSTD_STATIC void ZSTD_storeSeq(seqStore_t *seqStorePtr, size_t litLength, const void *literals, U32 offsetCode, size_t matchCode)

Type:void

Parameter:

TypeParameterName
seqStore_t *seqStorePtr
size_tlitLength
const void *literals
U32offsetCode
size_tmatchCode
864  ZSTD_wildcopy(lit, literals, litLength)
865  lit += litLength
868  If litLength > 0xFFFF Then
869  0 == no longLength; 1 == Lit.longLength; 2 == Match.longLength; = 1
870  longLengthPos = sequences - sequencesStart
872  litLength = litLength
875  offset = offsetCode + 1
878  If matchCode > 0xFFFF Then
879  0 == no longLength; 1 == Lit.longLength; 2 == Match.longLength; = 2
880  longLengthPos = sequences - sequencesStart
882  matchLength = matchCode
884  sequences++
Caller
NameDescribe
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