Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: : 0 if success,

Proto:ZSTD_STATIC size_t BIT_initCStream(BIT_CStream_t *bitC, void *startPtr, size_t dstCapacity)

Type:size_t

Parameter:

TypeParameterName
BIT_CStream_t *bitC
void *startPtr
size_tdstCapacity

Brief:! BIT_initCStream() :* `dstCapacity` must be > sizeof(void*)otherwise an error code (can be tested using ERR_isError() )

164  bitContainer = 0
165  bitPos = 0
166  startPtr = startPtr
167  ptr = startPtr
168  endPtr = startPtr + dstCapacity - size of ptr
169  If dstCapacity <= size of ptr Then Return -***************************************** Error codes handling(dstSize_tooSmall)
171  Return 0
Caller
NameDescribe
HUF_compress1X_usingCTable
ZSTD_compressSequences_internal