函数逻辑报告 |
Source Code:lib\zstd\huf_decompress.c |
Create Date:2022-07-27 08:04:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:HUF_readDTableX4_wksp
函数原型:size_t HUF_readDTableX4_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, size_t workspaceSize)
返回类型:size_t
参数:
类型 | 参数 | 名称 |
---|---|---|
HUF_DTable * | DTable | |
const void * | src | |
size_t | srcSize | |
void * | workspace | |
size_t | workspaceSize |
485 | dtd等于HUF_getDTableDesc(DTable) |
486 | maxTableLog等于maxTableLog |
497 | spaceUsed32等于0 |
501 | rankVal等于workspace加spaceUsed32 |
502 | spaceUsed32加等于sizeof(rankValCol_t)乘max configured tableLog (for static allocation); can be modified up to HUF_ABSOLUTEMAX_TABLELOG 右移2位 |
504 | spaceUsed32加等于max configured tableLog (for static allocation); can be modified up to HUF_ABSOLUTEMAX_TABLELOG 加1 |
506 | spaceUsed32加等于max configured tableLog (for static allocation); can be modified up to HUF_ABSOLUTEMAX_TABLELOG 加2 |
508 | spaceUsed32加等于@a is a power of 2 value (sizeof(sortedSymbol_t) * (HUF_SYMBOLVALUE_MAX + 1), sizeof(U32))右移2位 |
510 | spaceUsed32加等于@a is a power of 2 value (HUF_SYMBOLVALUE_MAX + 1, sizeof(U32))右移2位 |
512 | 如果spaceUsed32左移2位大于workspaceSize则返回:-***************************************** Error codes handling(tableLog_tooLarge) |
515 | workspaceSize减等于spaceUsed32左移2位 |
517 | rankStart等于rankStart0加1 |
518 | memset(rankStats, 0, sizeof(U32) * (2 * max configured tableLog (for static allocation); can be modified up to HUF_ABSOLUTEMAX_TABLELOG + 2 + 1)) |
526 | 如果HUF_isError(iSize)则返回:iSize |
530 | 如果tableLog大于maxTableLog则返回:-***************************************** Error codes handling(tableLog_tooLarge) |
539 | nextRankStart等于0 |
545 | rankStart[0]等于nextRankStart |
546 | sizeOfSort等于nextRankStart |
558 | rankStart[0]等于0 |
587 | HUF_fillDTableX4(dt, maxTableLog, sortedSymbol, sizeOfSort, rankStart0, rankVal, maxW, tableLog + 1) |
589 | tableLog等于maxTableLog |
590 | tableType等于1 |
592 | 返回:iSize |
名称 | 描述 |
---|---|
HUF_decompress1X4_DCtx_wksp | |
HUF_decompress4X4_DCtx_wksp | |
ZSTD_loadEntropy | : size of entropy tables read |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |