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

Method replaceKeyAndContainerAtIndex

roaringarray.go:409–413  ·  view source on GitHub ↗
(i int, key uint16, c container, mustCopyOnWrite bool)

Source from the content-addressed store, hash-verified

407}
408
409func (ra *roaringArray) replaceKeyAndContainerAtIndex(i int, key uint16, c container, mustCopyOnWrite bool) {
410 ra.keys[i] = key
411 ra.containers[i] = c
412 ra.needCopyOnWrite[i] = mustCopyOnWrite
413}
414
415func (ra *roaringArray) size() int {
416 return len(ra.keys)

Callers 4

AndMethod · 0.45
OrMethod · 0.45
AndNotMethod · 0.45
AndAnyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected