momo  3.9
momo::HashBucketOpen2N2< tMaxCount > Class Template Reference

#include <HashBucketOpen2N2.h>

Inheritance diagram for momo::HashBucketOpen2N2< tMaxCount >:
momo::internal::HashBucketBase

Public Types

template<typename ItemTraits , bool useHashCodePartGetter>
using Bucket = internal::BucketOpen2N2< ItemTraits, maxCount, useHashCodePartGetter >
 

Static Public Member Functions

static size_t CalcCapacity (size_t bucketCount, size_t) noexcept
 
static size_t GetBucketCountShift (size_t, size_t) noexcept
 
- Static Public Member Functions inherited from momo::internal::HashBucketBase
static size_t CalcCapacity (size_t bucketCount, size_t bucketMaxItemCount) noexcept
 
static size_t GetBucketCountShift (size_t bucketCount, size_t bucketMaxItemCount) noexcept
 

Static Public Attributes

static const size_t maxCount = tMaxCount
 
- Static Public Attributes inherited from momo::internal::HashBucketBase
static const size_t logStartBucketCount = 4
 

Member Typedef Documentation

◆ Bucket

template<size_t tMaxCount = 3>
template<typename ItemTraits , bool useHashCodePartGetter>
using momo::HashBucketOpen2N2< tMaxCount >::Bucket = internal::BucketOpen2N2<ItemTraits, maxCount, useHashCodePartGetter>

Member Function Documentation

◆ CalcCapacity()

template<size_t tMaxCount = 3>
static size_t momo::HashBucketOpen2N2< tMaxCount >::CalcCapacity ( size_t  bucketCount,
size_t   
)
inlinestaticnoexcept

◆ GetBucketCountShift()

template<size_t tMaxCount = 3>
static size_t momo::HashBucketOpen2N2< tMaxCount >::GetBucketCountShift ( size_t  ,
size_t   
)
inlinestaticnoexcept

Member Data Documentation

◆ maxCount

template<size_t tMaxCount = 3>
const size_t momo::HashBucketOpen2N2< tMaxCount >::maxCount = tMaxCount
static

The documentation for this class was generated from the following file: