Function report |
Source Code:lib\zstd\huf_compress.c |
Create Date:2022-07-28 07:02:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:HUF_compress4X_usingCTable
Proto:size_t HUF_compress4X_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 |
583 | segmentSize = (srcSize + 3) / 4 |
590 | If dstSize < 6 + 1 + 1 + 1 + 8 Then Return 0 |
592 | If srcSize < 12 Then Return 0 |
594 | op += 6 |
597 | CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable)) |
598 | If cSize == 0 Then Return 0 |
600 | ZSTD_writeLE16(ostart, (U16)cSize) |
604 | ip += segmentSize |
606 | CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable)) |
607 | If cSize == 0 Then Return 0 |
609 | ZSTD_writeLE16(ostart + 2, (U16)cSize) |
613 | ip += segmentSize |
615 | CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable)) |
616 | If cSize == 0 Then Return 0 |
618 | ZSTD_writeLE16(ostart + 4, (U16)cSize) |
622 | ip += segmentSize |
625 | If cSize == 0 Then Return 0 |
Name | Describe |
---|---|
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 |