summaryrefslogtreecommitdiff
path: root/name-hash.c
Commit message (Expand)AuthorAgeFilesLines
* treewide: be explicit about dependence on trace.h & trace2.hElijah Newren2023-04-111-0/+1
* environment.h: move declarations for environment.c functions from cache.hElijah Newren2023-03-211-0/+1
* treewide: be explicit about dependence on gettext.hElijah Newren2023-03-211-0/+1
* git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason2022-09-011-2/+2
* hashmap: mark unused callback parametersJeff King2022-08-191-2/+2
* Merge branch 'ds/sparse-index-protections'Junio C Hamano2021-04-301-2/+9
|\
| * name-hash: use expand_to_path()Derrick Stolee2021-04-141-0/+4
| * name-hash: don't add directories to name_hashDerrick Stolee2021-04-141-2/+5
* | use CALLOC_ARRAYRené Scharfe2021-03-131-4/+4
|/
* name-hash: use trace2 regions for initDerrick Stolee2021-01-231-0/+3
* hashmap: provide deallocation function namesElijah Newren2020-11-021-2/+2
* Merge branch 'en/doc-typofix'Junio C Hamano2019-12-011-1/+1
|\
| * Fix spelling errors in code commentsElijah Newren2019-11-101-1/+1
* | name-hash.c: remove duplicate word in commentElijah Newren2019-11-071-1/+1
|/
* hashmap: remove type arg from hashmap_{get,put,remove}_entryEric Wong2019-10-071-2/+1
* OFFSETOF_VAR macro to simplify hashmap iteratorsEric Wong2019-10-071-2/+1
* hashmap: introduce hashmap_free_entriesEric Wong2019-10-071-2/+2
* hashmap_cmp_fn takes hashmap_entry paramsEric Wong2019-10-071-8/+13
* hashmap_get{,_from_hash} return "struct hashmap_entry *"Eric Wong2019-10-071-1/+2
* hashmap: use *_entry APIs to wrap container_ofEric Wong2019-10-071-6/+5
* hashmap_get_next returns "struct hashmap_entry *"Eric Wong2019-10-071-3/+5
* hashmap_remove takes "const struct hashmap_entry *"Eric Wong2019-10-071-2/+2
* hashmap_get takes "const struct hashmap_entry *"Eric Wong2019-10-071-1/+1
* hashmap_add takes "struct hashmap_entry *"Eric Wong2019-10-071-4/+4
* hashmap_get_next takes "const struct hashmap_entry *"Eric Wong2019-10-071-1/+1
* hashmap_entry_init takes "struct hashmap_entry *"Eric Wong2019-10-071-5/+5
* cleanup: fix possible overflow errors in binary search, part 2René Scharfe2019-06-131-1/+2
* cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy2019-01-241-1/+0
* Clean up pthread_create() error handlingNguyễn Thái Ngọc Duy2018-11-051-6/+10
* name-hash.c: remove #ifdef NO_PTHREADSNguyễn Thái Ngọc Duy2018-11-051-18/+4
* trace.h: support nested performance tracingNguyễn Thái Ngọc Duy2018-08-181-2/+2
* Merge branch 'bp/name-hash-dirname-fix'Junio C Hamano2018-02-271-3/+3
|\
| * name-hash: properly fold directory names in adjust_dirname_case()bp/name-hash-dirname-fixBen Peart2018-02-081-3/+3
* | trace: measure where the time is spent in the index-heavy operationsnd/trace-index-opsNguyễn Thái Ngọc Duy2018-02-021-0/+3
* | hashmap: add API to disable item counting when threadedjh/hashmap-disable-countingJeff Hostetler2017-09-071-2/+8
* | name-hash.c: drop hashmap_cmp_fn castStefan Beller2017-07-051-9/+13
* | hashmap.h: compare function has access to a data fieldStefan Beller2017-06-301-6/+10
* | name-hash: fix buffer overrunKevin Willford2017-03-311-1/+3
* | name-hash: perf improvement for lazy_init_name_hashJeff Hostetler2017-03-241-7/+485
* | name-hash: specify initial size for istate.dir_hash tableJeff Hostetler2017-03-221-1/+2
|/
* convert trivial cases to FLEX_ARRAY macrosJeff King2016-02-221-2/+1
* name-hash: don't reuse cache_entry in dir_entrydt/name-hash-dir-entry-fixDavid Turner2015-10-211-26/+28
* hashmap: add simplified hashmap_get_from_hash() APIKarsten Blees2014-07-071-3/+2
* name-hash.c: replace cache_name_compare() with memcmp(3)Jeremiah Mahler2014-06-201-1/+1
* name-hash: retire unused index_name_exists()Eric Sunshine2014-02-241-8/+1
* name-hash.c: remove cache entries instead of marking them CE_UNHASHEDKarsten Blees2013-11-181-24/+22
* name-hash.c: use new hash map implementation for cache entriesKarsten Blees2013-11-181-16/+8
* name-hash.c: remove unreferenced directory entriesKarsten Blees2013-11-181-7/+8
* name-hash.c: use new hash map implementation for directoriesKarsten Blees2013-11-181-59/+18
* name-hash: stop storing trailing '/' on paths in index_state.dir_hashEric Sunshine2013-09-171-5/+6