|
PIPS-NLP
|
#include <cstring>#include <cstdio>#include <cstdlib>#include <iostream>#include <fstream>Classes | |
| struct | node |
| struct | HashTable |
Macros | |
| #define | NUMPRIMES 18 |
Typedefs | |
| typedef struct node * | ListPtr |
| typedef struct node | List |
Functions | |
| void | OutOfSpace () |
| char * | StrDup (char *s1, const char *message) |
| HashTable * | NewHashTable (int size) |
| int | hash (HashTable *table, char *string) |
| int | GetIndex (HashTable *table, char *name) |
| int | Insert (HashTable *table, char *name, int index) |
| int | PrintHashTable (HashTable *table) |
| int | DeleteHashTable (HashTable *table) |
| int | PrintHashTableStats (HashTable *table) |
Variables | |
| static int | prime [NUMPRIMES] |
| #define NUMPRIMES 18 |
| int DeleteHashTable | ( | HashTable * | table | ) |
| int GetIndex | ( | HashTable * | table, |
| char * | name | ||
| ) |
| int hash | ( | HashTable * | table, |
| char * | string | ||
| ) |
| int Insert | ( | HashTable * | table, |
| char * | name, | ||
| int | index | ||
| ) |
| HashTable* NewHashTable | ( | int | size | ) |
| void OutOfSpace | ( | ) |
| int PrintHashTable | ( | HashTable * | table | ) |
| int PrintHashTableStats | ( | HashTable * | table | ) |
| char* StrDup | ( | char * | s1, |
| const char * | message | ||
| ) |
|
static |
1.8.11