Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zlib_deflate\deftree.c Create Date:2022-07-28 06:58:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:gen_codes

Proto:static void gen_codes(ct_data *tree, int max_code, ush *bl_count)

Type:void

Parameter:

TypeParameterName
ct_data *tree
intmax_code
ush *bl_count
502  code = 0
509  When bits <= maximum heap size cycle
510  next_code[bits] = code = code + bl_count[bits - 1] << 1
519  When n <= max_code cycle
520  len = Len
521  If len == 0 Then Continue
523  Code = bitrev32((u32)(next_code[len]++)) >> 32 - len
Caller
NameDescribe
tr_static_initLocal (static) routines in this file.
build_tree