MCPcopy
hub / github.com/skip2/go-qrcode / BenchmarkShortAppend

Function BenchmarkShortAppend

bitset/bitset_test.go:171–177  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

169}
170
171func BenchmarkShortAppend(b *testing.B) {
172 bitset := New()
173
174 for i := 0; i < b.N; i++ {
175 bitset.AppendBools(b0, b1, b0, b1, b0, b1, b0)
176 }
177}
178
179func TestLen(t *testing.T) {
180 randomBools := make([]bool, 128)

Callers

nothing calls this directly

Calls 2

AppendBoolsMethod · 0.80
NewFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…