Function report |
Source Code:lib\zstd\fse_compress.c |
Create Date:2022-07-28 07:02:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:FSE_compress_usingCTable_generic
Proto:static size_t FSE_compress_usingCTable_generic(void *dst, size_t dstSize, const void *src, size_t srcSize, const FSE_CTable *ct, const unsigned fast)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
void * | dst | |
size_t | dstSize | |
const void * | src | |
size_t | srcSize | |
const FSE_CTable * | ct | |
const unsigned | fast |
734 | If srcSize <= 2 Then Return 0 |
737 | initError = : 0 if success, |
738 | If Error Management Then Return 0 |
744 | If srcSize & 1 Then |
747 | FSE_encodeSymbol( & bitC, & CState1, * --ip) |
749 | Else |
755 | srcSize -= 2 |
756 | If size of bitContainer * 8 > Constants * 4 + 7 && srcSize & 2 Then |
757 | FSE_encodeSymbol( & bitC, & CState2, * --ip) |
758 | FSE_encodeSymbol( & bitC, & CState1, * --ip) |
765 | FSE_encodeSymbol( & bitC, & CState2, * --ip) |
767 | If size of bitContainer * 8 < Constants * 2 + 7 Then it ( & bitC) |
770 | FSE_encodeSymbol( & bitC, & CState1, * --ip) |
772 | If size of bitContainer * 8 > Constants * 4 + 7 Then |
773 | FSE_encodeSymbol( & bitC, & CState2, * --ip) |
774 | FSE_encodeSymbol( & bitC, & CState1, * --ip) |
780 | FSE_flushCState( & bitC, & CState2) |
781 | FSE_flushCState( & bitC, & CState1) |
782 | Return BIT_closeCStream( & bitC) |
Name | Describe |
---|---|
FSE_compress_usingCTable |
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 |