Returns the number of key/value-items currently stored in the dictionary.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dict_i4tuple_callstat_type), | intent(inout) | :: | dict |
FUNCTION dict_i4tuple_callstat_size(dict) RESULT(size)
!! Returns the number of key/value-items currently stored in the dictionary.
TYPE(dict_i4tuple_callstat_type), intent(inout) :: dict
INTEGER :: size
IF (.not. ASSOCIATED(dict%buckets)) &
DBCSR_ABORT("dict_i4tuple_callstat_size: dictionary is not initialized.")
size = dict%size
END FUNCTION dict_i4tuple_callstat_size