MaglevLoadBalancer::createLoadBalancer(const NormalizedHostWeightVector& normalized_host_weights,
MaglevFactory::createMaglevTable(normalized_host_weights, max_normalized_weight, table_size_,
for (uint64_t i = 0; i < table_build_entries.size() && table_index < table_size_; i++) {
CompactMaglevTable::CompactMaglevTable(const NormalizedHostWeightVector& normalized_host_weights,
for (uint32_t i = 0; i < table_build_entries.size() && table_index < table_size_; i++) {
HostSelectionResponse OriginalMaglevTable::chooseHost(uint64_t hash, uint32_t attempt) const {
HostSelectionResponse CompactMaglevTable::chooseHost(uint64_t hash, uint32_t attempt) const {
ASSERT(index < host_table_.size(), "Compact MaglevTable index into host table out of range");
: ThreadAwareLoadBalancerBase(priority_set, stats, runtime, random, healthy_panic_threshold,