aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-hashmap.c
AgeCommit message (Expand)AuthorFilesLines
2024-08-17t/helper: mark more unused argv/argc argumentsJeff King1-1/+1
2024-08-06t: port helper/test-hashmap.c to unit-tests/t-hashmap.cGhanshyam Thakkar1-97/+1
2024-06-07global: improve const correctness when assigning string constantsPatrick Steinhardt1-1/+2
2023-04-24t/helper/test-hashmap.c: avoid using `strtok()`Taylor Blau1-7/+15
2020-11-11Use new HASHMAP_INIT macro to simplify hashmap initializationElijah Newren1-2/+1
2020-11-02hashmap: provide deallocation function namesElijah Newren1-3/+3
2019-10-07hashmap_entry: remove first member requirement from docsEric Wong1-0/+1
2019-10-07hashmap: remove type arg from hashmap_{get,put,remove}_entryEric Wong1-3/+1
2019-10-07OFFSETOF_VAR macro to simplify hashmap iteratorsEric Wong1-4/+1
2019-10-07hashmap: introduce hashmap_free_entriesEric Wong1-3/+3
2019-10-07hashmap: hashmap_{put,remove} return hashmap_entry *Eric Wong1-2/+7
2019-10-07hashmap: use *_entry APIs for iterationEric Wong1-3/+4
2019-10-07hashmap_cmp_fn takes hashmap_entry paramsEric Wong1-4/+6
2019-10-07hashmap: use *_entry APIs to wrap container_ofEric Wong1-7/+5
2019-10-07hashmap_get_next returns "struct hashmap_entry *"Eric Wong1-4/+6
2019-10-07hashmap_put takes "struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_add takes "struct hashmap_entry *"Eric Wong1-3/+3
2019-10-07hashmap_get_next takes "const struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_entry_init takes "struct hashmap_entry *"Eric Wong1-3/+3
2019-06-17test-hashmap: remove 'hash' commandChristian Couder1-8/+1
2018-03-27t/helper: merge test-hashmap into test-toolNguyễn Thái Ngọc Duy1-2/+3
2018-02-14test-hashmap: use "unsigned int" for hash storageJeff King1-2/+3
2018-02-14test-hashmap: simplify alloc_test_entryJeff King1-18/+17
2018-02-14test-hashmap: use strbuf_getline rather than fgetsJeff King1-3/+5
2018-02-14test-hashmap: use xsnprintf rather than snprintfJeff King1-1/+1
2018-02-14test-hashmap: check allocation computation for overflowJeff King1-2/+1
2018-02-14test-hashmap: use ALLOC_ARRAY rather than bare mallocJeff King1-2/+2
2017-09-07hashmap: add API to disable item counting when threadedJeff Hostetler1-1/+2
2017-07-05t/helper/test-hashmap: use custom data instead of duplicate cmp functionsStefan Beller1-18/+16
2017-06-30hashmap.h: compare function has access to a data fieldStefan Beller1-7/+12
2016-07-06Merge branch 'jk/common-main-2.8' into jk/common-mainJunio C Hamano1-1/+1
2016-04-15test helpers: move test-* to t/helper/ subdirectoryNguyễn Thái Ngọc Duy1-0/+264