MCPcopy Create free account
hub / github.com/egonelbre/exp / NewEmptyTree

Function NewEmptyTree

coder/arith/models.go:119–121  ·  view source on GitHub ↗
(nbits uint)

Source from the content-addressed store, hash-verified

117}
118
119func NewEmptyTree(nbits uint) Tree {
120 return make(Tree, 1<<nbits-1)
121}
122
123func (tree Tree) Encode(enc *Encoder, value uint) {
124 if value > tree.syms() {

Callers 1

TestTreeModelFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestTreeModelFunction · 0.68