Lines Matching refs:bucket
92 virtual bool compareBucketKey(const Bucket& bucket, const void* __restrict__ key) const = 0;
93 virtual void initializeBucketEntry(Bucket& bucket, const void* __restrict__ entry) const = 0;
94 virtual void destroyBucketEntry(Bucket& bucket) const = 0;
341 static inline const TEntry& entryFor(const Bucket& bucket) { in entryFor() argument
342 return reinterpret_cast<const TEntry&>(bucket.entry); in entryFor()
345 static inline TEntry& entryFor(Bucket& bucket) { in entryFor() argument
346 return reinterpret_cast<TEntry&>(bucket.entry); in entryFor()
349 virtual bool compareBucketKey(const Bucket& bucket, const void* __restrict__ key) const;
350 virtual void initializeBucketEntry(Bucket& bucket, const void* __restrict__ entry) const;
351 virtual void destroyBucketEntry(Bucket& bucket) const;
378 bool BasicHashtable<TKey, TEntry>::compareBucketKey(const Bucket& bucket, in compareBucketKey() argument
380 return entryFor(bucket).getKey() == *static_cast<const TKey*>(key); in compareBucketKey()
384 void BasicHashtable<TKey, TEntry>::initializeBucketEntry(Bucket& bucket, in initializeBucketEntry() argument
387 new (&entryFor(bucket)) TEntry(*(static_cast<const TEntry*>(entry))); in initializeBucketEntry()
389 memcpy(&entryFor(bucket), entry, sizeof(TEntry)); in initializeBucketEntry()
394 void BasicHashtable<TKey, TEntry>::destroyBucketEntry(Bucket& bucket) const { in destroyBucketEntry() argument
396 entryFor(bucket).~TEntry(); in destroyBucketEntry()