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

Function BenchmarkHasNullPrefix

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

Source from the content-addressed store, hash-verified

170}
171
172func BenchmarkHasNullPrefix(b *testing.B) {
173 for range b.N {
174 benchmarkHasPrefixResult = hasNullPrefix(benchmarkHasPrefixString)
175 }
176}
177
178func BenchmarkHasTruePrefix(b *testing.B) {
179 for range b.N {

Callers

nothing calls this directly

Calls 1

hasNullPrefixFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…