函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\compress.c Create Date:2022-07-27 08:03:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ZSTD_createCDict_advanced

函数原型:static ZSTD_CDict *ZSTD_createCDict_advanced(const void *dictBuffer, size_t dictSize, unsigned byReference, ZSTD_parameters params, ZSTD_customMem customMem)

返回类型:ZSTD_CDict

参数:

类型参数名称
const void *dictBuffer
size_tdictSize
unsignedbyReference
ZSTD_parametersparams
ZSTD_customMemcustomMem
2849  如果非customAlloc或非customFree则返回:NULL
2853  cdict等于ZSTD_malloc(sizeof(ZSTD_CDict), customMem)
2854  cctx等于ZSTD_createCCtx_advanced(customMem)
2856  如果非cdict或非cctx
2859  返回:NULL
2862  如果byReference或非dictBuffer或非dictSize
2863  dictBuffer = NULL
2864  dictContent等于dictBuffer
2865  否则
2867  如果非internalBuffer
2870  返回:NULL
2883  返回:NULL
2887  refContext等于cctx
2888  dictContentSize等于dictSize
2889  返回:cdict
调用者
名称描述
ZSTD_initCDict
ZSTD_initCStream_advanced