HomeSort by: relevance | last modified time | path
    Searched refs:targetCBlockSize (Results 1 - 10 of 10) sorted by relevancy

  /src/external/bsd/zstd/dist/programs/
fileio_types.h 53 size_t targetCBlockSize;
benchzstd.h 98 size_t targetCBlockSize;/* Approximative size of compressed blocks */
fileio.h 88 void FIO_setTargetCBlockSize(FIO_prefs_t* const prefs, size_t targetCBlockSize);
zstdcli.c 897 size_t targetCBlockSize = 0;
1081 if (longCommandWArg(&argument, "--target-compressed-block-size")) { NEXT_TSIZE(targetCBlockSize); continue; }
1408 benchParams.targetCBlockSize = targetCBlockSize;
1599 FIO_setTargetCBlockSize(prefs, targetCBlockSize);
1631 (void)targetCBlockSize; (void)streamSrcSize; (void)srcSizeHint;
fileio.c 303 ret->targetCBlockSize = 0;
412 void FIO_setTargetCBlockSize(FIO_prefs_t* const prefs, size_t targetCBlockSize) {
413 prefs->targetCBlockSize = targetCBlockSize;
1158 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_targetCBlockSize, (int)prefs->targetCBlockSize) );
2130 if (prefs->targetCBlockSize)
2131 DISPLAY(" --target-compressed-block-size=%u", (unsigned) prefs->targetCBlockSize);
benchzstd.c 212 0, /* targetCBlockSize */
289 ctx, ZSTD_c_targetCBlockSize, (int)adv->targetCBlockSize));
  /src/external/bsd/zstd/dist/tests/fuzz/
simple_round_trip.c 59 int targetCBlockSize = 0;
66 FUZZ_ZASSERT(ZSTD_CCtx_getParameter(cctx, ZSTD_c_targetCBlockSize, &targetCBlockSize));
102 size_t margin = getDecompressionMargin(compressed, cSize, srcSize, targetCBlockSize, maxBlockSize);
122 if (0 && targetCBlockSize != 0) {
133 size_t const expectedExpansion = bytesPerBlock * (1 + (normalCSize / MAX(1, targetCBlockSize)));
  /src/external/bsd/zstd/dist/lib/compress/
zstd_compress_superblock.c 506 size_t const targetCBlockSize = MAX(minTarget, cctxParams->targetCBlockSize);
524 const size_t nbSubBlocks = MAX((ebs.estBlockSize + (targetCBlockSize/2)) / targetCBlockSize, 1);
527 DEBUGLOG(5, "estimated fullblock size=%u bytes ; avgLitCost=%.2f ; avgSeqCost=%.2f ; targetCBlockSize=%u, nbSubBlocks=%u ; avgBlockBudget=%.0f bytes",
529 (unsigned)targetCBlockSize, (unsigned)nbSubBlocks, (double)avgBlockBudget/BYTESCALE);
zstd_compress.c 948 CCtxParams->targetCBlockSize = (U32)value;
949 return CCtxParams->targetCBlockSize;
1125 *value = (int)CCtxParams->targetCBlockSize;
2723 * If used, compression will do best effort to make a compressed block size to be around targetCBlockSize.
2727 DEBUGLOG(5, "ZSTD_useTargetCBlockSize (targetCBlockSize=%zu)", cctxParams->targetCBlockSize);
2728 return (cctxParams->targetCBlockSize != 0);
3527 int targetCBlockSize;
3528 FORWARD_IF_ERROR(ZSTD_CCtx_getParameter(zc, ZSTD_c_targetCBlockSize, &targetCBlockSize), "");
3529 RETURN_ERROR_IF(targetCBlockSize != 0, parameter_unsupported, "targetCBlockSize != 0")
    [all...]
zstd_compress_internal.h 370 size_t targetCBlockSize; /* Tries to fit compressed block size to be around targetCBlockSize.
371 * No target when targetCBlockSize == 0.

Completed in 30 milliseconds