#include <AK/Tools/Common/AkArray.h>
#include <AK/Tools/Common/AkKeyDef.h>
#include <AK/Tools/Common/AkPlacementNew.h>
宏定义 | |
#define | AK_HASH_SIZE_VERY_SMALL 11 |
类型定义 | |
typedef AkUInt32 | AkHashType |
template<class T_KEY , class T_MAPSTRUCT > | |
using | AkDefaultHashListBarePolicy = AkHashListBareMemberPolicy< T_KEY, T_MAPSTRUCT > |
函数 | |
template<class T_KEY > | |
AkForceInline AkHashType | AkHash (T_KEY in_key) |
变量 | |
const AK_SELECTANY AkHashType | kHashSizes [] = { 29, 53, 97, 193, 389, 769, 1543, 3079, 6151, 12289, 24593, 49157, 98317, 196613, 393241, 786433, 1572869, 3145739, 6291469, 12582917, 25165843, 50331653, 100663319, 201326611, 402653189, 805306457, 1610612741 } |
constexpr size_t | kNumHashSizes = sizeof(kHashSizes) / sizeof(kHashSizes[0]) |
constexpr AkReal32 | kHashTableGrowthFactor = 0.9f |