def set_life

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

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

576def set_life(m: Array<U32>, s: W.U64, +on: U32) -> Array<U32>:
577  W.U64{+lo, +hi} = s
578  Array.set(U32, Array.set(U32, Array.set(U32, m, 3, on), 4, lo), 5, hi)

Uses (4)

Used by (1)