MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / valuePtr

Method valuePtr

source/core/StarFlatHashTable.hpp:197–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195
196template <typename Value, typename Key, typename GetKey, typename Hash, typename Equals, typename Allocator>
197Value const* FlatHashTable<Value, Key, GetKey, Hash, Equals, Allocator>::Bucket::valuePtr() const {
198 if (hash & FilledHashBit)
199 return &this->value;
200 return nullptr;
201}
202
203template <typename Value, typename Key, typename GetKey, typename Hash, typename Equals, typename Allocator>
204Value* FlatHashTable<Value, Key, GetKey, Hash, Equals, Allocator>::Bucket::valuePtr() {

Callers 7

BucketMethod · 0.80
operator=Method · 0.80
operator->Method · 0.80
insertMethod · 0.80
eraseMethod · 0.80
findMethod · 0.80
checkCapacityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected