Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/egonelbre/exp
/ Decode
Method
Decode
coder/arith/models.go:142–149 ·
view source on GitHub ↗
(dec *Decoder)
Source
from the content-addressed store, hash-verified
140
}
141
142
func
(tree Tree) Decode(dec *Decoder) (value uint) {
143
ctx := uint(1)
144
syms := tree.syms()
145
for
ctx < syms {
146
ctx += ctx + tree[ctx-1].Decode(dec)
147
}
148
return
ctx - syms
149
}
Callers
nothing calls this directly
Calls
2
syms
Method · 0.95
Decode
Method · 0.65
Tested by
no test coverage detected