HomeSort by: relevance | last modified time | path
    Searched refs:windowLog (Results 1 - 25 of 36) sorted by relevancy

1 2

  /src/external/bsd/zstd/dist/tests/
longmatch.c 39 unsigned windowLog = 18;
46 if (ZSTD_isError(ZSTD_CCtx_setParameter(ctx, ZSTD_c_windowLog, windowLog)))
63 const size_t size = 1 << windowLog;
65 char *srcBuffer = (char*) malloc(1 << windowLog);
66 char *dstBuffer = (char*) malloc(ZSTD_compressBound(1 << windowLog));
67 ZSTD_outBuffer out = { dstBuffer, ZSTD_compressBound(1 << windowLog), 0 };
69 const size_t randomData = (1 << windowLog) - 2*sizeof(match);
zstreamtest.c 230 CHECK_RET_Z(ZSTD_CCtx_getParameter(zc, ZSTD_c_windowLog, (int*)&savedParams->cParams.windowLog));
250 CHECK_RET(1, params.cParams.windowLog != savedParams.cParams.windowLog, "windowLog");
1521 DISPLAYLEVEL(5, "cParams.windowLog = %u : ", cParams.windowLog);
1562 cParams.windowLog = kMaxWindowLog;
1640 /* Set windowLog to 29 so the hashLog doesn't get sized down */
1654 int windowLog;
1660 for (windowLog = ZSTD_WINDOWLOG_MIN; windowLog <= kMaxWindowLog; ++windowLog)
    [all...]
fullbench.c 829 cLevel, cparams->windowLog, cparams->hashLog, cparams->chainLog, cparams->searchLog,
833 ZSTD_CCtx_setParameter(g_zcc, ZSTD_c_windowLog, (int)cparams.windowLog);
842 ZSTD_CCtx_setParameter(g_cstream, ZSTD_c_windowLog, (int)cparams.windowLog);
1124 if (longCommandWArg(&argument, "windowLog=") || longCommandWArg(&argument, "wlog=")) { cparams.windowLog = readU32FromChar(&argument); if (argument[0]==',') { argument++; continue; } else break; }
  /src/external/bsd/zstd/dist/contrib/pzstd/
Options.h 62 if (maxWindowLog != 0 && params.cParams.windowLog > maxWindowLog) {
63 params.cParams.windowLog = maxWindowLog;
Pzstd.cpp 345 // It will definitely fail if windowLog + 2 is >= 4GB because
347 assert(params.cParams.windowLog <= 23);
348 return size_t{1} << (params.cParams.windowLog + 2);
  /src/external/bsd/zstd/dist/lib/legacy/
zstd_v05.h 88 U32 windowLog; /* the only useful information to retrieve */
zstd_v06.h 97 struct ZSTDv06_frameParams_s { unsigned long long frameContentSize; unsigned windowLog; };
  /src/external/bsd/zstd/dist/contrib/linux-kernel/test/
test.c 71 CONTROL(params.cParams.windowLog <= 17);
111 zstd_dstream *dctx = zstd_init_dstream(1ULL << params.cParams.windowLog, workspace, workspaceSize);
  /src/external/bsd/zstd/dist/tests/fuzz/
zstd_helpers.c 48 cParams.windowLog = FUZZ_dataProducer_uint32Range(producer, ZSTD_WINDOWLOG_MIN, 15);
104 set(cctx, ZSTD_c_windowLog, cParams.windowLog);
sequence_compression_api.c 145 size_t windowLog, ZSTD_SequenceFormat_e mode)
148 size_t windowSize = 1ULL << windowLog;
  /src/external/bsd/zstd/dist/programs/
zstdcli.c 622 if (longCommandWArg(&stringPtr, "windowLog=") || longCommandWArg(&stringPtr, "wlog=")) { params->windowLog = readU32FromChar(&stringPtr); if (stringPtr[0]==',') { stringPtr++; continue; } else break; }
644 params->windowLog = ZSTD_WINDOWLOG_MAX;
714 DISPLAY(" - windowLog : %u\n", cParams.windowLog);
729 actualCParams.windowLog = cParams->windowLog == 0 ? actualCParams.windowLog : cParams->windowLog;
737 actualCParams.windowLog, actualCParams.chainLog, actualCParams.hashLog, actualCParams.searchLog
    [all...]
fileio.c 1096 comprParams->windowLog = MAX(ZSTD_WINDOWLOG_MIN, MIN(ZSTD_WINDOWLOG_MAX, fileWindowLog));
1149 if (prefs->adaptiveMode && !prefs->ldmFlag && !comprParams.windowLog)
1150 comprParams.windowLog = ADAPT_WINDOWLOG_DEFAULT;
1173 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_windowLog, (int)comprParams.windowLog) );
1530 { int windowLog;
1532 CHECK(ZSTD_CCtx_getParameter(ress.cctx, ZSTD_c_windowLog, &windowLog));
1533 if (windowLog == 0) {
1536 windowLog = ZSTD_WINDOWLOG_LIMIT_DEFAULT;
1539 windowLog = (int)cParams.windowLog;
    [all...]
benchzstd.c 271 ctx, ZSTD_c_windowLog, (int)comprParams->windowLog));
775 (1ULL << (comprParams->windowLog)) + ZSTD_sizeof_CCtx(cctx);
  /src/external/bsd/zstd/dist/lib/deprecated/
