MCPcopy Index your code
hub / github.com/Workiva/go-datastructures / TestBitmap64_GetBit

Function TestBitmap64_GetBit

bitarray/bitmap_test.go:86–89  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

84}
85
86func TestBitmap64_GetBit(t *testing.T) {
87 m := Bitmap64(0x55555555)
88 assert.Equal(t, true, m.GetBit(2))
89}
90
91func BenchmarkBitmap32_PopCount(b *testing.B) {
92 m := Bitmap32(0x33333333)

Callers

nothing calls this directly

Calls 2

Bitmap64TypeAlias · 0.85
GetBitMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…