Home
last modified time | relevance | path

Searched refs:affinity_hash (Results 1 – 5 of 5) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_client_handler.cc820 const auto &affinity_hash = shared_addr->affinity_hash; in get_downstream_addr() local
823 std::begin(affinity_hash), std::end(affinity_hash), hash, in get_downstream_addr()
826 if (it == std::end(affinity_hash)) { in get_downstream_addr()
827 it = std::begin(affinity_hash); in get_downstream_addr()
831 static_cast<size_t>(std::distance(std::begin(affinity_hash), it)); in get_downstream_addr()
838 if (i == shared_addr->affinity_hash.size()) { in get_downstream_addr()
841 addr = &shared_addr->addrs[shared_addr->affinity_hash[i].idx]; in get_downstream_addr()
Dshrpx_worker.h209 std::vector<AffinityHash> affinity_hash; member
Dshrpx_worker.cc253 shared_addr->affinity_hash = src.affinity_hash; in replace_downstream_config()
Dshrpx_config.h516 std::vector<AffinityHash> affinity_hash; member
Dshrpx_config.cc4190 rv = compute_affinity_hash(g.affinity_hash, idx, key); in configure_downstream_group()
4198 std::sort(std::begin(g.affinity_hash), std::end(g.affinity_hash), in configure_downstream_group()