Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/perkeep/perkeep
/ BenchmarkLoopbackIP
Function
BenchmarkLoopbackIP
internal/netutil/netutil_test.go:194–200 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
192
}
193
194
func
BenchmarkLoopbackIP(b *testing.B) {
195
for
i := 0; i < b.N; i++ {
196
if
ip := loopbackIP(); ip == nil {
197
b.Fatal(
"no ip found."
)
198
}
199
}
200
}
Callers
nothing calls this directly
Calls
2
loopbackIP
Function · 0.85
Fatal
Method · 0.80
Tested by
no test coverage detected