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:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:send_tree

Proto:static void send_tree(deflate_state *s, ct_data *tree, int max_code)

Type:void

Parameter:

TypeParameterName
deflate_state *s
ct_data *tree
intmax_code
679  prevlen = -1
681  nextlen = Len
682  count = 0
683  max_count = 7
684  min_count = 4
687  If nextlen == 0 Then max_count = 138 , min_count = 3
689  When n <= max_code cycle
690  curlen = nextlen
690  nextlen = Len
691  If ++count < max_count && curlen == nextlen Then
692  Continue
693  Else if count < min_count Then
694  Do
694  When --count != 0 cycle
696  Else if curlen != 0 Then
697  If curlen != prevlen Then
703  Else if count <= 10 Then
706  Else
709  count = 0
709  prevlen = curlen
710  If nextlen == 0 Then
711  max_count = 138 , min_count = 3
712  Else if curlen == nextlen Then
713  max_count = 6 , min_count = 3
714  Else
715  max_count = 7 , min_count = 4
Caller
NameDescribe
send_all_trees