Function report |
Source Code:lib\zstd\huf_compress.c |
Create Date:2022-07-28 07:02:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:HUF_compress1X_usingCTable
Proto:size_t HUF_compress1X_usingCTable(void *dst, size_t dstSize, const void *src, size_t srcSize, const HUF_CElt *CTable)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
void * | dst | |
size_t | dstSize | |
const void * | src | |
size_t | srcSize | |
const HUF_CElt * | CTable |
548 | If dstSize < 8 Then Return 0 |
551 | initErr = : 0 if success, |
552 | If Error Management Then Return 0 |
558 | Case & == 3 |
558 | HUF_encodeSymbol( & bitC, ip[n + 2], CTable) |
560 | Case & == 2 |
560 | HUF_encodeSymbol( & bitC, ip[n + 1], CTable) |
562 | Case & == 1 |
562 | HUF_encodeSymbol( & bitC, ip[n + 0], CTable) |
562 | HUF_FLUSHBITS( & bitC) |
563 | Case & == 0 |
564 | Default |
568 | HUF_encodeSymbol( & bitC, ip[n - 1], CTable) |
570 | HUF_encodeSymbol( & bitC, ip[n - 2], CTable) |
572 | HUF_encodeSymbol( & bitC, ip[n - 3], CTable) |
574 | HUF_encodeSymbol( & bitC, ip[n - 4], CTable) |
575 | HUF_FLUSHBITS( & bitC) |
578 | Return BIT_closeCStream( & bitC) |
Name | Describe |
---|---|
HUF_compress4X_usingCTable | |
HUF_compressCTable_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 |