Function report |
Source Code:lib\zstd\compress.c |
Create Date:2022-07-28 07:04:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ZSTD_HcFindBestMatch_generic
Proto:size_t ZSTD_HcFindBestMatch_generic(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLimit, size_t *offsetPtr, const U32 maxNbAttempts, const U32 mls, const U32 extDict)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
ZSTD_CCtx * | zc | Index table will be updated |
const BYTE *const | ip | |
const BYTE *const | iLimit | |
size_t * | offsetPtr | |
const U32 | maxNbAttempts | |
const U32 | mls | |
const U32 | extDict |
1823 | chainTable = chainTable |
1829 | prefixStart = base + dictLimit |
1834 | nbAttempts = maxNbAttempts |
1835 | ml = EQUAL_READ32 - 1 |
1840 | When matchIndex > lowLimit & nbAttempts > 0 cycle |
1842 | currMl = 0 |
1843 | If Not extDict || matchIndex >= dictLimit Then |
1844 | match = base + matchIndex |
1847 | Else |
1848 | match = dictBase + matchIndex |
1856 | offsetPtr = curr - matchIndex + ZSTD_REP_MOVE |
1861 | If matchIndex <= minChain Then Break |
1863 | matchIndex = Hash Chain(matchIndex, chainMask) |
1866 | Return ml |
Name | Describe |
---|---|
ZSTD_HcFindBestMatch_selectMLS | |
ZSTD_HcFindBestMatch_extDict_selectMLS |
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 |