Function report |
Source Code:lib\zstd\huf_decompress.c |
Create Date:2022-07-28 07:06:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:HUF_decompress4X2_usingDTable_internal
Proto:static size_t HUF_decompress4X2_usingDTable_internal(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
void * | dst | |
size_t | dstSize | |
const void * | cSrc | |
size_t | cSrcSize | |
const HUF_DTable * | DTable |
250 | If cSrcSize < 10 Then Return -***************************************** Error codes handling(corruption_detected) |
273 | segmentSize = (dstSize + 3) / 4 |
274 | opStart2 = ostart + segmentSize |
275 | opStart3 = opStart2 + segmentSize |
276 | opStart4 = opStart3 + segmentSize |
282 | dtd = HUF_getDTableDesc(DTable) |
285 | If length4 > cSrcSize Then Return -***************************************** Error codes handling(corruption_detected) |
288 | errorCode = 1,2,4,8 would be better for bitmap combinations, but slows down performance a bit ... :( |
289 | If HUF_isError(errorCode) Then Return errorCode |
293 | errorCode = 1,2,4,8 would be better for bitmap combinations, but slows down performance a bit ... :( |
294 | If HUF_isError(errorCode) Then Return errorCode |
298 | errorCode = 1,2,4,8 would be better for bitmap combinations, but slows down performance a bit ... :( |
299 | If HUF_isError(errorCode) Then Return errorCode |
303 | errorCode = 1,2,4,8 would be better for bitmap combinations, but slows down performance a bit ... :( |
304 | If HUF_isError(errorCode) Then Return errorCode |
309 | endSignal = BIT_reloadDStream( & bitD1) | BIT_reloadDStream( & bitD2) | BIT_reloadDStream( & bitD3) | BIT_reloadDStream( & bitD4) |
310 | When endSignal == BIT_DStream_unfinished && op4 < oend - 7 cycle |
323 | HUF_DECODE_SYMBOLX2_0(op1, & bitD1) |
324 | HUF_DECODE_SYMBOLX2_0(op2, & bitD2) |
325 | HUF_DECODE_SYMBOLX2_0(op3, & bitD3) |
326 | HUF_DECODE_SYMBOLX2_0(op4, & bitD4) |
327 | endSignal = BIT_reloadDStream( & bitD1) | BIT_reloadDStream( & bitD2) | BIT_reloadDStream( & bitD3) | BIT_reloadDStream( & bitD4) |
331 | If op1 > opStart2 Then Return -***************************************** Error codes handling(corruption_detected) |
333 | If op2 > opStart3 Then Return -***************************************** Error codes handling(corruption_detected) |
335 | If op3 > opStart4 Then Return -***************************************** Error codes handling(corruption_detected) |
347 | If Not endSignal Then Return -***************************************** Error codes handling(corruption_detected) |
351 | Return dstSize |
Name | Describe |
---|---|
HUF_decompress4X2_usingDTable | |
HUF_decompress4X2_DCtx_wksp | |
HUF_decompress4X_usingDTable |
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 |