MCPcopy Create free account
hub / github.com/rsc/tmp / predict

Method predict

mpt/dmem.go:270–327  ·  view source on GitHub ↗

predict calculates the edited tree hash for the subtree at address a.

(s []node, a addr, pbit int, list []KeyVal)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

PredictMethod · 0.95

Calls 10

nodeMethod · 0.95
prefixFunction · 0.85
reduceFunction · 0.85
hashLeafFunction · 0.85
keyValMethod · 0.80
leftMethod · 0.80
rightMethod · 0.80
bitMethod · 0.45
compareMethod · 0.45
hashMethod · 0.45

Tested by

no test coverage detected