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

Method IsAnyClear

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

Source from the content-addressed store, hash-verified

105}
106
107func (b *BitArray) IsAnyClear(i0, i1 int) bool {
108 return b.isAny(
109 func(v uint64, mask uint64) bool { return ((^v) & mask) != 0 },
110 func(v uint64) bool { return v != ^uint64(0) },
111 i0,
112 i1)
113}
114
115func (b *BitArray) isAny(
116 opBits func(v uint64, mask uint64) bool,

Callers 2

TestIsAnyClearFunction · 0.80
TestClearRangeFunction · 0.80

Calls 1

isAnyMethod · 0.95

Tested by 2

TestIsAnyClearFunction · 0.64
TestClearRangeFunction · 0.64