#include "pooltypes.h"
Go to the source code of this file.
Defines | |
#define | HASHCHAIN_START 7 |
#define | HASHCHAIN_NEXT(h, hh, mask) (((h) + (hh)++) & (mask)) |
Typedefs | |
typedef unsigned int | Hashval |
typedef unsigned int | Hashmask |
typedef Id * | Hashtable |
Functions | |
static Hashval | strhash (const char *str) |
static Hashval | strnhash (const char *str, unsigned len) |
static Hashval | strhash_cont (const char *str, Hashval r) |
static Hashval | relhash (Id name, Id evr, int flags) |
static Hashmask | mkmask (unsigned int num) |
#define HASHCHAIN_START 7 |
Definition at line 28 of file hash.h.
Referenced by rel2id(), repo_add_solv_flags(), and stringpool_strn2id().
#define HASHCHAIN_NEXT | ( | h, | |||
hh, | |||||
mask | ) | (((h) + (hh)++) & (mask)) |
Definition at line 29 of file hash.h.
Referenced by rel2id(), repo_add_solv_flags(), and stringpool_strn2id().
static Hashval strhash | ( | const char * | str | ) | [inline, static] |
Definition at line 35 of file hash.h.
Referenced by repo_add_solv_flags(), and stringpool_strn2id().
static Hashval strnhash | ( | const char * | str, | |
unsigned | len | |||
) | [inline, static] |
Definition at line 45 of file hash.h.
Referenced by stringpool_strn2id().
Definition at line 68 of file hash.h.
Referenced by rel2id(), and repo_add_solv_flags().
static Hashmask mkmask | ( | unsigned int | num | ) | [inline, static] |
Definition at line 80 of file hash.h.
Referenced by rel2id(), repo_add_solv_flags(), and stringpool_strn2id().