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

Method clearBits

container/bitarray/bitarray.go:176–178  ·  view source on GitHub ↗
(idx int, off1 uint32, off2 uint32)

Source from the content-addressed store, hash-verified

174}
175
176func (b *BitArray) clearBits(idx int, off1 uint32, off2 uint32) {
177 b.vs[idx] &= ^(upperMask(off1) & lowerMask(off2))
178}
179
180func (b *BitArray) SetRange(i0, i1 int) {
181 opRange(

Callers

nothing calls this directly

Calls 2

upperMaskFunction · 0.85
lowerMaskFunction · 0.85

Tested by

no test coverage detected