#include <iostream>
#include <map>
#include <set>
#include <vector>
#include <typeinfo>
#include <stdint.h>
Go to the source code of this file.
Defines | |
#define | iterate(c, i) for(__typeof__(c.begin()) i = c.begin(); i != c.end(); ++i) |
#define | piterate(c, i) for(__typeof__(c->begin()) i = c->begin(); i != c->end(); ++i) |
#define | riterate(c, i) for(__typeof__(c.rbegin()) i = c.rbegin(); i != c.rend(); ++i) |
#define | THREADED false |
#define | THREAD_MAX 2 |
#define | MAX_NGRAM_ORDER 8 |
#define | MAX_STR_LEN 300 |
#define | PRIME 8589935681ULL |
#define | MAX_HASH_FUNCS 1000 |
Typedefs | |
typedef std::string | word_t |
typedef unsigned int | wordID_t |
typedef std::string | date_t |
typedef unsigned int | count_t |
Definition at line 16 of file types.h.
Referenced by OnlineRLM< T >::cleanUpHPD(), OnlineRLM< T >::clearMarkings(), OnlineRLM< T >::countHits(), and PerfectHash< T >::save().
#define MAX_HASH_FUNCS 1000 |
Definition at line 26 of file types.h.
Referenced by PerfectHash< T >::insert(), PerfectHash< T >::PerfectHash(), PerfectHash< T >::query(), PerfectHash< T >::remove(), PerfectHash< T >::update(), and PerfectHash< T >::update2().
#define MAX_NGRAM_ORDER 8 |
Definition at line 23 of file types.h.
Referenced by UnivHash_linear< T >::load(), and UnivHash_linear< T >::save().
#define MAX_STR_LEN 300 |
Definition at line 24 of file types.h.
Referenced by UnivHash_noPrimes< T >::hash(), UnivHash_tableXOR< T >::hash(), and Hash_shiftAddXOR< T >::hash().
#define PRIME 8589935681ULL |
#define riterate | ( | c, | |||
i | ) | for(__typeof__(c.rbegin()) i = c.rbegin(); i != c.rend(); ++i) |