def bhash_n
import mylsm-lsm-store@0.3.2.0/src/Sstable.bend as Sstableimport Base
122def bhash_n(str: String, seed: U32, mod: Nat) -> Nat:
123 match mod:
124 case 0n:
125 0n
126 case 1n+p:
127 bhash_n_pos(str, seed, mod)
import mylsm-lsm-store@0.3.2.0/src/Sstable.bend as Sstableimport Base
122def bhash_n(str: String, seed: U32, mod: Nat) -> Nat:
123 match mod:
124 case 0n:
125 0n
126 case 1n+p:
127 bhash_n_pos(str, seed, mod)