Function hash [src]
Prototype
pub fn hash(ctx: @This(), key: u32) u64 Parameters
ctx: @This()key: u32 Source
pub fn hash(ctx: @This(), key: u32) u64 {
return hashString(mem.sliceTo(ctx.bytes.items[key..], 0));
} pub fn hash(ctx: @This(), key: u32) u64 ctx: @This()key: u32 pub fn hash(ctx: @This(), key: u32) u64 {
return hashString(mem.sliceTo(ctx.bytes.items[key..], 0));
}