MCPcopy Index your code
hub / github.com/dropbox/godropbox / ClearRange

Method ClearRange

container/bitarray/bitarray.go:188–194  ·  view source on GitHub ↗
(i0, i1 int)

Source from the content-addressed store, hash-verified

186}
187
188func (b *BitArray) ClearRange(i0, i1 int) {
189 opRange(
190 b.clearBits,
191 func(idx int) { b.vs[idx] = 0 },
192 i0,
193 i1)
194}
195
196func (b *BitArray) OrEquals(b2 *BitArray) {
197 var n int

Callers 1

TestClearRangeFunction · 0.80

Calls 1

opRangeFunction · 0.85

Tested by 1

TestClearRangeFunction · 0.64