mi_vector_hash(3) - NetBSD Manual Pages

MI_VECTOR_HASH(3)       NetBSD Library Functions Manual      MI_VECTOR_HASH(3)


NAME
mi_vector_hash -- fast 32bit hash functions
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdlib.h> void mi_vector_hash(const void * restrict key, size_t len, uint32_t seed, uint32_t hashes[3]);
DESCRIPTION
The mi_vector_hash function computes three 32-bit hash values of the mem- ory area starting at key with length len. The output is identical on all architectures and only depends on key and seed.
IMPLEMENTATION NOTES
An optimised code path is used if key is aligned on a 32-bit boundary.
HISTORY
The mi_vector_hash function appeared in NetBSD 6.0.
AUTHORS
The hash function has been created by Bob Jenkins. NetBSD 7.0.2 July 13, 2009 NetBSD 7.0.2

Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.