Searched defs:HashTableDefinition (Results 1 – 1 of 1) sorted by relevance
324 struct HashTableDefinition { struct325 typedef BaseHashCacheStrategy ParentType;326 typedef void * KeyType;327 typedef Link ValueType;329 HashTableDefinition(BaseHashCacheStrategy *_parent) : parent(_parent) {} in HashTableDefinition() argument331 size_t HashKey(void *key) const in HashKey()336 size_t Hash(Link *value) const { return HashKey(value->buffer); } in Hash()338 bool Compare(void *key, Link *value) const in Compare()343 HashTableLink<Link> *GetLink(Link *value) const { return value; } in GetLink()345 BaseHashCacheStrategy *parent;[all …]