Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/segmentio/encoding
/ benchmarkIsZeroBytes
Function
benchmarkIsZeroBytes
proto/bytes_test.go:21–25 ·
view source on GitHub ↗
(b *testing.B, slice []byte)
Source
from the content-addressed store, hash-verified
19
}
20
21
func
benchmarkIsZeroBytes(b *testing.B, slice []byte) {
22
for
range
b.N {
23
isZeroBytes(slice)
24
}
25
}
Callers
4
BenchmarkIsZeroBytes0
Function · 0.85
BenchmarkIsZeroBytes4
Function · 0.85
BenchmarkIsZeroBytes7
Function · 0.85
BenchmarkIsZeroBytes64K
Function · 0.85
Calls
1
isZeroBytes
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…