Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/RoaringBitmap/roaring
/ clear
Method
clear
roaringarray.go:253–256 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
251
}
252
253
func
(ra *roaringArray) clear() {
254
ra.resize(0)
255
ra.copyOnWrite = false
256
}
257
258
func
(ra *roaringArray) clone() *roaringArray {
259
sa := roaringArray{}
Callers
2
Clear
Method · 0.45
TestRoaringArrayValidation
Function · 0.45
Calls
1
resize
Method · 0.95
Tested by
1
TestRoaringArrayValidation
Function · 0.36