Home
last modified time | relevance | path

Searched refs:maxNbSeq (Results 1 – 3 of 3) sorted by relevance

/linux/lib/zstd/compress/
A Dzstd_compress.c1269 size_t const maxNbSeq = blockSize / divider; in ZSTD_estimateCCtxSize_usingCCtxParams_internal() local
1271 + ZSTD_cwksp_alloc_size(maxNbSeq * sizeof(seqDef)) in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1272 + 3 * ZSTD_cwksp_alloc_size(maxNbSeq * sizeof(BYTE)); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1581 size_t const maxNbSeq = blockSize / divider; in ZSTD_resetCCtx_internal() local
1681 zc->seqStore.maxNbSeq = maxNbSeq; in ZSTD_resetCCtx_internal()
1682 zc->seqStore.llCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
1683 zc->seqStore.mlCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
1684 zc->seqStore.ofCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
2072 assert(nbSeq <= seqStorePtr->maxNbSeq); in ZSTD_seqToCodes()
4515 RETURN_ERROR_IF(idx - seqPos->idx > cctx->seqStore.maxNbSeq, memory_allocation, in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
[all …]
A Dzstd_compress_internal.h517 assert((size_t)(seqStorePtr->sequences - seqStorePtr->sequencesStart) < seqStorePtr->maxNbSeq); in ZSTD_storeSeq()
/linux/lib/zstd/common/
A Dzstd_internal.h347 size_t maxNbSeq; member

Completed in 20 milliseconds