Function report |
Source Code:lib\zstd\decompress.c |
Create Date:2022-07-28 07:07:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ZSTD_decompressSequences
Proto:static size_t ZSTD_decompressSequences(ZSTD_DCtx *dctx, void *dst, size_t maxDstSize, const void *seqStart, size_t seqSize)
Type:size_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| ZSTD_DCtx * | dctx | |
| void * | dst | |
| size_t | maxDstSize | |
| const void * | seqStart | |
| size_t | seqSize |
| 1098 | oend = ostart + maxDstSize |
| 1116 | If nbSeq Then |
| 1118 | fseEntropy = 1 |
| 1121 | When i < umber of repcodes cycle prevOffset[i] = rep[i] |
| 1125 | FSE_initDState( & stateLL, & DStream, LLTptr) |
| 1126 | FSE_initDState( & stateOffb, & DStream, OFTptr) |
| 1127 | FSE_initDState( & stateML, & DStream, MLTptr) |
| 1129 | When BIT_reloadDStream( & (DStream)) <= BIT_DStream_completed && nbSeq cycle |
| 1130 | nbSeq-- |
| 1132 | sequence = ZSTD_decodeSequence( & seqState) |
| 1133 | oneSeqSize = ZSTD_execSequence(op, oend, sequence, & litPtr, litEnd, base, vBase, dictEnd) |
| 1134 | If ZSTD_isError() - tells if a size_t function result is an error code*@code: The function result to check for error.* Return: Non-zero iff the code is an error. Then Return oneSeqSize |
| 1136 | op += oneSeqSize |
| 1141 | If nbSeq Then Return -***************************************** Error codes handling(corruption_detected) |
| 1146 | When i < umber of repcodes cycle rep[i] = prevOffset[i] |
| 1153 | lastLLSize = litEnd - litPtr |
| 1154 | If lastLLSize > oend - op Then Return -***************************************** Error codes handling(dstSize_tooSmall) |
| 1156 | No 3D Now!(op, litPtr, lastLLSize) |
| 1157 | op += lastLLSize |
| Name | Describe |
|---|---|
| ZSTD_decompressBlock_internal |
| 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 |