db

hash_func.c File Reference

#include "config.h"
#include <sys/types.h>
#include "db_int.h"
#include "db_page.h"
#include "hash.h"

Go to the source code of this file.


Defines

#define DCHARHASH(h, c) ((h) = 0x63c63cd9*(h) + 0x9c39c33d + (c))
#define HASH4 HASH4b
#define HASH4a h = (h << 5) - h + *k++;
#define HASH4b h = (h << 5) + h + *k++;
#define HASHC n = *k++ + 65599 * n

Functions

u_int32_t CDB___ham_func2 (void *key, u_int32_t len) const
u_int32_t CDB___ham_func3 (void *key, u_int32_t len) const
u_int32_t CDB___ham_func4 (void *key, u_int32_t len) const
u_int32_t CDB___ham_func5 (void *key, u_int32_t len) const

Variables

static const char revid [] = "$Id: hash__func_8c.html,v 1.1 2008年06月08日 10:19:31 sebdiaz Exp $"

Generated on Sun Jun 8 10:56:51 2008 for GNUmifluz by doxygen 1.5.5

AltStyle によって変換されたページ (->オリジナル) /