| M E M _ F N V 6 4 H A S H ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English INDEP - MEM_#?
----------------------------------------------------------------------------
NAME
mem_fnv64hash() - Allows to hash data in the memory.
SYNOPSIS
hash = mem_fnv64hash(vuq, memptr, memlen);
ULONG mem_fnv64hash(VUQUAD *, void *, LONG);
FUNCTION
This function allows to hash memory region using FNV1a
routine.
INPUTS
vuq - Pointer to 64bit datatype. Can be NULL so the
only output will be lower 32 bits through the
'hash'.
memptr - Data pointer.
memlen - Length of that data.
RETURNS
Returns 32 or 64 value or its initilizer if data is 0.
BASES
None.
NOTES
This function should produce the very same values as
the 'txt_fnv64hash()' one.
Important! Arg. in 'vuq' must generally be initialised
to 0 before passing! This will not clobber the builtin
initializer!
Beware this routine is 0 sensitive, which means it may
be unsuitable to hash some nasty memory blocks!
SEE ALSO
txt_fnv64hash(), mem_pjw64hash()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |