#include "system.h"
#include "hash.h"
#include "debug.h"
Go to the source code of this file.
Data Structures | |
struct | bucket |
struct | filePath |
struct | hash_table |
Defines | |
#define | CHUNK 1 |
Functions | |
hash_table * | htNewTable (int size) |
void | htFreeHashTable (struct hash_table *ht) |
void | htHashStats (const struct hash_table *t) |
unsigned int | htHashStrings (const char *s, const char *t) |
int | in_table_aux (struct hash_table *t, int hash, const char *dir, const char *base) |
int | htInTable (struct hash_table *t, const char *dir, const char *base) |
void | htAddToTable (struct hash_table *t, const char *dir, const char *base) |
void | htRemoveFromTable (struct hash_table *t, const char *dir, const char *base) |
int | htNumEntries (struct hash_table *t) |
void | htIterStart (htIterator *iter) |
int | htIterGetNext (struct hash_table *t, htIterator *iter, const char **dir, const char **base) |
Definition in file hash.c.
|
Definition at line 11 of file hash.c. Referenced by htAddToTable. |
|
Definition at line 132 of file hash.c. References bucket::allocated, hash_table::bucket, CHUNK, bucket::data, hash_table::entries, bucket::firstFree, htHashStrings, in_table_aux, hash_table::overHead, and hash_table::size. |
|
Definition at line 52 of file hash.c. References filePath::base, hash_table::bucket, bucket::data, filePath::dir, bucket::firstFree, and hash_table::size. |
|
Definition at line 70 of file hash.c. References hash_table::bucket, hash_table::entries, bucket::firstFree, hash_table::overHead, and hash_table::size. |
|
Definition at line 91 of file hash.c. Referenced by htAddToTable, htInTable, and htRemoveFromTable. |
|
Definition at line 121 of file hash.c. References htHashStrings, in_table_aux, and hash_table::size. |
|
Definition at line 184 of file hash.c. References hash_table::bucket, ht_iterator::bucket, ht_iterator::item, and hash_table::size. |
|
Definition at line 179 of file hash.c. References ht_iterator::bucket, and ht_iterator::item. |
|
Definition at line 31 of file hash.c. References bucket::allocated, hash_table::bucket, bucket::data, hash_table::entries, bucket::firstFree, hash_table::overHead, and hash_table::size. |
|
Definition at line 175 of file hash.c. References hash_table::entries. |
|
Definition at line 157 of file hash.c. References filePath::base, hash_table::bucket, bucket::data, filePath::dir, bucket::firstFree, htHashStrings, in_table_aux, and hash_table::size. |
|
Definition at line 104 of file hash.c. References filePath::base, hash_table::bucket, bucket::data, filePath::dir, and bucket::firstFree. Referenced by htAddToTable, htInTable, and htRemoveFromTable. |