Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ZSTD_seqToCodes

Proto:void ZSTD_seqToCodes(const seqStore_t *seqStorePtr)

Type:void

Parameter:

TypeParameterName
const seqStore_t *seqStorePtr
565  LL_deltaCode = 19
566  ML_deltaCode = 36
567  sequences = sequencesStart
568  llCodeTable = llCode
569  ofCodeTable = ofCode
570  mlCodeTable = mlCode
571  nbSeq = sequences - sequencesStart
573  When u < nbSeq cycle
574  llv = litLength
575  mlv = matchLength
576  llCodeTable[u] = If llv > 63 Then ====== common function ====== + LL_deltaCode Else LL_Code[llv]
577  ofCodeTable[u] = ====== common function ======
578  mlCodeTable[u] = If mlv > 127 Then ====== common function ====== + ML_deltaCode Else ML_Code[mlv]
580  If 0 == no longLength; 1 == Lit.longLength; 2 == Match.longLength; == 1 Then llCodeTable[longLengthPos] = MaxLL
582  If 0 == no longLength; 1 == Lit.longLength; 2 == Match.longLength; == 2 Then mlCodeTable[longLengthPos] = MaxML
Caller
NameDescribe
ZSTD_compressSequences_internal