Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dropbox/godropbox
/ SetRange
Method
SetRange
container/bitarray/bitarray.go:180–186 ·
view source on GitHub ↗
(i0, i1 int)
Source
from the content-addressed store, hash-verified
178
}
179
180
func
(b *BitArray) SetRange(i0, i1 int) {
181
opRange(
182
b.setBits,
183
func
(idx int) { b.vs[idx] = ^uint64(0) },
184
i0,
185
i1)
186
}
187
188
func
(b *BitArray) ClearRange(i0, i1 int) {
189
opRange(
Callers
3
TestIsAnyClear
Function · 0.80
TestSetRange
Function · 0.80
TestClearRange
Function · 0.80
Calls
1
opRange
Function · 0.85
Tested by
3
TestIsAnyClear
Function · 0.64
TestSetRange
Function · 0.64
TestClearRange
Function · 0.64