函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:*_continue() :* These decoding functions allow decompression of multiple blocks* in "streaming" mode

函数原型:int LZ4_decompress_safe_continue(LZ4_streamDecode_t *LZ4_streamDecode, const char *source, char *dest, int compressedSize, int maxOutputSize)

返回类型:int

参数:

类型参数名称
LZ4_streamDecode_t *LZ4_streamDecode
const char *source
char *dest
intcompressedSize
intmaxOutputSize
579  lz4sd等于internal_donotuse
583  如果prefixSize恒等于0则
585  assert(extDictSize == 0)
586  result等于LZ4_decompress_safe(source, dest, compressedSize, maxOutputSize)
588  如果result小于等于0则返回:result
590  prefixSize等于result
591  prefixEnd等于destresult
592  否则如果prefixEnd恒等于dest
594  如果prefixSize大于等于64乘KB减1则result等于===== Instantiate a few more decoding cases, used more than once. =====
597  否则如果extDictSize恒等于0则result等于LZ4_decompress_safe_withSmallPrefix(source, dest, compressedSize, maxOutputSize, prefixSize)
601  否则result等于The "double dictionary" mode, for use with e.g. ring buffers: the first part* of the dictionary is passed as prefix, and the second via dictStart + dictSize.* These routines are used only once, in LZ4_decompress_*_continue().
606  如果result小于等于0则返回:result
608  prefixSize加等于result
609  prefixEnd加等于result
610  否则
615  extDictSize等于prefixSize
616  externalDict等于prefixEndextDictSize
617  result等于LZ4_decompress_safe_forceExtDict(source, dest, compressedSize, maxOutputSize, externalDict, extDictSize)
620  如果result小于等于0则返回:result
622  prefixSize等于result
623  prefixEnd等于destresult
626  返回:result