Searched refs:hashmap_reserve (Results 1 - 2 of 2) sorted by relevance

/systemd/src/test/
H A Dtest-hashmap-plain.c831 assert_se(hashmap_reserve(m, 1) == 0);
833 assert_se(hashmap_reserve(m, 1000) == 0);
839 assert_se(hashmap_reserve(m, UINT_MAX) == -ENOMEM);
840 assert_se(hashmap_reserve(m, UINT_MAX - 1) == -ENOMEM);
/systemd/src/basic/
H A Dhashmap.h212 static inline int hashmap_reserve(Hashmap *h, unsigned entries_add) { function

Completed in 505 milliseconds