Function report |
Source Code:lib\zstd\bitstream.h |
Create Date:2022-07-28 07:01:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:BIT_reloadDStream
Proto:ZSTD_STATIC BIT_DStream_status BIT_reloadDStream(BIT_DStream_t *bitD)
Type:BIT_DStream_status
Parameter:
| Type | Parameter | Name |
|---|---|---|
| BIT_DStream_t * | bitD |
| 343 | If bitsConsumed > size of bitContainer * 8 Then Return BIT_DStream_overflow |
| 346 | If ptr >= start + size of bitContainer Then |
| 347 | ptr -= bitsConsumed >> 3 |
| 348 | bitsConsumed &= 7 |
| 349 | bitContainer = ZSTD_readLEST(ptr) |
| 350 | Return BIT_DStream_unfinished |
| 353 | If bitsConsumed < size of bitContainer * 8 Then Return BIT_DStream_endOfBuffer |
| 355 | Return BIT_DStream_completed |
| 358 | nbBytes = bitsConsumed >> 3 |
| 359 | result = BIT_DStream_unfinished |
| 365 | bitsConsumed -= nbBytes * 8 |
| 366 | bitContainer = ZSTD_readLEST(ptr) |
| 367 | Return result |
| 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 |