Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xz\xz_lzma2.h Create Date:2022-07-28 06:17:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Get the index of the appropriate probability array for decoding* the distance slot.

Proto:static inline uint32_t lzma_get_dist_state(uint32_t len)

Type:uint32_t

Parameter:

TypeParameterName
uint32_tlen
149  Return If len < Different sets of probabilities are used for match distances that have* very short match length: Lengths of 2, 3, and 4 bytes have a separate* set of probabilities for each length. The matches with longer length* use a shared set of probabilities. + Minimum length of a match is two bytes. Then len - Minimum length of a match is two bytes. Else Different sets of probabilities are used for match distances that have* very short match length: Lengths of 2, 3, and 4 bytes have a separate* set of probabilities for each length. The matches with longer length* use a shared set of probabilities. - 1
Caller
NameDescribe
lzma_matchDecode a match. The distance will be stored in s->lzma.rep0.