Searched refs:map_type (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/sys/tests/ |
| H A D | ex64.cxx | 164 using map_type = Petsc::UnorderedMap<T...>; typedef in MapTester 165 using key_type = typename map_type::key_type; 166 using value_type = typename map_type::value_type; 167 using mapped_type = typename map_type::mapped_type; 175 PetscErrorCode view_map(const map_type &map) const noexcept in view_map() 186 PetscCallCXX(oss << " flag bucket width: " << map_type::flag_bucket_width::value << '\n'); in view_map() 187 …PetscCallCXX(oss << " flag pairs per bucket: " << map_type::flag_pairs_per_bucket::value << '\n'); in view_map() 203 PetscErrorCode check_size_capacity_coherent(map_type &map) const noexcept in check_size_capacity_coherent() 217 …PetscErrorCode check_size_capacity_coherent(map_type &map, std::size_t expected_size, std::size_t … in check_size_capacity_coherent() 226 PetscErrorCode test_insert(map_type &map) noexcept in test_insert() [all …]
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | memory.cxx | 105 using map_type = Petsc::UnorderedMap<void *, PointerAttributes, PointerHash>; typedef in MemoryMap 107 map_type map{}; 109 PETSC_NODISCARD map_type::const_iterator search_for(const void *, bool = false) const noexcept; 135 PetscCallCXX(map = map_type{}); in finalize_() 156 MemoryMap::map_type::const_iterator MemoryMap::search_for(const void *ptr, bool must_find) const no… in search_for() 159 auto it = map.find(const_cast<map_type::key_type>(ptr)); in search_for() 166 it = std::find_if(map.begin(), end_it, [ptr](map_type::const_iterator::reference map_it) { in search_for() 215 std::forward_as_tuple(const_cast<MemoryMap::map_type::key_type>(ptr)), in PetscDeviceRegisterMemory_Private() 396 const auto found_it = map.find(const_cast<MemoryMap::map_type::key_type>(ptr)); in PetscDeviceDeallocate_Private()
|
| H A D | mark_dcontext.cxx | 259 using map_type = Petsc::UnorderedMap<PetscObjectId, mapped_type>; typedef in MarkedObjectMap 261 map_type map; 423 using map_iterator = MarkedObjectMap::map_type::const_iterator; in PetscDeviceContextSyncClearMap_Internal() 475 using map_iterator = MarkedObjectMap::map_type::const_iterator; in PetscDeviceContextCheckNotOrphaned_Internal()
|