MCPcopy Create free account
hub / github.com/segmentio/encoding / BenchmarkHasPrefix

Function BenchmarkHasPrefix

json/parse_test.go:166–170  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

164)
165
166func BenchmarkHasPrefix(b *testing.B) {
167 for range b.N {
168 benchmarkHasPrefixResult = hasPrefix(benchmarkHasPrefixString, "null")
169 }
170}
171
172func BenchmarkHasNullPrefix(b *testing.B) {
173 for range b.N {

Callers

nothing calls this directly

Calls 1

hasPrefixFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…