Function report |
Source Code:lib\zstd\decompress.c |
Create Date:2022-07-28 07:07:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ZSTD_decompressSequencesLong
Proto:static size_t ZSTD_decompressSequencesLong(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 |
1353 | oend = ostart + maxDstSize |
1360 | windowSize = windowSize |
1372 | If nbSeq Then |
1381 | fseEntropy = 1 |
1384 | When i < umber of repcodes cycle prevOffset[i] = rep[i] |
1391 | FSE_initDState( & stateLL, & DStream, LLTptr) |
1392 | FSE_initDState( & stateOffb, & DStream, OFTptr) |
1393 | FSE_initDState( & stateML, & DStream, MLTptr) |
1396 | When BIT_reloadDStream( & DStream) <= BIT_DStream_completed && seqNb < seqAdvance cycle |
1397 | sequences[seqNb] = ZSTD_decodeSequenceLong( & seqState, windowSize) |
1399 | If seqNb < seqAdvance Then Return -***************************************** Error codes handling(corruption_detected) |
1403 | When BIT_reloadDStream( & (DStream)) <= BIT_DStream_completed && seqNb < nbSeq cycle |
1404 | sequence = ZSTD_decodeSequenceLong( & seqState, windowSize) |
1405 | oneSeqSize = ZSTD_execSequenceLong(op, oend, sequences[(seqNb - ADVANCED_SEQS) & STOSEQ_MASK], & litPtr, litEnd, base, vBase, dictEnd) |
1407 | 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 |
1409 | ZSTD_PREFETCH(match) |
1410 | sequences[seqNb & STOSEQ_MASK] = sequence |
1411 | op += oneSeqSize |
1413 | If seqNb < nbSeq Then Return -***************************************** Error codes handling(corruption_detected) |
1417 | seqNb -= seqAdvance |
1419 | oneSeqSize = ZSTD_execSequenceLong(op, oend, sequences[seqNb & STOSEQ_MASK], & litPtr, litEnd, base, vBase, dictEnd) |
1420 | 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 |
1422 | op += oneSeqSize |
1428 | When i < umber of repcodes cycle rep[i] = prevOffset[i] |
1435 | lastLLSize = litEnd - litPtr |
1436 | If lastLLSize > oend - op Then Return -***************************************** Error codes handling(dstSize_tooSmall) |
1438 | No 3D Now!(op, litPtr, lastLLSize) |
1439 | 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 |