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

Method setNeedsCopyOnWrite

roaringarray.go:784–786  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

782}
783
784func (ra *roaringArray) setNeedsCopyOnWrite(i int) {
785 ra.needCopyOnWrite[i] = true
786}
787
788func (ra *roaringArray) checkKeysSorted() bool {
789 if len(ra.keys) == 0 || len(ra.keys) == 1 {

Callers 3

appendCopyMethod · 0.45
appendCopiesUntilMethod · 0.45
appendCopiesAfterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected