Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/egonelbre/exp
/ msb
Method
msb
coder/arith/models.go:108–108 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
106
107
func
(tree Tree) syms() uint {
return
uint(len(tree) + 1) }
108
func
(tree Tree) msb() uint {
return
tree.syms() / 2 }
109
110
func
NewTree(nbits uint, model
func
() Model) Tree {
111
syms := 1 << nbits
Callers
1
Encode
Method · 0.95
Calls
1
syms
Method · 0.95
Tested by
no test coverage detected