Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
9
func
trim(x uint) uint {
return
x & math.MaxUint32 }
10
func
mask(n uint) uint {
return
^(math.MaxUint32 << n) }
11
12
func
shift(l *State, r uint, i int) int {
13
if
i < 0 {
Callers
1
bit32.go
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected