HashTable.ins_slot: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/src/containers/hash_table.bend as HashTable Lines 414-420 of bend-collections-laws-crypto@1.0.0.0/src/containers/hash_table.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/src/containers/hash_table.bend&start_line=414&end_line=420 import Base # The new entry's slot s is chosen; its bucket is at (or, after growth, found anew). def ins_slot(a, -V: Kind(a), +n: U32, +mask: U32, +td: U32, +fresh: U32, +sz: U32, +sd: U32, +free: U32, tab: Array, ks: Array, vs: Array>, nx: Array, +s: U32, +at: U32, +w: U32, key: String, x: V, over: Bool) -> HashMap: match over: case False{}: ins_fin(a, V, n, mask, td, fresh, sz, sd, free, put_bucket(tab, at, w, link(s)), nx, store(a, V, ks, vs, s, key, x)) case True{}: ins_fin(a, V, n, U32.inc(U32.shl(mask)), U32.inc(td), fresh, sz, sd, free, ins_raw(grow_tab(mask, td, tab), U32.inc(U32.shl(mask)), w, link(s)), nx, store(a, V, ks, vs, s, key, x)) Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.inc https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shl https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/containers/hash_table.bend&name=HashMap https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/containers/hash_table.bend&name=grow_tab https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/containers/hash_table.bend&name=ins_fin https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/containers/hash_table.bend&name=ins_raw https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/containers/hash_table.bend&name=link https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/containers/hash_table.bend&name=put_bucket https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/containers/hash_table.bend&name=store