MCPcopy
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
950func (ac *arrayContainer) getCardinality() int {
951 return len(ac.content)
952}
953
954func (ac *arrayContainer) isEmpty() bool {
955 return len(ac.content) == 0

Callers 12

getSizeInBytesMethod · 0.95
serializedSizeInBytesMethod · 0.95
iaddRangeMethod · 0.95
iremoveRangeMethod · 0.95
equalsMethod · 0.95
iorRun16Method · 0.95
iandBitmapMethod · 0.95
andNotBitmapMethod · 0.95
andBitmapMethod · 0.95
andArrayMethod · 0.95
toEfficientContainerMethod · 0.95
validateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected