def sh_if

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

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

350def sh_if(tab: Array<U32>, +mask: U32, +i: U32, +k: U32, +w: U32, e: Bool) -> Sh:
351  match e:
352    case True{}:
353      HEnd{tab}
354    case False{}:
355      sh_l(w, mask, i, k, Array.get(U32, tab, U32.inc(U32.shl(k))))

Uses (8)

Used by (1)