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

Function mask0

instructions.go:134–134  ·  view source on GitHub ↗

creates a mask with 'n' 0 bits at position 'p'

(n, p uint)

Source from the content-addressed store, hash-verified

132
133// creates a mask with 'n' 0 bits at position 'p'
134func mask0(n, p uint) instruction { return ^mask1(n, p) }
135
136func (i instruction) opCode() opCode { return opCode(i >> posOp & (1<<sizeOp - 1)) }
137func (i instruction) arg(pos, size uint) int { return int(i >> pos & mask1(size, 0)) }

Callers 1

setArgMethod · 0.85

Calls 1

mask1Function · 0.85

Tested by

no test coverage detected