zbuff_compress.c 81 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_windowLog, params.cParams.windowLog), "");
  /src/external/bsd/zstd/dist/lib/compress/
zstd_ldm.c 138 params->windowLog = cParams->windowLog;
145 if (params->windowLog > params->hashLog) {
146 params->hashRateLog = params->windowLog - params->hashLog;
155 params->hashLog = BOUNDED(ZSTD_HASHLOG_MIN, params->windowLog - params->hashRateLog, ZSTD_HASHLOG_MAX);
530 U32 const maxDist = 1U << params->windowLog;
zstd_compress.c 243 if (cParams->windowLog > 14) mode = ZSTD_ps_enable;
251 return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 17) ? ZSTD_ps_enable : ZSTD_ps_disable;
272 return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27) ? ZSTD_ps_enable : ZSTD_ps_disable;
794 CCtxParams->cParams.windowLog = (U32)value;
795 return CCtxParams->cParams.windowLog;
1040 *value = (int)CCtxParams->cParams.windowLog;
1198 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_windowLog, (int)cparams.windowLog), "");
1390 BOUNDCHECK(ZSTD_c_windowLog, (int)cParams.windowLog);
1413 CLAMP(ZSTD_c_windowLog, cParams.windowLog);
1436 * the hashLog and windowLog
    [all...]
zstd_double_fast.c 119 const U32 prefixLowestIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog);
160 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, current, cParams->windowLog);
344 const U32 prefixLowestIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog);
366 assert(ms->window.dictLimit + (1U << cParams->windowLog) >= endIndex);
627 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog);
zstd_fast.c 204 const U32 prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog);
240 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog);
449 int const useCmov = ms->cParams.windowLog < 19;
516 const U32 maxDistance = 1U << cParams->windowLog;
723 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog);
zstd_compress_internal.h 352 U32 windowLog; /* Window log for the LDM */
1164 * lowLimit > (3<<29) ==> current > 3<<29 + 1<<windowLog
1165 * 1<<windowLog <= newCurrent < 1<<chainLog + 1<<windowLog
1168 * > (3<<29 + 1<<windowLog) - (1<<windowLog + 1<<chainLog)
1174 * After correction, current is less than (1<<chainLog + 1<<windowLog).
1178 * 3. (cctx->lowLimit + 1<<windowLog) < 1<<32:
1179 * windowLog <= 31 ==> 3<<29 + 1<<windowLog < 7<<29 < 1<<32
    [all...]
zstd_lazy.c 97 U32 const maxDistance = 1U << cParams->windowLog;
257 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog);
683 const U32 maxDistance = 1U << cParams->windowLog;
1159 const U32 maxDistance = 1U << cParams->windowLog;
1554 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, ms->cParams.windowLog);
1954 const U32 windowLog = ms->cParams.windowLog;
1985 { const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr+1, windowLog);
2026 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr, windowLog);
2058 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr, windowLog);
    [all...]
zstdmt_compress.c 497 DEBUGLOG(4, "LDM window size = %u KB", (1U << params.cParams.windowLog) >> 10);
1098 U32 const saved_wlog = mtctx->params.cParams.windowLog; /* Do not modify windowLog while compressing */
1104 cParams.windowLog = saved_wlog;
1188 /* In Long Range Mode, the windowLog is typically oversized.
1193 jobLog = MAX(20, params->cParams.windowLog + 2);
1229 int ovLog = (overlapRLog >= 8) ? 0 : (params->cParams.windowLog - overlapRLog);
1232 /* In Long Range Mode, the windowLog is typically oversized.
1236 ovLog = MIN(params->cParams.windowLog, ZSTDMT_computeTargetJobLog(params) - 2)
1315 size_t const windowSize = mtctx->params.ldmParams.enableLdm == ZSTD_ps_enable ? (1U << mtctx->params.cParams.windowLog) : 0
    [all...]
zstd_opt.c 471 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, target, cParams->windowLog);
619 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog);
  /src/external/bsd/zstd/dist/contrib/linux-kernel/
zstd_compress_module.c 36 cctx, ZSTD_c_windowLog, parameters->cParams.windowLog));
  /src/external/bsd/zstd/dist/tests/regression/
config.c 379 zparams.cParams.windowLog = value;
  /src/external/bsd/zstd/dist/lib/decompress/
zstd_decompress.c 516 U32 const windowLog = (wlByte >> 3) + ZSTD_WINDOWLOG_ABSOLUTEMIN;
517 RETURN_ERROR_IF(windowLog > ZSTD_WINDOWLOG_MAX, frameParameter_windowTooLarge, "");
518 windowSize = (1ULL << windowLog);
1803 * since this version sets windowSize, and the other sets windowLog */

Completed in 43 milliseconds

1 2