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

Function upperMask

container/bitarray/bitarray.go:90–92  ·  view source on GitHub ↗

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

(off uint32)

Source from the content-addressed store, hash-verified

88
89// All the bits from off (inclusive) and above set.
90func upperMask(off uint32) uint64 {
91 return ^((uint64(1) << off) - 1)
92}
93
94// All the bits from off (inclusive) and below set.
95func lowerMask(off uint32) uint64 {

Callers 3

isAnyMethod · 0.85
setBitsMethod · 0.85
clearBitsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected