Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ BenchmarkCheckHashErr
Function
BenchmarkCheckHashErr
internal/utils/bfs/hash_test.go:23–27 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
21
}
22
23
func
BenchmarkCheckHashErr(b *testing.B) {
24
for
i := 0; i < b.N; i++ {
25
_ = bfs.CheckHash(bfs.Hash(strconv.Itoa(rand.Int())))
26
}
27
}
Callers
nothing calls this directly
Calls
2
CheckHash
Function · 0.92
Hash
Function · 0.92
Tested by
no test coverage detected