MCPcopy 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
180func (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
188func (b *BitArray) ClearRange(i0, i1 int) {
189 opRange(

Callers 3

TestIsAnyClearFunction · 0.80
TestSetRangeFunction · 0.80
TestClearRangeFunction · 0.80

Calls 1

opRangeFunction · 0.85

Tested by 3

TestIsAnyClearFunction · 0.64
TestSetRangeFunction · 0.64
TestClearRangeFunction · 0.64