MCPcopy Create free account
hub / github.com/IoLanguage/io / UArray_fnvHash

Function UArray_fnvHash

libs/basekit/source/UArray_math.c:511–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511uintptr_t UArray_fnvHash(UArray *self) {
512 return (uintptr_t)fnv_32_buf((void *)(self->data), UArray_sizeInBytes(self),
513 FNV1_32_INIT)
514 << 1; // ensures odd result
515}
516
517uintptr_t UArray_murmurHash(UArray *self) {
518 return (uintptr_t)MurmurHash2((const void *)(self->data),

Callers 1

UArray_calcEvenHashFunction · 0.85

Calls 2

fnv_32_bufFunction · 0.85
UArray_sizeInBytesFunction · 0.85

Tested by

no test coverage detected