HashTable.probe: def of bend-collections-laws-math@1.0.0.0 Import: import bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend as HashTable Lines 250-257 of bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend&start_line=250&end_line=257 import Base # The bucket holding key (link != 0) or the empty bucket ending its probe, # the key as it would be stored (SNil for a one-character key), and its word. def probe(tab: Array, ks: Array, +mask: U32, key: String) -> Found & U32: match key: case SNil{}: probe_long(tab, ks, mask, SNil{}) case SCon{Chr{+c}, t}: probe_c(tab, ks, mask, c, t) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair 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=bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend&name=Found https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend&name=probe_c https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend&name=probe_long