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

Method clear

roaring64/roaringarray64.go:144–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142}
143
144func (ra *roaringArray64) clear() {
145 ra.resize(0)
146 ra.copyOnWrite = false
147}
148
149func (ra *roaringArray64) clone() *roaringArray64 {
150 sa := roaringArray64{}

Callers 2

ClearMethod · 0.45

Calls 1

resizeMethod · 0.95

Tested by 1