Lines Matching refs:Hashmap
34 struct Hashmap { struct
43 Hashmap* hashmapCreate(size_t initialCapacity, in hashmapCreate() argument
48 Hashmap* map = malloc(sizeof(Hashmap)); in hashmapCreate()
83 static inline int hashKey(Hashmap* map, void* key) { in hashKey()
96 size_t hashmapSize(Hashmap* map) { in hashmapSize()
104 static void expandIfNecessary(Hashmap* map) { in expandIfNecessary()
135 void hashmapLock(Hashmap* map) { in hashmapLock()
139 void hashmapUnlock(Hashmap* map) { in hashmapUnlock()
143 void hashmapFree(Hashmap* map) { in hashmapFree()
196 void* hashmapPut(Hashmap* map, void* key, void* value) { in hashmapPut()
228 void* hashmapGet(Hashmap* map, void* key) { in hashmapGet()
243 bool hashmapContainsKey(Hashmap* map, void* key) { in hashmapContainsKey()
258 void* hashmapMemoize(Hashmap* map, void* key, in hashmapMemoize()
291 void* hashmapRemove(Hashmap* map, void* key) { in hashmapRemove()
313 void hashmapForEach(Hashmap* map, in hashmapForEach()
329 size_t hashmapCurrentCapacity(Hashmap* map) { in hashmapCurrentCapacity()
334 size_t hashmapCountCollisions(Hashmap* map) { in hashmapCountCollisions()