函数逻辑报告 |
Source Code:lib\zstd\decompress.c |
Create Date:2022-07-27 08:05:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: : size of entropy tables read
函数原型:static size_t ZSTD_loadEntropy(ZSTD_entropyTables_t *entropy, const void *const dict, size_t const dictSize)
返回类型:size_t
参数:
类型 | 参数 | 名称 |
---|---|---|
ZSTD_entropyTables_t * | entropy | |
const void *const | dict | must point at beginning of a valid zstd dictionary |
size_t const | dictSize |
1879 | 如果dictSize小于等于8则返回:-***************************************** Error codes handling(dictionary_corrupted) |
1881 | dictPtr加等于8 |
1885 | 如果HUF_isError(hSize)则返回:-***************************************** Error codes handling(dictionary_corrupted) |
1892 | offcodeMaxValue等于MaxOff |
1893 | offcodeHeaderSize等于-*************************************************************** FSE NCount encoding-decoding |
1894 | 如果=== Error Management ===则返回:-***************************************** Error codes handling(dictionary_corrupted) |
1896 | 如果offcodeLog大于OffFSELog则返回:-***************************************** Error codes handling(dictionary_corrupted) |
1899 | dictPtr加等于offcodeHeaderSize |
1904 | matchlengthMaxValue等于MaxML |
1905 | matchlengthHeaderSize等于-*************************************************************** FSE NCount encoding-decoding |
1906 | 如果=== Error Management ===则返回:-***************************************** Error codes handling(dictionary_corrupted) |
1908 | 如果matchlengthLog大于MLFSELog则返回:-***************************************** Error codes handling(dictionary_corrupted) |
1911 | dictPtr加等于matchlengthHeaderSize |
1916 | litlengthMaxValue等于MaxLL |
1917 | litlengthHeaderSize等于-*************************************************************** FSE NCount encoding-decoding |
1918 | 如果=== Error Management ===则返回:-***************************************** Error codes handling(dictionary_corrupted) |
1920 | 如果litlengthLog大于LLFSELog则返回:-***************************************** Error codes handling(dictionary_corrupted) |
1923 | dictPtr加等于litlengthHeaderSize |
1926 | 如果dictPtr加12大于dictEnd则返回:-***************************************** Error codes handling(dictionary_corrupted) |
1930 | dictContentSize等于dictEnd减dictPtr加12 |
1932 | rep等于ZSTD_readLE32(dictPtr) |
1933 | dictPtr加等于4 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |
摘要:ZSTD_loadEntropy() :