Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/RoaringBitmap/roaring
/ getCardinality
Method
getCardinality
arraycontainer.go:950–952 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
948
}
949
950
func
(ac *arrayContainer) getCardinality() int {
951
return
len(ac.content)
952
}
953
954
func
(ac *arrayContainer) isEmpty() bool {
955
return
len(ac.content) == 0
Callers
12
getSizeInBytes
Method · 0.95
serializedSizeInBytes
Method · 0.95
iaddRange
Method · 0.95
iremoveRange
Method · 0.95
equals
Method · 0.95
iorRun16
Method · 0.95
iandBitmap
Method · 0.95
andNotBitmap
Method · 0.95
andBitmap
Method · 0.95
andArray
Method · 0.95
toEfficientContainer
Method · 0.95
validate
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected