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

Function BenchmarkHasTruePrefix

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

Source from the content-addressed store, hash-verified

176}
177
178func BenchmarkHasTruePrefix(b *testing.B) {
179 for range b.N {
180 benchmarkHasPrefixResult = hasTruePrefix(benchmarkHasPrefixString)
181 }
182}
183
184func BenchmarkHasFalsePrefix(b *testing.B) {
185 for range b.N {

Callers

nothing calls this directly

Calls 1

hasTruePrefixFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…