Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\decompress.c Create Date:2022-07-28 07:07:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:! ZSTD_initDDict() :* Create a digested dictionary, to start decompression without startup delay.* `dict` content is copied inside DDict.* Consequently, `dict` can be released after `ZSTD_DDict` creation

Proto:ZSTD_DDict *ZSTD_initDDict(const void *dict, size_t dictSize, void *workspace, size_t workspaceSize)

Type:ZSTD_DDict

Parameter:

TypeParameterName
const void *dict
size_tdictSize
void *workspace
size_tworkspaceSize
2085  stackMem = ZSTD_initStack(workspace, workspaceSize)
2086  Return ZSTD_createDDict_advanced(dict, dictSize, 1, stackMem)