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

Function BenchmarkIsZeroBytes64K

proto/bytes_test.go:17–19  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

15}
16
17func BenchmarkIsZeroBytes64K(b *testing.B) {
18 benchmarkIsZeroBytes(b, make([]byte, 64*1024))
19}
20
21func benchmarkIsZeroBytes(b *testing.B, slice []byte) {
22 for range b.N {

Callers

nothing calls this directly

Calls 1

benchmarkIsZeroBytesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…