fullbench: new scenario: compressSequencesAndLiterals()

This commit is contained in:
Yann Collet
2024-12-20 10:36:59 -08:00
committed by Yann Collet
parent ac05ea89a5
commit f281497aef
2 changed files with 60 additions and 2 deletions
+1 -1
View File
@@ -7227,7 +7227,7 @@ ZSTD_compressSequencesAndLiterals_internal(ZSTD_CCtx* cctx,
inSeqs, nbSequences, seqPos);
U32 const lastBlock = (blockSize == remaining);
FORWARD_IF_ERROR(blockSize, "Error while trying to determine block size");
RETURN_ERROR_IF(!lastBlock, GENERIC, "Only supports single block");
RETURN_ERROR_IF(!lastBlock, srcSize_wrong, "Only supports single block");
assert(blockSize <= remaining);
ZSTD_resetSeqStore(&cctx->seqStore);