函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: : decompressed size of the single frame pointed to be `src` if known, otherwise

函数原型:unsigned long long ZSTD_getFrameContentSize(const void *src, size_t srcSize)

返回类型:unsigned long long

参数:

类型参数名称
const void *src
size_tsrcSize

摘要:ZSTD_getFrameContentSize() :* compatible with legacy mode* - ZSTD_CONTENTSIZE_UNKNOWN if the size cannot be determined* - ZSTD_CONTENTSIZE_ERROR if an error occurred (e.g. invalid magic number, srcSize too small)

301  如果 : 0, `fparamsPtr` is correctly filled,不等于0则返回:ZSTD_CONTENTSIZE_ERROR
303  如果windowSize恒等于0则
305  返回:0
306  否则如果frameContentSize不等于0则
307  返回:frameContentSize
308  否则
309  返回:ZSTD_CONTENTSIZE_UNKNOWN
调用者
名称描述
ZSTD_findDecompressedSize : decompressed size of the frames contained