def mv_if

bend-collections-laws-crypto@1.0.0.0 · src/containers/hash_table.bend:305

import bend-collections-laws-crypto@1.0.0.0/src/containers/hash_table.bend as HashTable
import Base

305def mv_if(+k: U32, old: Array<U32>, nt: Array<U32>, +nmask: U32, +w: U32, e: Bool) -> Mv:
306  match e:
307    case True{}:
308      MV{old, nt}
309    case False{}:
310      mv_l(w, nt, nmask, Array.get(U32, old, U32.inc(U32.shl(k))))

Uses (8)

Used by (1)