Lines Matching defs:HashTableDefinition
324 struct HashTableDefinition { struct
325 typedef BaseHashCacheStrategy ParentType;
326 typedef void * KeyType;
327 typedef Link ValueType;
329 HashTableDefinition(BaseHashCacheStrategy *_parent) : parent(_parent) {} in HashTableDefinition() argument
331 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;
349 friend class HashTableDefinition; member