Function report |
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 activity | Download SCCT | Chinese |
Name: : 0 if success,
Proto:ZSTD_STATIC size_t BIT_initCStream(BIT_CStream_t *bitC, void *startPtr, size_t dstCapacity)
Type:size_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| BIT_CStream_t * | bitC | |
| void * | startPtr | |
| size_t | dstCapacity |
| 164 | bitContainer = 0 |
| 165 | bitPos = 0 |
| 168 | endPtr = startPtr + dstCapacity - size of ptr |
| 169 | If dstCapacity <= size of ptr Then Return -***************************************** Error codes handling(dstSize_tooSmall) |
| 171 | Return 0 |
| Name | Describe |
|---|---|
| HUF_compress1X_usingCTable | |
| ZSTD_compressSequences_internal |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |
Brief:! BIT_initCStream() :* `dstCapacity` must be > sizeof(void*)otherwise an error code (can be tested using ERR_isError() )