def bpf_mem.bit.go
import bend-osdev-bpf@0.1.0.0/validate.bend as Validateimport Base
147def bpf_mem.bit.go(small: Bool, k: U32) -> U32:
148 match small:
149 case True{}:
150 U32.shln(1, U32.to_nat(k))
151 case False{}:
152 0
import bend-osdev-bpf@0.1.0.0/validate.bend as Validateimport Base
147def bpf_mem.bit.go(small: Bool, k: U32) -> U32:
148 match small:
149 case True{}:
150 U32.shln(1, U32.to_nat(k))
151 case False{}:
152 0