OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:windowLog
(Results
1 - 13
of
13
) sorted by relevancy
/src/external/bsd/zstd/dist/lib/legacy/
zstd_v06.h
97
struct ZSTDv06_frameParams_s { unsigned long long frameContentSize; unsigned
windowLog
; };
zstd_v05.h
88
U32
windowLog
; /* the only useful information to retrieve */
zstd_v04.c
201
U32
windowLog
; /* largest match distance : larger == more compression, more memory needed during decompression */
242
Objective is to retrieve *params.
windowlog
, to know minimum amount of memory required during decoding.
254
ZSTD_decompressContinue() needs previous data blocks during decompression, up to (1 <<
windowlog
).
2509
params->
windowLog
= (((const BYTE*)src)[4] & 15) + ZSTD_WINDOWLOG_ABSOLUTEMIN;
2523
if ((MEM_32bits()) && (zc->params.
windowLog
> 25)) return ERROR(frameParameter_unsupported);
3427
{ size_t const neededOutSize = (size_t)1 << zbc->params.
windowLog
;
zstd_v07.c
144
For skippable frames ZSTDv07_getFrameParams() returns fparamsPtr->
windowLog
==0 what means that a frame is skippable.
2984
bit 5 : Single Segment (if 1,
WindowLog
byte is not present)
2988
Optional :
WindowLog
(0 or 1 byte)
3129
U32 const
windowLog
= (wlByte >> 3) + ZSTDv07_WINDOWLOG_ABSOLUTEMIN;
3130
if (
windowLog
> ZSTDv07_WINDOWLOG_MAX)
3132
windowSize = (1U <<
windowLog
);
/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
...]
fuzzer.c
583
cparams.
windowLog
= 99;
706
params.
windowLog
= 10;
1281
int const
windowLog
= 27;
1301
/* set level 1 and
windowLog
to cover src */
1303
CHECK_Z(ZSTD_CCtx_setParameter(cctx, ZSTD_c_windowLog,
windowLog
));
1791
CHECK_EQ(value, (int)cparams.
windowLog
);
1868
CHECK_EQ(value, (int)params.cParams.
windowLog
);
1912
DISPLAYLEVEL(3, "test%3d : overflow protection with large
windowLog
: ", testNb++);
1919
params.cParams.
windowLog
= ZSTD_WINDOWLOG_MAX;
3188
/* Set
windowLog
to 25 so hash/chain logs don't get sized down *
[
all
...]
/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
*/
/src/external/bsd/zstd/dist/lib/compress/
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
...]
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_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
...]
/src/external/bsd/zstd/dist/lib/
zstd.h
373
* Special: value 0 means "use default
windowLog
".
374
* Note: Using a
windowLog
greater than ZSTD_WINDOWLOG_LIMIT_DEFAULT
440
* default:
windowlog
- 7.
452
* Default is MAX(0, (
windowLog
- ldmHashLog)), optimizing hash table usage.
647
* Special: value 0 means "use default maximum
windowLog
". */
1353
unsigned
windowLog
; /**< largest match distance : larger == more compression, more memory needed during decompression */
1571
* Unless you explicitly set the
windowLog
smaller than
1967
* note that changes to the .
windowLog
parameter will be ignored.
2426
* with a few restrictions (
windowLog
, pledgedSrcSize, nbWorkers, jobSize, and overlapLog are not updated).
3013
- ZSTD_compressContinue() presumes prior input ***is still accessible and unmodified*** (up to maximum distance size, see
WindowLog
)
[
all
...]
/src/external/bsd/zstd/dist/programs/
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
...]
Completed in 73 milliseconds
Indexes created Mon Aug 17 00:26:26 UTC 2026