Searched defs:hash_base (Results 1 – 2 of 2) sorted by relevance
214 struct hash_base struct218 hash_base(): hash(0) {} in hash_base() argument220 int f0() { f1(17); return 0; } in f0()221 int g0() const { g1(17); return 0; } in g0()223 int f1(int a1) { hash = (hash * 17041 + a1) % 32768; return 0; } in f1()224 int g1(int a1) const { hash = (hash * 17041 + a1 * 2) % 32768; return 0; } in g1()248 struct derived_hash: public hash_base argument
124 struct hash_base struct126 typedef T argument_type;127 typedef std::size_t result_type;