@@ -1314,7 +1314,7 @@ offsets of slot entries from their slot index
1314
1314
1315
1315
### Specifications of the ` stdlib_hashmaps ` procedures
1316
1316
1317
- #### ` calls ` - Returns the number of calls on a hash map
1317
+ #### ` calls ` - Returns the number of calls on the hash map
1318
1318
1319
1319
##### Status
1320
1320
@@ -1361,7 +1361,7 @@ The result will be the number of procedure calls on the hash map.
1361
1361
```
1362
1362
1363
1363
1364
- #### ` entries ` - Returns the number of entries in a hash map
1364
+ #### ` entries ` - Returns the number of entries in the hash map
1365
1365
1366
1366
##### Status
1367
1367
@@ -1442,7 +1442,8 @@ Subroutine
1442
1442
1443
1443
` exists ` (optional): shall be a variable of type logical. It is an
1444
1444
` intent(out) ` argument. If ` .true. ` an entry with the given ` key `
1445
- exists in the map, if ` .false. ` ` other ` is undefined.
1445
+ exists in the map and ` other ` is defined. If ` .false. ` ` other ` is
1446
+ undefined.
1446
1447
1447
1448
##### Example
1448
1449
@@ -1495,7 +1496,7 @@ Experimental
1495
1496
1496
1497
##### Description
1497
1498
1498
- Initializes a ` chaining_hashmap_type ` object.
1499
+ Initializes a ` hashmap_type ` object.
1499
1500
1500
1501
##### Syntax
1501
1502
@@ -1565,7 +1566,7 @@ Experimental
1565
1566
##### Description
1566
1567
1567
1568
Returns the ratio of the number of entries relative to the number of
1568
- slots in a hash map.
1569
+ slots in the hash map.
1569
1570
1570
1571
##### Syntax
1571
1572
@@ -1643,7 +1644,7 @@ entry.
1643
1644
value indicates that an entry with the value of ` key ` already exists
1644
1645
and the entry was not entered into the map, a ` .false. ` value indicates
1645
1646
that ` key ` was not present in the map and the entry was added to the
1646
- table .
1647
+ map .
1647
1648
1648
1649
* If ` key ` is already present in ` map ` then the presence of ` other `
1649
1650
is ignored.
@@ -1677,7 +1678,7 @@ Experimental
1677
1678
1678
1679
##### Description
1679
1680
1680
- Returns the total number of table probes on a hash map
1681
+ Returns the total number of table probes on the hash map.
1681
1682
1682
1683
##### Syntax
1683
1684
@@ -1717,7 +1718,7 @@ rehashing.
1717
1718
end program demo_probes
1718
1719
```
1719
1720
1720
- #### ` num_slots ` - returns the number of hash map probes
1721
+ #### ` num_slots ` - returns the number of hash map slots.
1721
1722
1722
1723
##### Status
1723
1724
@@ -1773,7 +1774,7 @@ Experimental
1773
1774
1774
1775
##### Description
1775
1776
1776
- Changes the hashing function for the table entries to that of ` hasher ` .
1777
+ Changes the hashing function for the map entries to that of ` hasher ` .
1777
1778
1778
1779
##### Syntax
1779
1780
@@ -1821,7 +1822,7 @@ Experimental
1821
1822
1822
1823
##### Description
1823
1824
1824
- Removes an entry from a hash map, ` map ` .
1825
+ Removes an entry from the hash map, ` map ` .
1825
1826
1826
1827
##### Syntax
1827
1828
@@ -1846,7 +1847,7 @@ to be removed.
1846
1847
logical. It is an ` intent(out) ` argument. If present with the value
1847
1848
` .true. ` the entry existed
1848
1849
in the map before removal, if ` .false. ` the entry was not present to be
1849
- removed.
1850
+ removed and the map is unchanged .
1850
1851
1851
1852
##### Example
1852
1853
@@ -1878,7 +1879,8 @@ Experimental
1878
1879
1879
1880
##### Description
1880
1881
1881
- Replaces the other data for the entry with the key value, ` key ` .
1882
+ Replaces the other data in the map for the entry with the key value,
1883
+ ` key ` .
1882
1884
1883
1885
##### Syntax
1884
1886
@@ -1905,7 +1907,7 @@ the other data for the entry with the key value, `key`.
1905
1907
1906
1908
` exists ` (optional): shall be a scalar variable of type default
1907
1909
logical. It is an ` intent(out) ` argument. If present with the value
1908
- ` .true. ` an entry with that key existed in the map and its ` other `
1910
+ ` .true. ` an entry with that ` key ` existed in the map and its ` other `
1909
1911
data was replaced, otherwise if ` exists ` is ` .false. ` the entry did
1910
1912
not exist and nothing was done.
1911
1913
@@ -1942,7 +1944,7 @@ Experimental
1942
1944
1943
1945
##### Description
1944
1946
1945
- Returns the total number of slots on a hash map
1947
+ Returns the total number of bits used to address the hash map slots.
1946
1948
1947
1949
##### Syntax
1948
1950
0 commit comments