PetscHMapIGetSize — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscHMapIGetSize

Get the number of entries in a hash table

## Synopsis

    #include <petsc/private/hashmapi.h>
    PetscErrorCode PetscHMapIGetSize(PetscHMapI ht, PetscInt *n)

## Input Parameter

- ht - The hash table

## Output Parameter

- n - The number of entries

## See Also

`PetscHMapIResize()`

## Level

developer

## Location

include/petsc/private/hashmap.txt.h

## Examples

src/sys/tutorials/ex7.c

Index of all PetscH routines
Table of Contents for all manual pages
Index of all manual pages