Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:LZ4_compressHC_continue_generic

Proto:static int LZ4_compressHC_continue_generic(LZ4_streamHC_t *LZ4_streamHCPtr, const char *source, char *dest, int inputSize, int maxOutputSize, limitedOutput_directive limit)

Type:int

Parameter:

TypeParameterName
LZ4_streamHC_t *LZ4_streamHCPtr
const char *source
char *dest
intinputSize
intmaxOutputSize
limitedOutput_directivelimit
675  ctxPtr = internal_donotuse
678  If (All index relative to this position == NULL) Then HC Compression
682  If xt block to continue on current prefix - All index relative to this position > 2 * GB Then
683  dictSize = xt block to continue on current prefix - All index relative to this position - low that point, need extDict
685  If dictSize > 64 * KB Then dictSize = 64 * KB
687  LZ4_loadDictHC(LZ4_streamHCPtr, (constchar * )(xt block to continue on current prefix ) - dictSize, (int)dictSize)
692  If source != xt block to continue on current prefix Then mpression
697  sourceEnd = source + inputSize
698  dictBegin = alternate base for extDict + low that point, no more dict
699  dictEnd = alternate base for extDict + low that point, need extDict
701  If sourceEnd > dictBegin && source < dictEnd Then
703  If sourceEnd > dictEnd Then sourceEnd = dictEnd
712  Return LZ4HC_compress_generic(ctxPtr, source, dest, inputSize, maxOutputSize, compressionLevel, limit)
Caller
NameDescribe
LZ4_compress_HC_continue