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

Method setNeedsCopyOnWrite

roaring64/roaringarray64.go:406–408  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

404}
405
406func (ra *roaringArray64) setNeedsCopyOnWrite(i int) {
407 ra.needCopyOnWrite[i] = true
408}
409
410// should be dirt cheap
411func (ra *roaringArray64) serializedSizeInBytes() uint64 {

Callers 3

appendCopyMethod · 0.45
appendCopiesUntilMethod · 0.45
appendCopiesAfterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected