函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ZSTD_decompress_insertDictionary

函数原型:static size_t ZSTD_decompress_insertDictionary(ZSTD_DCtx *dctx, const void *dict, size_t dictSize)

返回类型:size_t

参数:

类型参数名称
ZSTD_DCtx *dctx
const void *dict
size_tdictSize
1945  如果dictSize小于8则返回:ZSTD_refDictContent(dctx, dict, dictSize)
1948  magic等于ZSTD_readLE32(dict)
1949  如果magic不等于v0.7+
1953  dictID等于ZSTD_readLE32((constchar * )dict + 4)
1957  eSize等于 : size of entropy tables read
1958  如果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.则返回:-***************************************** Error codes handling(dictionary_corrupted)
1960  dict等于dicteSize
1961  dictSize减等于eSize
1963  litEntropy等于fseEntropy等于1
1966  返回:ZSTD_refDictContent(dctx, dict, dictSize)
调用者
名称描述
ZSTD_decompressBegin_usingDict