Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/RoaringBitmap/roaring
/ computeCardinality
Method
computeCardinality
bitmapcontainer.go:611–613 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
609
}
610
611
func
(bc *bitmapContainer) computeCardinality() {
612
bc.cardinality = int(popcntSlice(bc.bitmap))
613
}
614
615
func
(bc *bitmapContainer) iorArray(ac *arrayContainer) container {
616
for
k :=
range
ac.content {
Callers
9
inot
Method · 0.95
addOffset
Method · 0.95
readFrom
Method · 0.95
orBitmap
Method · 0.80
iorBitmap
Method · 0.80
repairAfterLazy
Method · 0.80
TestAllContainerMethodsAllContainerTypesWithData067
Function · 0.80
xorArray
Method · 0.80
repairAfterLazy
Function · 0.80
Calls
1
popcntSlice
Function · 0.70
Tested by
1
TestAllContainerMethodsAllContainerTypesWithData067
Function · 0.64