Searched refs:key_value_pairs (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/sys/tests/ |
| H A D | ex64.cxx | 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() [all …]
|