MCPcopy Create free account
hub / github.com/RoaringBitmap/roaring / newRunContainer16CopyIv

Function newRunContainer16CopyIv

runcontainer.go:978–984  ·  view source on GitHub ↗

newRunContainer16CopyIv creates a run container, initializing with a copy of the supplied iv slice.

(iv []interval16)

Source from the content-addressed store, hash-verified

976// newRunContainer16CopyIv creates a run container, initializing
977// with a copy of the supplied iv slice.
978func newRunContainer16CopyIv(iv []interval16) *runContainer16 {
979 rc := &runContainer16{
980 iv: make([]interval16, len(iv)),
981 }
982 copy(rc.iv, iv)
983 return rc
984}
985
986func (rc *runContainer16) Clone() *runContainer16 {
987 rc2 := newRunContainer16CopyIv(rc.iv)

Callers 3

TestRleRunIterator16Function · 0.85
CloneMethod · 0.85
cloneMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestRleRunIterator16Function · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…