函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:! ZSTD_getDictID_fromDict() :* Provides the dictID stored within dictionary.* if @return == 0, the dictionary is not conformant with Zstandard specification.* It can still be loaded, but as a content-only dictionary.

函数原型:unsigned ZSTD_getDictID_fromDict(const void *dict, size_t dictSize)

返回类型:unsigned

参数:

类型参数名称
const void *dict
size_tdictSize
2107  如果dictSize小于8则返回:0
2109  如果ZSTD_readLE32(dict)不等于v0.7+ 则返回:0
2111  返回:ZSTD_readLE32((constchar * )dict + 4)
调用者
名称描述
ZSTD_getDictID_fromDDict! ZSTD_getDictID_fromDDict() :* Provides the dictID of the dictionary loaded into `ddict`.* If @return == 0, the dictionary is not conformant to Zstandard specification, or empty.