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

Function lowerMask

container/bitarray/bitarray.go:95–97  ·  view source on GitHub ↗

All the bits from off (inclusive) and below set.

(off uint32)

Source from the content-addressed store, hash-verified

93
94// All the bits from off (inclusive) and below set.
95func lowerMask(off uint32) uint64 {
96 return (uint64(1) << (off + 1)) - 1
97}
98
99func (b *BitArray) IsAnySet(i0, i1 int) bool {
100 return b.isAny(

Callers 3

isAnyMethod · 0.85
setBitsMethod · 0.85
clearBitsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected