summaryrefslogtreecommitdiff
path: root/name-hash.c
AgeCommit message (Expand)AuthorFilesLines
2021-04-30Merge branch 'ds/sparse-index-protections'Libravatar Junio C Hamano1-2/+9
2021-04-14name-hash: use expand_to_path()Libravatar Derrick Stolee1-0/+4
2021-04-14name-hash: don't add directories to name_hashLibravatar Derrick Stolee1-2/+5
2021-03-13use CALLOC_ARRAYLibravatar René Scharfe1-4/+4
2021-01-23name-hash: use trace2 regions for initLibravatar Derrick Stolee1-0/+3
2020-11-02hashmap: provide deallocation function namesLibravatar Elijah Newren1-2/+2
2019-12-01Merge branch 'en/doc-typofix'Libravatar Junio C Hamano1-1/+1
2019-11-10Fix spelling errors in code commentsLibravatar Elijah Newren1-1/+1
2019-11-07name-hash.c: remove duplicate word in commentLibravatar Elijah Newren1-1/+1
2019-10-07hashmap: remove type arg from hashmap_{get,put,remove}_entryLibravatar Eric Wong1-2/+1
2019-10-07OFFSETOF_VAR macro to simplify hashmap iteratorsLibravatar Eric Wong1-2/+1
2019-10-07hashmap: introduce hashmap_free_entriesLibravatar Eric Wong1-2/+2
2019-10-07hashmap_cmp_fn takes hashmap_entry paramsLibravatar Eric Wong1-8/+13
2019-10-07hashmap_get{,_from_hash} return "struct hashmap_entry *"Libravatar Eric Wong1-1/+2
2019-10-07hashmap: use *_entry APIs to wrap container_ofLibravatar Eric Wong1-6/+5
2019-10-07hashmap_get_next returns "struct hashmap_entry *"Libravatar Eric Wong1-3/+5
2019-10-07hashmap_remove takes "const struct hashmap_entry *"Libravatar Eric Wong1-2/+2
2019-10-07hashmap_get takes "const struct hashmap_entry *"Libravatar Eric Wong1-1/+1
2019-10-07hashmap_add takes "struct hashmap_entry *"Libravatar Eric Wong1-4/+4
2019-10-07hashmap_get_next takes "const struct hashmap_entry *"Libravatar Eric Wong1-1/+1
2019-10-07hashmap_entry_init takes "struct hashmap_entry *"Libravatar Eric Wong1-5/+5
2019-06-13cleanup: fix possible overflow errors in binary search, part 2Libravatar René Scharfe1-1/+2
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchLibravatar Nguyễn Thái Ngọc Duy1-1/+0
2018-11-05Clean up pthread_create() error handlingLibravatar Nguyễn Thái Ngọc Duy1-6/+10
2018-11-05name-hash.c: remove #ifdef NO_PTHREADSLibravatar Nguyễn Thái Ngọc Duy1-18/+4
2018-08-18trace.h: support nested performance tracingLibravatar Nguyễn Thái Ngọc Duy1-2/+2
2018-02-27Merge branch 'bp/name-hash-dirname-fix'Libravatar Junio C Hamano1-3/+3
2018-02-08name-hash: properly fold directory names in adjust_dirname_case()Libravatar Ben Peart1-3/+3
2018-02-02trace: measure where the time is spent in the index-heavy operationsLibravatar Nguyễn Thái Ngọc Duy1-0/+3
2017-09-07hashmap: add API to disable item counting when threadedLibravatar Jeff Hostetler1-2/+8
2017-07-05name-hash.c: drop hashmap_cmp_fn castLibravatar Stefan Beller1-9/+13
2017-06-30hashmap.h: compare function has access to a data fieldLibravatar Stefan Beller1-6/+10
2017-03-31name-hash: fix buffer overrunLibravatar Kevin Willford1-1/+3
2017-03-24name-hash: perf improvement for lazy_init_name_hashLibravatar Jeff Hostetler1-7/+485
2017-03-22name-hash: specify initial size for istate.dir_hash tableLibravatar Jeff Hostetler1-1/+2
2016-02-22convert trivial cases to FLEX_ARRAY macrosLibravatar Jeff King1-2/+1
2015-10-21name-hash: don't reuse cache_entry in dir_entryLibravatar David Turner1-26/+28
2014-07-07hashmap: add simplified hashmap_get_from_hash() APILibravatar Karsten Blees1-3/+2
2014-06-20name-hash.c: replace cache_name_compare() with memcmp(3)Libravatar Jeremiah Mahler1-1/+1
2014-02-24name-hash: retire unused index_name_exists()Libravatar Eric Sunshine1-8/+1
2013-11-18name-hash.c: remove cache entries instead of marking them CE_UNHASHEDLibravatar Karsten Blees1-24/+22
2013-11-18name-hash.c: use new hash map implementation for cache entriesLibravatar Karsten Blees1-16/+8
2013-11-18name-hash.c: remove unreferenced directory entriesLibravatar Karsten Blees1-7/+8
2013-11-18name-hash.c: use new hash map implementation for directoriesLibravatar Karsten Blees1-59/+18
2013-09-17name-hash: stop storing trailing '/' on paths in index_state.dir_hashLibravatar Eric Sunshine1-5/+6
2013-09-17name-hash: refactor polymorphic index_name_exists()Libravatar Eric Sunshine1-24/+30
2013-04-01Merge branch 'kb/name-hash'Libravatar Junio C Hamano1-43/+139
2013-03-21Merge branch 'nd/preallocate-hash'Libravatar Junio C Hamano1-0/+2
2013-03-16Preallocate hash tables when the number of inserts are known in advanceLibravatar Nguyễn Thái Ngọc Duy1-0/+2
2013-02-27name-hash.c: fix endless loop with core.ignorecase=trueLibravatar Karsten Blees1-43/+139