函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: : 0 if success, or an error code, which can be tested using ZSTD_isError()

函数原型:static size_t ZSTD_decodeFrameHeader(ZSTD_DCtx *dctx, const void *src, size_t headerSize)

返回类型:size_t

参数:

类型参数名称
ZSTD_DCtx *dctx
const void *src
size_theaderSize

摘要:ZSTD_decodeFrameHeader() :* `headerSize` must be the size provided by ZSTD_frameHeaderSize().

374  result等于 : 0, `fparamsPtr` is correctly filled,
375  如果ZSTD_isError() - tells if a size_t function result is an error code*@code: The function result to check for error.* Return: Non-zero iff the code is an error.则返回:result
377  如果result大于0则返回:-***************************************** Error codes handling(srcSize_wrong)
379  如果dictIDdictID不等于dictID则返回:-***************************************** Error codes handling(dictionary_wrong)
381  如果checksumFlagxxh64_reset( & xxhState, 0)
383  返回:0
调用者
名称描述
ZSTD_decompressFrame! ZSTD_decompressFrame() :*@dctx must be properly initialized
ZSTD_decompressContinue : nb of bytes generated into `dst` (necessarily <= `dstCapacity)