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

Function trim

bit32.go:9–9  ·  view source on GitHub ↗
(x uint)

Source from the content-addressed store, hash-verified

7const bitCount = 32
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 {

Callers 4

shiftFunction · 0.85
rotateFunction · 0.85
bitOpFunction · 0.85
bit32.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected