def bump_lo

bend-collections@1.0.0.0 · src/containers/lru.bend:193

import bend-collections@1.0.0.0/src/containers/lru.bend as Lru
import Base

193def bump_lo(+c: U32, r: Array<U32> & U32) -> Array<U32>:
194  (k, +l) = r
195  +l2 = U32.inc(l)
196  bump_hi(Array.set(U32, k, U32.add(16, U32.shl(c)), l2), c, U32.is_eq(l2, 0))

Uses (10)

Used by (1)