Function report |
Source Code:lib\zstd\huf_decompress.c |
Create Date:2022-07-28 07:06:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:HUF_decompress4X4_usingDTable_internal
Proto:static size_t HUF_decompress4X4_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 |
| 709 | If cSrcSize < 10 Then Return -***************************************** Error codes handling(corruption_detected) |
| 732 | segmentSize = (dstSize + 3) / 4 |
| 733 | opStart2 = ostart + segmentSize |
| 734 | opStart3 = opStart2 + segmentSize |
| 735 | opStart4 = opStart3 + segmentSize |
| 741 | dtd = HUF_getDTableDesc(DTable) |
| 744 | If length4 > cSrcSize Then Return -***************************************** Error codes handling(corruption_detected) |
| 747 | errorCode = 1,2,4,8 would be better for bitmap combinations, but slows down performance a bit ... :( |
| 748 | If HUF_isError(errorCode) Then Return errorCode |
| 752 | errorCode = 1,2,4,8 would be better for bitmap combinations, but slows down performance a bit ... :( |
| 753 | If HUF_isError(errorCode) Then Return errorCode |
| 757 | errorCode = 1,2,4,8 would be better for bitmap combinations, but slows down performance a bit ... :( |
| 758 | If HUF_isError(errorCode) Then Return errorCode |
| 762 | errorCode = 1,2,4,8 would be better for bitmap combinations, but slows down performance a bit ... :( |
| 763 | If HUF_isError(errorCode) Then Return errorCode |
| 768 | endSignal = BIT_reloadDStream( & bitD1) | BIT_reloadDStream( & bitD2) | BIT_reloadDStream( & bitD3) | BIT_reloadDStream( & bitD4) |
| 769 | When endSignal == BIT_DStream_unfinished & op4 < oend - size of bitContainer - 1 cycle |
| 782 | HUF_DECODE_SYMBOLX4_0(op1, & bitD1) |
| 783 | HUF_DECODE_SYMBOLX4_0(op2, & bitD2) |
| 784 | HUF_DECODE_SYMBOLX4_0(op3, & bitD3) |
| 785 | HUF_DECODE_SYMBOLX4_0(op4, & bitD4) |
| 787 | endSignal = BIT_reloadDStream( & bitD1) | BIT_reloadDStream( & bitD2) | BIT_reloadDStream( & bitD3) | BIT_reloadDStream( & bitD4) |
| 791 | If op1 > opStart2 Then Return -***************************************** Error codes handling(corruption_detected) |
| 793 | If op2 > opStart3 Then Return -***************************************** Error codes handling(corruption_detected) |
| 795 | If op3 > opStart4 Then Return -***************************************** Error codes handling(corruption_detected) |
| 808 | If Not endCheck Then Return -***************************************** Error codes handling(corruption_detected) |
| 813 | Return dstSize |
| Name | Describe |
|---|---|
| HUF_decompress4X4_usingDTable | |
| HUF_decompress4X4_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 |