unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (NetBSD-6.1.5)
Page:
Section:
Apropos / Subsearch:
optional field

MI_VECTOR_HASH(3)          Library Functions Manual          MI_VECTOR_HASH(3)

NAME
     mi_vector_hash -- fast 32bit hash functions

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <&lt;stdlib.h>&gt;

     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
     memory 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 6.1.5                     July 13, 2009                    NetBSD 6.1.5