Function report |
Source Code:lib\zstd\fse_decompress.c |
Create Date:2022-07-28 07:08:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Function templates
Proto:size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize)
Type:size_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| FSE_DTable * | dt | |
| const short * | normalizedCounter | |
| unsigned | maxSymbolValue | |
| unsigned | tableLog | |
| void * | workspace | |
| size_t | workspaceSize |
| 98 | FSE_DECODE_TYPE * tableDecode * FSE_DECODE_TYPE = tdPtr |
| 99 | symbolNext = workspace |
| 101 | maxSV1 = maxSymbolValue + 1 |
| 103 | highThreshold = tableSize - 1 |
| 110 | If tableLog > Constants Then Return -***************************************** Error codes handling(tableLog_tooLarge) |
| 117 | fastMode = 1 |
| 119 | largeLimit = 1 << tableLog - 1 |
| 122 | If normalizedCounter[s] == -1 Then |
| 124 | symbolNext[s] = 1 |
| 125 | Else |
| 126 | If normalizedCounter[s] >= largeLimit Then fastMode = 0 |
| 128 | symbolNext[s] = normalizedCounter[s] |
| 132 | No 3D Now!(dt, & DTableH, size of DTableH ) |
| 138 | step = FSE_TABLESTEP(tableSize) |
| 139 | position = 0 |
| 142 | When i < normalizedCounter[s] cycle |
| 149 | If position != 0 Then Return -***************************************** Error codes handling(GENERIC) |
| 164 | Return 0 |
| Name | Describe |
|---|---|
| FSE_decompress_wksp | |
| ZSTD_buildSeqTable | : nb bytes read from src, |
| ZSTD_loadEntropy | : size of entropy tables read |
| 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 |