MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ZSTD_CStreamOutSize

Function ZSTD_CStreamOutSize

freebsd/contrib/zstd/lib/compress/zstd_compress.c:3980–3983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3978size_t ZSTD_CStreamInSize(void) { return ZSTD_BLOCKSIZE_MAX; }
3979
3980size_t ZSTD_CStreamOutSize(void)
3981{
3982 return ZSTD_compressBound(ZSTD_BLOCKSIZE_MAX) + ZSTD_blockHeaderSize + 4 /* 32-bits hash */ ;
3983}
3984
3985static ZSTD_cParamMode_e ZSTD_getCParamMode(ZSTD_CDict const* cdict, ZSTD_CCtx_params const* params, U64 pledgedSrcSize)
3986{

Callers 5

FIO_createCResourcesFunction · 0.50
compressFile_orDieFunction · 0.50
compressFile_orDieFunction · 0.50
createResources_orDieFunction · 0.50

Calls 1

ZSTD_compressBoundFunction · 0.70

Tested by

no test coverage detected