MCPcopy
hub / github.com/RoaringBitmap/roaring / bitValue

Method bitValue

bitmapcontainer.go:1099–1103  ·  view source on GitHub ↗
(i uint16)

Source from the content-addressed store, hash-verified

1097}
1098
1099func (bc *bitmapContainer) bitValue(i uint16) uint64 {
1100 x := uint(i)
1101 w := bc.bitmap[x>>6]
1102 return (w >> (x & 63)) & 1
1103}
1104
1105func (bc *bitmapContainer) loadData(arrayContainer *arrayContainer) {
1106 bc.cardinality = arrayContainer.getCardinality()

Callers 6

andArrayMethod · 0.95
andArrayCardinalityMethod · 0.95
iandBitmapMethod · 0.80
andNotBitmapMethod · 0.80
andBitmapMethod · 0.80
iandNotBitmapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected