函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ZSTD_createDStream_advanced

函数原型:static ZSTD_DStream *ZSTD_createDStream_advanced(ZSTD_customMem customMem)

返回类型:ZSTD_DStream

参数:

类型参数名称
ZSTD_customMemcustomMem
2196  如果非customAlloc或非customFree则返回:NULL
2199  zds等于ZSTD_malloc(sizeof(ZSTD_DStream), customMem)
2200  如果(zds == NULL)则返回:NULL
2202  memset(zds, 0, sizeof(ZSTD_DStream))
2203  内存复制( & customMem, & customMem, sizeof(ZSTD_customMem))
2204  dctx等于ZSTD_createDCtx_advanced(customMem)
2205  如果(dctx == NULL)则
2206  ZSTD_freeDStream(zds)
2207  返回:NULL
2209  stage等于zdss_init
2210  maxWindowSize等于defined within zstd.h
2211  返回:zds
调用者
名称描述
ZSTD_initDStream