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

Method IsAnySet

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

Source from the content-addressed store, hash-verified

97}
98
99func (b *BitArray) IsAnySet(i0, i1 int) bool {
100 return b.isAny(
101 func(v uint64, mask uint64) bool { return (v & mask) != 0 },
102 func(v uint64) bool { return v != 0 },
103 i0,
104 i1)
105}
106
107func (b *BitArray) IsAnyClear(i0, i1 int) bool {
108 return b.isAny(

Callers 2

TestIsAnySetFunction · 0.80
TestSetRangeFunction · 0.80

Calls 1

isAnyMethod · 0.95

Tested by 2

TestIsAnySetFunction · 0.64
TestSetRangeFunction · 0.64