MCPcopy
hub / github.com/RoaringBitmap/roaring / appendCopyMany

Method appendCopyMany

roaringarray.go:176–180  ·  view source on GitHub ↗
(sa roaringArray, startingindex, end int)

Source from the content-addressed store, hash-verified

174}
175
176func (ra *roaringArray) appendCopyMany(sa roaringArray, startingindex, end int) {
177 for i := startingindex; i < end; i++ {
178 ra.appendCopy(sa, i)
179 }
180}
181
182func (ra *roaringArray) appendCopiesUntil(sa roaringArray, stoppingKey uint16) {
183 // cow only if the two request it, or if we already have a lightweight copy

Callers 7

XorMethod · 0.45
OrMethod · 0.45
OrFunction · 0.45
XorFunction · 0.45
AndNotFunction · 0.45
lazyORFunction · 0.45
lazyORMethod · 0.45

Calls 1

appendCopyMethod · 0.95

Tested by

no test coverage detected