函数逻辑报告 |
Source Code:lib\zstd\compress.c |
Create Date:2022-07-27 08:03:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ZSTD_initCStream_advanced
函数原型:static size_t ZSTD_initCStream_advanced(ZSTD_CStream *zcs, const void *dict, size_t dictSize, ZSTD_parameters params, unsigned long long pledgedSrcSize)
返回类型:size_t
参数:
类型 | 参数 | 名称 |
---|---|---|
ZSTD_CStream * | zcs | |
const void * | dict | |
size_t | dictSize | |
ZSTD_parameters | params | |
unsigned long long | pledgedSrcSize |
3059 | neededInBuffSize等于1左移windowLog位 |
3060 | 如果inBuffSize小于neededInBuffSize则 |
3061 | inBuffSize等于neededInBuffSize |
3063 | inBuff等于ZSTD_malloc(neededInBuffSize, customMem) |
3064 | 如果(inBuff == NULL)则返回:-***************************************** Error codes handling(memory_allocation) |
3067 | blockSize等于-************************************** shared macros(Define for static allocation , neededInBuffSize) |
3072 | outBuff等于ZSTD_malloc(outBuffSize, customMem) |
3073 | 如果(outBuff == NULL)则返回:-***************************************** Error codes handling(memory_allocation) |
3078 | ZSTD_freeCDict(cdictLocal) |
3079 | cdictLocal等于ZSTD_createCDict_advanced(dict, dictSize, 0, params, customMem) |
3080 | 如果(cdictLocal == NULL)则返回:-***************************************** Error codes handling(memory_allocation) |
3082 | cdict等于cdictLocal |
3083 | 否则cdict = NULL |
3086 | checksum等于checksumFlag大于0 |
3089 | 返回:ZSTD_resetCStream_internal(zcs, pledgedSrcSize) |
名称 | 描述 |
---|---|
ZSTD_initCStream |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |