Lines Matching refs:key_value_pairs
284 auto key_value_pairs = this->make_key_values(kv_size); in test_insert() local
285 std::vector<std::size_t> found_key_value(key_value_pairs.size()); in test_insert()
290 PetscCall(fill_map(key_value_pairs)); in test_insert()
292 PetscCall(this->check_size_capacity_coherent(map, key_value_pairs.size(), 0)); in test_insert()
295 PetscCallCXX(std::sort(key_value_pairs.begin(), key_value_pairs.end())); in test_insert()
297 const auto kv_begin = key_value_pairs.cbegin(); in test_insert()
298 const auto found = std::lower_bound(kv_begin, key_value_pairs.cend(), *it); in test_insert()
302 …MapCheck(map, found != key_value_pairs.cend(), PETSC_COMM_SELF, PETSC_ERR_PLIB, "Map contained key… in test_insert()
310 …%s), have find count %zu", this->key_printer(key_value_pairs[i].first), this->value_printer(key_va… in test_insert()
318 [&](std::vector<value_type> &key_value_pairs) in test_insert()
321 for (auto &&key_value : key_value_pairs) { in test_insert()
339 [&](std::vector<value_type> &key_value_pairs) in test_insert() argument
343 PetscCallCXX(saved_value = key_value_pairs.front()); in test_insert()
345 …PetscCallCXX(std::copy(key_value_pairs.cbegin(), key_value_pairs.cend(), std::inserter(map, map.be… in test_insert()