Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:LZ4_decompress_fast_continue

Proto:int LZ4_decompress_fast_continue(LZ4_streamDecode_t *LZ4_streamDecode, const char *source, char *dest, int originalSize)

Type:int

Parameter:

TypeParameterName
LZ4_streamDecode_t *LZ4_streamDecode
const char *source
char *dest
intoriginalSize
632  lz4sd = internal_donotuse
635  If prefixSize == 0 Then
636  assert(extDictSize == 0)
637  result = LZ4_decompress_fast(source, dest, originalSize)
638  If result <= 0 Then Return result
640  prefixSize = originalSize
641  prefixEnd = dest + originalSize
642  Else if prefixEnd == dest Then
643  If prefixSize >= 64 * KB - 1 || extDictSize == 0 Then result = LZ4_decompress_fast(source, dest, originalSize)
647  Else result = LZ4_decompress_fast_doubleDict(source, dest, originalSize, prefixSize, externalDict, extDictSize)
651  If result <= 0 Then Return result
653  prefixSize += originalSize
654  prefixEnd += originalSize
655  Else
656  extDictSize = prefixSize
657  externalDict = prefixEnd - extDictSize
658  result = LZ4_decompress_fast_extDict(source, dest, originalSize, externalDict, extDictSize)
660  If result <= 0 Then Return result
662  prefixSize = originalSize
663  prefixEnd = dest + originalSize
665  Return result