lib/ruby/truffle/pr-zlib/lib/pr/rbzlib.rb
# Initialize the tree data structures for a new zlib stream.
Initialize the tree data structures for a new zlib stream.
Initialize the tree data structures for a new zlib stream .
def _tr_init(s)
    s.l_desc = Tree_desc.new
    s.l_desc.dyn_tree = s.dyn_ltree
    s.l_desc.stat_desc = @@static_l_desc
    s.d_desc = Tree_desc.new
    s.d_desc.dyn_tree = s.dyn_dtree
    s.d_desc.stat_desc = @@static_d_desc
    s.bl_desc = Tree_desc.new
    s.bl_desc.dyn_tree = s.bl_tree
    s.bl_desc.stat_desc = @@static_bl_desc
    s.bi_buf = 0
    s.bi_valid = 0
    s.last_eob_len = 8
    init_block(s)
  end
def _tr_init ( s ) s . l_desc = Tree_desc . new s . l_desc . dyn_tree = s . dyn_ltree s . l_desc . stat_desc = @@static_l_desc s . d_desc = Tree_desc . new s . d_desc . dyn_tree = s . dyn_dtree s . d_desc . stat_desc = @@static_d_desc s . bl_desc = Tree_desc . new s . bl_desc . dyn_tree = s . bl_tree s . bl_desc . stat_desc = @@static_bl_desc s . bi_buf = 0 s . bi_valid = 0 s . last_eob_len = 8 init_block ( s ) end
Initialize the tree data structures for a new zlib stream.
Initialize the tree data structures for a new zlib stream .
s
<not_specific>