hash/ joaat.bi

Summary
hash/ joaat.bi
LicenseCopyright © 2009, FreeBASIC Extended Library Development Group
ext. hashes
Functions
joaatCalculates the Jenkins One At A Time hash of a string.
joaatCalculates the Jenkins One At A Time hash of a memory buffer.
joaat64Calculates the 64 bit Jenkins One At A Time hash of a string.
joaat64Calculates the 64 bit Jenkins One At A Time hash of a memory buffer.

License

Copyright © 2009, FreeBASIC Extended Library Development Group

Distributed under the FreeBASIC Extended Library Group license.  See accompanying file LICENSE.txt or copy at http://code.google.com- /p- /fb-extended-lib- /wiki- /License

ext. hashes

Summary
Functions
joaatCalculates the Jenkins One At A Time hash of a string.
joaatCalculates the Jenkins One At A Time hash of a memory buffer.
joaat64Calculates the 64 bit Jenkins One At A Time hash of a string.
joaat64Calculates the 64 bit Jenkins One At A Time hash of a memory buffer.

Functions

joaat

declare function joaat overload (byref xStr as const string) as uinteger

Calculates the Jenkins One At A Time hash of a string.

Parameters

xStrstring to be hashed.

Returns

uinteger containing the hash.

joaat

declare function joaat (byval src as const any ptr,
byval len_b as uinteger) as uinteger

Calculates the Jenkins One At A Time hash of a memory buffer.

Parameters

srcpointer to memory buffer.
len_blength of buffer in bytes.

Returns

uinteger containing the hash.

joaat64

declare function joaat64 overload (byref xStr as const string) as ulongint

Calculates the 64 bit Jenkins One At A Time hash of a string.

Parameters

xStrstring to be hashed.

Returns

ulongint containing the hash.

joaat64

declare function joaat64 (byval src as const any ptr,
byval len_b as uinteger) as ulongint

Calculates the 64 bit Jenkins One At A Time hash of a memory buffer.

Parameters

srcpointer to memory buffer.
len_blength of buffer in bytes.

Returns

ulongint containing the hash.

declare function joaat overload (byref xStr as const string) as uinteger
Calculates the Jenkins One At A Time hash of a string.
declare function joaat64 overload (byref xStr as const string) as ulongint
Calculates the 64 bit Jenkins One At A Time hash of a string.