MCPcopy Index your code
hub / github.com/RoaringBitmap/roaring / runContainer16SerializedSizeInBytes

Function runContainer16SerializedSizeInBytes

runcontainer.go:1016–1018  ·  view source on GitHub ↗

runContainer16SerializedSizeInBytes returns the number of bytes of disk required to hold numRuns in a runContainer16.

(numRuns int)

Source from the content-addressed store, hash-verified

1014// runContainer16SerializedSizeInBytes returns the number of bytes of disk
1015// required to hold numRuns in a runContainer16.
1016func runContainer16SerializedSizeInBytes(numRuns int) int {
1017 return perIntervalRc16Size*numRuns + baseRc16Size
1018}
1019
1020// Add adds a single value k to the set.
1021func (rc *runContainer16) Add(k uint16) (wasNew bool) {

Callers 4

toEfficientContainerMethod · 0.85
toEfficientContainerMethod · 0.85
validateMethod · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…