8
#include "Hash_common.h"
24
* creates a new hashmap (local)
29
* destroys this hashmap
34
* inserts elements into hashmap
36
void insert(const char *buf, size_t size);
39
* get the global term IDs
41
void getGlobalIds(const char *buf, size_t bufsize,
45
* prints the local hashmap
49
void rehash(int *size);
52
* returns true if a hashmap already exists
54
static bool isCreated();
57
VocabIntMap *mVocabMap;
58
static short int sm_initialized;
61
#endif /* GPCHASHMAP_H_ */