MCPcopy Index your code
hub / github.com/Shopify/go-lua / mask

Function mask

bit32.go:10–10  ·  view source on GitHub ↗
(n uint)

Source from the content-addressed store, hash-verified

8
9func trim(x uint) uint { return x & math.MaxUint32 }
10func mask(n uint) uint { return ^(math.MaxUint32 << n) }
11
12func shift(l *State, r uint, i int) int {
13 if i < 0 {

Callers 1

bit32.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected