#include <HashBucketLimP4.h>
|
| MOMO_STATIC_ASSERT (0< maxCount &&maxCount<=4) |
|
| BucketLimP4 () noexcept |
|
| BucketLimP4 (const BucketLimP4 &)=delete |
|
| ~BucketLimP4 () noexcept |
|
BucketLimP4 & | operator= (const BucketLimP4 &)=delete |
|
Bounds | GetBounds (Params &) noexcept |
|
template<bool first, typename ItemPredicate > |
MOMO_FORCEINLINE Iterator | Find (Params &, const ItemPredicate &itemPred, size_t hashCode) |
|
bool | IsFull () const noexcept |
|
bool | WasFull () const noexcept |
|
void | Clear (Params ¶ms) noexcept |
|
template<typename ItemCreator > |
Iterator | AddCrt (Params ¶ms, ItemCreator &&itemCreator, size_t hashCode, size_t logBucketCount, size_t probe) |
|
template<typename ItemReplacer > |
Iterator | Remove (Params ¶ms, Iterator iter, ItemReplacer &&itemReplacer) |
|
template<typename HashCodeFullGetter > |
size_t | GetHashCodePart (const HashCodeFullGetter &hashCodeFullGetter, Iterator iter, size_t bucketIndex, size_t logBucketCount, size_t newLogBucketCount) |
|
size_t | GetMaxProbe (size_t logBucketCount) const noexcept |
|
void | UpdateMaxProbe (size_t) noexcept |
|
template<typename HashCodeFullGetter , typename Iterator > |
size_t | GetHashCodePart (const HashCodeFullGetter &hashCodeFullGetter, Iterator, size_t, size_t, size_t) |
|
|
static size_t | GetNextBucketIndex (size_t bucketIndex, size_t, size_t bucketCount, size_t) noexcept |
|
static size_t | GetStartBucketIndex (size_t hashCode, size_t bucketCount) noexcept |
|
static size_t | GetNextBucketIndex (size_t bucketIndex, size_t, size_t bucketCount, size_t) noexcept |
|
◆ Bounds
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ Item
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ ItemTraits
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ Iterator
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ MemManager
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ MemPoolParams
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ BucketLimP4() [1/2]
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ BucketLimP4() [2/2]
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ ~BucketLimP4()
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ AddCrt()
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
template<typename ItemCreator >
Iterator momo::internal::BucketLimP4< TItemTraits, tMaxCount, TMemPoolParams, tUseHashCodePartGetter >::AddCrt |
( |
Params & |
params, |
|
|
ItemCreator && |
itemCreator, |
|
|
size_t |
hashCode, |
|
|
size_t |
logBucketCount, |
|
|
size_t |
probe |
|
) |
| |
|
inline |
◆ Clear()
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ Find()
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
template<bool first, typename ItemPredicate >
◆ GetBounds()
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ GetHashCodePart()
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
template<typename HashCodeFullGetter >
size_t momo::internal::BucketLimP4< TItemTraits, tMaxCount, TMemPoolParams, tUseHashCodePartGetter >::GetHashCodePart |
( |
const HashCodeFullGetter & |
hashCodeFullGetter, |
|
|
Iterator |
iter, |
|
|
size_t |
bucketIndex, |
|
|
size_t |
logBucketCount, |
|
|
size_t |
newLogBucketCount |
|
) |
| |
|
inline |
◆ GetNextBucketIndex()
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
static size_t momo::internal::BucketLimP4< TItemTraits, tMaxCount, TMemPoolParams, tUseHashCodePartGetter >::GetNextBucketIndex |
( |
size_t |
bucketIndex, |
|
|
size_t |
, |
|
|
size_t |
bucketCount, |
|
|
size_t |
|
|
) |
| |
|
inlinestaticnoexcept |
◆ IsFull()
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ MOMO_STATIC_ASSERT()
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ operator=()
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ Remove()
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
template<typename ItemReplacer >
◆ WasFull()
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ isNothrowAddableIfNothrowCreatable
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
const bool momo::internal::BucketLimP4< TItemTraits, tMaxCount, TMemPoolParams, tUseHashCodePartGetter >::isNothrowAddableIfNothrowCreatable = false |
|
static |
◆ maxCount
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
◆ useHashCodePartGetter
template<typename TItemTraits , size_t tMaxCount, typename TMemPoolParams , bool tUseHashCodePartGetter>
const bool momo::internal::BucketLimP4< TItemTraits, tMaxCount, TMemPoolParams, tUseHashCodePartGetter >::useHashCodePartGetter = tUseHashCodePartGetter |
|
staticprotected |
The documentation for this class was generated from the following file: