Function report |
Source Code:lib\zstd\huf_decompress.c |
Create Date:2022-07-28 07:06:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:HUF_readDTableX2_wksp
Proto:size_t HUF_readDTableX2_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, size_t workspaceSize)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
HUF_DTable * | DTable | |
const void * | src | |
size_t | srcSize | |
void * | workspace | |
size_t | workspaceSize |
92 | tableLog = 0 |
93 | nbSymbols = 0 |
100 | spaceUsed32 = 0 |
102 | rankVal = workspace + spaceUsed32 |
104 | huffWeight = workspace + spaceUsed32 |
105 | spaceUsed32 += @a is a power of 2 value (HUF_SYMBOLVALUE_MAX + 1, sizeof(U32)) >> 2 |
107 | If spaceUsed32 << 2 > workspaceSize Then Return -***************************************** Error codes handling(tableLog_tooLarge) |
109 | workspace = workspace + spaceUsed32 |
110 | workspaceSize -= spaceUsed32 << 2 |
116 | If HUF_isError(iSize) Then Return iSize |
121 | dtd = HUF_getDTableDesc(DTable) |
122 | If tableLog > maxTableLog + 1 Then Return -***************************************** Error codes handling(tableLog_tooLarge) |
124 | tableType = 0 |
126 | No 3D Now!(DTable, & dtd, size of dtd ) |
131 | nextRankStart = 0 |
155 | Return iSize |
Name | Describe |
---|---|
HUF_decompress1X2_DCtx_wksp | |
HUF_decompress4X2_DCtx_wksp |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |