Function report |
Source Code:lib\zstd\zstd_opt.h |
Create Date:2022-07-28 07:04:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ZSTD_updatePrice
Proto:ZSTD_STATIC void ZSTD_updatePrice(seqStore_t *seqStorePtr, U32 litLength, const BYTE *literals, U32 offset, U32 matchLength)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| seqStore_t * | seqStorePtr | |
| U32 | litLength | |
| const BYTE * | literals | |
| U32 | offset | |
| U32 | matchLength |
| 170 | litSum += litLength * ZSTD_LITFREQ_ADD |
| 176 | LL_deltaCode = 19 |
| 177 | llCode = If litLength > 63 Then ====== common function ====== + LL_deltaCode Else LL_Code[litLength] |
| 178 | litLengthFreq[llCode]++ |
| 179 | litLengthSum++ |
| 185 | offCodeSum++ |
| 186 | offCodeFreq[offCode]++ |
| 191 | ML_deltaCode = 36 |
| 192 | mlCode = If matchLength > 127 Then ====== common function ====== + ML_deltaCode Else ML_Code[matchLength] |
| 193 | matchLengthFreq[mlCode]++ |
| 194 | matchLengthSum++ |
| 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 |