Lines Matching refs:hashValue
33 unsigned hashValue; member
43 HashedStorage(unsigned hashValue = 0, BaseStorage *storage = nullptr) in HashedStorage()
44 : hashValue(hashValue), storage(storage) {} in HashedStorage()
45 unsigned hashValue; member
59 return key.hashValue; in getHashValue()
61 static unsigned getHashValue(LookupKey key) { return key.hashValue; } in getHashValue()
96 auto existing = shard.instances.insert_as({key.hashValue}, key); in getOrCreateUnsafe()
122 getOrCreate(bool threadingIsEnabled, unsigned hashValue, in getOrCreate() argument
125 Shard &shard = getShard(hashValue); in getOrCreate()
126 ParametricStorageUniquer::LookupKey lookupKey{hashValue, isEqual}; in getOrCreate()
131 auto localIt = localCache->insert_as({hashValue}, lookupKey); in getOrCreate()
164 Shard &getShard(unsigned hashValue) { in getShard() argument
166 unsigned shardNum = hashValue & (numShards - 1); in getShard()
214 getOrCreate(bool threadingIsEnabled, unsigned hashValue,
217 ParametricStorageUniquer::LookupKey lookupKey{hashValue, isEqual};
251 getOrCreate(TypeID id, unsigned hashValue, in getOrCreate()
257 return storageUniquer.getOrCreate(threadingIsEnabled, hashValue, isEqual, in getOrCreate()
318 TypeID id, unsigned hashValue, in getParametricStorageTypeImpl() argument
321 return impl->getOrCreate(id, hashValue, isEqual, ctorFn); in getParametricStorageTypeImpl()