SOURCE: qdev_macros.txt 1.16 (12/09/2014) English INDEP - PUBLIC
----------------------------------------------------------------------------
NAME
QDEV_HLP_FNV32HASH() - Hashes the string using FNV1a
algorithm.
SYNOPSIS
hash = QDEV_HLP_FNV32HASH(string);
[ULONG] QDEV_HLP_FNV32HASH([UBYTE *]);
FUNCTION
This macro allows to hash NULL term. string with FNV
algorithm.
INPUTS
string - Standard NULL terminated string.
RETURNS
Returns 32 bit FNV1a hash value.
BASES
None.
NOTES
This algorithm even though very simple and 32 bit in
width is quite powerful when used on 7 bit ASCII!
Case insensitive version is also available. Look for
'QDEV_HLP_FNV32IHASH()' in the header file.
SEE ALSO
QDEV_HLP_FNV32CSUM()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
|