pub fn indexWithHash(s: *Smith, len: usize, hash: u32) usize
It is asserted len is nonzero. It is asserted len fits within 64 bits.
len
s: *Smith
len: usize
hash: u32
501 502 503 504 505
pub fn indexWithHash(s: *Smith, len: usize, hash: u32) usize { @disableInstrumentation(); assert(len != 0); return @intCast(s.valueWeightedWithHash(u64, &.{.rangeLessThan(u64, 0, @intCast(len), 1)}, hash)); }
It is asserted
lenis nonzero. It is assertedlenfits within 64 bits.