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

Method appendContainer

roaring64/roaringarray64.go:34–38  ·  view source on GitHub ↗
(key uint32, value *roaring.Bitmap, mustCopyOnWrite bool)

Source from the content-addressed store, hash-verified

32}
33
34func (ra *roaringArray64) appendContainer(key uint32, value *roaring.Bitmap, mustCopyOnWrite bool) {
35 ra.keys = append(ra.keys, key)
36 ra.containers = append(ra.containers, value)
37 ra.needCopyOnWrite = append(ra.needCopyOnWrite, mustCopyOnWrite)
38}
39
40func (ra *roaringArray64) appendWithoutCopy(sa roaringArray64, startingindex int) {
41 mustCopyOnWrite := sa.needCopyOnWrite[startingindex]

Callers 9

appendWithoutCopyMethod · 0.95
appendCopyMethod · 0.95
appendCopiesUntilMethod · 0.95
appendCopiesAfterMethod · 0.95
orOnRangeFunction · 0.95
OrFunction · 0.45
AndFunction · 0.45
XorFunction · 0.45
AndNotFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected