summaryrefslogtreecommitdiffstats
path: root/hashmap.c
AgeCommit message (Expand)AuthorLines
2025-05-08Merge branch 'en/hashmap-clear-fix'Junio C Hamano-2/+3
2025-04-29hashmap: ensure hashmaps are reusable after hashmap_clear()Elijah Newren-2/+3
2023-02-23treewide: remove unnecessary cache.h includes in source filesElijah Newren-1/+1
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason-5/+5
2022-08-19hashmap: mark unused callback parametersJeff King-5/+5
2021-03-13use CALLOC_ARRAYRené Scharfe-1/+1
2020-11-02hashmap: provide deallocation function namesElijah Newren-3/+3
2020-11-02hashmap: introduce a new hashmap_partial_clear()Elijah Newren-12/+27
2020-11-02hashmap: allow re-use after hashmap_free()Elijah Newren-2/+14
2020-11-02hashmap: adjust spacing to fix argument alignmentElijah Newren-8/+9
2019-11-10Fix spelling errors in code commentsElijah Newren-1/+1
2019-10-07hashmap: remove type arg from hashmap_{get,put,remove}_entryEric Wong-1/+1
2019-10-07hashmap: introduce hashmap_free_entriesEric Wong-3/+8
2019-10-07hashmap: hashmap_{put,remove} return hashmap_entry *Eric Wong-3/+5
2019-10-07hashmap: use *_entry APIs for iterationEric Wong-1/+1
2019-10-07hashmap_cmp_fn takes hashmap_entry paramsEric Wong-6/+11
2019-10-07hashmap_get{,_from_hash} return "struct hashmap_entry *"Eric Wong-3/+4
2019-10-07hashmap_get_next returns "struct hashmap_entry *"Eric Wong-1/+1
2019-10-07hashmap_put takes "struct hashmap_entry *"Eric Wong-1/+1
2019-10-07hashmap_remove takes "const struct hashmap_entry *"Eric Wong-1/+2
2019-10-07hashmap_get takes "const struct hashmap_entry *"Eric Wong-2/+3
2019-10-07hashmap_add takes "struct hashmap_entry *"Eric Wong-3/+3
2019-10-07hashmap_get_next takes "const struct hashmap_entry *"Eric Wong-2/+3
2019-10-07hashmap_entry_init takes "struct hashmap_entry *"Eric Wong-2/+2
2017-09-07hashmap: add API to disable item counting when threadedJeff Hostetler-9/+17
2017-06-30hashmap.h: compare function has access to a data fieldStefan Beller-5/+12
2017-03-22hashmap: add disallow_rehash settingJeff Hostetler-1/+11
2017-03-22hashmap: allow memihash computation to be continuedJeff Hostetler-0/+17
2016-02-22convert trivial cases to FLEX_ARRAY macrosJeff King-2/+1
2014-07-07hashmap: add string interning APIKarsten Blees-0/+38
2013-11-18add a hashtable implementation that supports O(1) removalKarsten Blees-0/+228