Home
last modified time | relevance | path

Searched refs:occupied (Results 1 – 3 of 3) sorted by relevance

/petsc/include/petsc/private/cpp/
H A Dunordered_map.hpp113 PETSC_NODISCARD bool occupied(khash_int) const noexcept;
114 PETSC_NODISCARD bool occupied(const_iterator) const noexcept;
337 } while ((it_ > map_begin) && !map_->occupied(it_)); in operator --()
361 } while (it_ != map_end && !map_->occupied(it_)); in operator ++()
655 if (occupied(it)) PetscFunctionReturn({make_iterator_(it), false}); in find_and_emplace_final_()
692 …PetscAssert(occupied(it), PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Attempting to erase iterator (ind… in khash_erase_()
738 if (occupied(i)) ret = i; in khash_find_()
796 if (occupied(it)) break; in begin()
808 if (occupied(it)) break; in cbegin()
968 if (!occupied(i)) continue; in resize()
[all …]
/petsc/src/sys/tests/
H A Dex64.cxx445 …MapCheck(map, map.occupied(before) == false, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Iterator (%s -> %s)… in test_erase()
/petsc/src/mat/interface/
H A Dmatrix.c8002 PetscBool occupied = PETSC_FALSE; in MatSelectVariableBlockSizes() local
8009 occupied = PETSC_TRUE; in MatSelectVariableBlockSizes()
8015 if (occupied) ++Nb; in MatSelectVariableBlockSizes()