Home
last modified time | relevance | path

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

/Linux-v5.4/lib/zstd/
Dcompress.c267 size_t const neededSpace = tableSpace + (256 * sizeof(U32)) /* huffTable */ + tokenSpace + in ZSTD_resetCCtx_advanced() local
269 if (zc->workSpaceSize < neededSpace) { in ZSTD_resetCCtx_advanced()
271 zc->workSpace = ZSTD_malloc(neededSpace, zc->customMem); in ZSTD_resetCCtx_advanced()
274 zc->workSpaceSize = neededSpace; in ZSTD_resetCCtx_advanced()