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

Method setContainerAtIndex

roaringarray.go:405–407  ·  view source on GitHub ↗
(i int, c container)

Source from the content-addressed store, hash-verified

403}
404
405func (ra *roaringArray) setContainerAtIndex(i int, c container) {
406 ra.containers[i] = c
407}
408
409func (ra *roaringArray) replaceKeyAndContainerAtIndex(i int, key uint16, c container, mustCopyOnWrite bool) {
410 ra.keys[i] = key

Callers 12

AddOffset64Function · 0.45
AddMethod · 0.45
addwithptrMethod · 0.45
CheckedAddMethod · 0.45
RemoveMethod · 0.45
CheckedRemoveMethod · 0.45
XorMethod · 0.45
AddManyMethod · 0.45
FlipMethod · 0.45
AddRangeMethod · 0.45
RemoveRangeMethod · 0.45
repairAfterLazyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected