函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zlib_deflate\deftree.c Create Date:2022-07-27 07:56:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:gen_codes

函数原型:static void gen_codes(ct_data *tree, int max_code, ush *bl_count)

返回类型:void

参数:

类型参数名称
ct_data *tree
intmax_code
ush *bl_count
502  code等于0
509 bits小于等于maximum heap size 循环
510  next_code[bits]等于code等于codebl_count[bits - 1]左移1位
519 n小于等于max_code循环
520  len等于Len
521  如果len恒等于0则继续下一循环
523  Code等于bitrev32((u32)(next_code[len]++))右移32减len
调用者
名称描述
tr_static_initLocal (static) routines in this file.
build_tree