File src/hash/hash-cmph-bdz.c

Functions

GETVALUE (array, i) vim:sw=4:sts=4 Support for the BDZ algorithm of the cmph library.
hash_search_bdz (L, hi2, key, keylen, datalen) Compute a bucket number using the BDZ algorithm.
local rank (bdz, vertex) Do something magical to compute a bucket number.


Functions

GETVALUE (array, i)
vim:sw=4:sts=4 Support for the BDZ algorithm of the cmph library. This code is copied more or less verbatim from cmph's source file src/bdz.c. That file is released under the GNU General Public License Version 2, which applies to this source file, too. This code is derived from the cmph library (http://cmph.sourceforge.net/) version 0.8 by Davi de Castro Reis and Fabiano Cupertino Botelho. by Wolfgang Oertl 2008

Parameters

  • array:
  • i:
hash_search_bdz (L, hi2, key, keylen, datalen)
Compute a bucket number using the BDZ algorithm.

Parameters

  • L:
  • hi2:
  • key: Pointer to the key string
  • keylen: Length of the key
  • datalen:

Return value:

The bucket number
local rank (bdz, vertex)
Do something magical to compute a bucket number.

Parameters

  • bdz:
  • vertex:

Valid XHTML 1.0!