summaryrefslogtreecommitdiff
path: root/src/cache.c
Commit message (Expand)AuthorAgeFilesLines
* cache: fix invalid memory access in case updating cache entry failsPatrick Steinhardt2020-02-071-4/+8
* cache: evict items more efficientlybrian m. carlson2019-07-171-1/+4
* cache: fix cache eviction using deallocated keyPatrick Steinhardt2019-05-241-2/+1
* Merge pull request #4901 from pks-t/pks/uniform-map-apiEdward Thomson2019-02-221-31/+22
|\
| * cache: use iteration interface for cache evictionPatrick Steinhardt2019-02-151-10/+10
| * oidmap: introduce high-level setter for key/value pairsPatrick Steinhardt2019-02-151-7/+2
| * oidmap: introduce high-level getter for valuesPatrick Steinhardt2019-02-151-15/+8
| * maps: use uniform lifecycle management functionsPatrick Steinhardt2019-02-151-2/+5
* | cache: fix misnaming of `git_cache_free`Patrick Steinhardt2019-02-211-1/+1
|/
* git_error: use new names in internal APIs and usageEdward Thomson2019-01-221-3/+3
* object_type: use new enumeration namesethomson/index_fixesEdward Thomson2018-12-011-10/+10
* khash: remove intricate knowledge of khash typesPatrick Steinhardt2018-11-281-3/+3
* Make sure to always include "common.h" firstPatrick Steinhardt2017-07-031-2/+2
* oidmap: remove GIT__USE_OIDMAP macroPatrick Steinhardt2017-02-171-2/+0
* khash: avoid using macro magic to get return addressPatrick Steinhardt2017-02-171-1/+1
* khash: avoid using `kh_key`/`kh_val` as lvaluePatrick Steinhardt2017-02-171-2/+2
* khash: avoid using `kh_del` directlyPatrick Steinhardt2017-02-171-1/+1
* khash: avoid using `kh_key` directlyPatrick Steinhardt2017-02-171-4/+2
* khash: avoid using `kh_val`/`kh_value` directlyPatrick Steinhardt2017-02-171-5/+5
* khash: avoid using `kh_exist` directlyPatrick Steinhardt2017-02-171-1/+1
* khash: avoid using `kh_clear` directlyPatrick Steinhardt2017-02-171-1/+1
* khash: avoid using `kh_get` directlyPatrick Steinhardt2017-02-171-2/+2
* khash: avoid using `kh_end` directlyPatrick Steinhardt2017-02-171-3/+3
* khash: avoid using `kh_foreach`/`kh_foreach_value` directlyPatrick Steinhardt2017-02-171-2/+2
* khash: avoid using `kh_size` directlyPatrick Steinhardt2017-02-171-5/+5
* giterr_set: consistent error messagesEdward Thomson2016-12-291-1/+1
* Fix #3094 - improve use of portable size_t/ssize_t format specifiers.Matthew Plough2015-07-121-4/+4
* cache: add a check for a failed allocationCarlos Martín Nieto2015-06-101-0/+1
* Refactor git_cache to use an rwlockJustin Spahr-Summers2014-08-261-9/+9
* util: It's called `memzero`Vicent Marti2013-06-121-1/+1
* Add safe memset and use itRussell Belfer2013-06-071-1/+1
* Mutex init can failRussell Belfer2013-05-311-1/+4
* Zero memory for major objects before freeingRussell Belfer2013-05-311-2/+2
* Docs for git_libgit2_opts and cache disable tweakRussell Belfer2013-05-241-0/+5
* git_atomic_ssize for 64-bit atomics only on 64-bit platformsEdward Thomson2013-04-251-6/+7
* repo: Add `git_repository__cleanup`Vicent Marti2013-04-241-0/+3
* opts: Add getter for cached memoryvmg/atomic64Vicent Marti2013-04-231-2/+1
* cache: More aggressive defaultVicent Marti2013-04-221-1/+1
* cache: Shared meter for memory usageVicent Marti2013-04-221-4/+12
* cache: Max cache size, and evict when the cache fills upvmg/new-cacheVicent Marti2013-04-221-7/+18
* Add callback to git_objects_tableRussell Belfer2013-04-221-6/+8
* Add range checking around cache optsRussell Belfer2013-04-221-6/+17
* Global option settersVicent Marti2013-04-221-6/+4
* Clear the cache when there are too many items to expireVicent Marti2013-04-221-1/+20
* Some statsVicent Marti2013-04-221-0/+21
* Per-object max sizeVicent Marti2013-04-221-28/+28
* What has science done.Vicent Marti2013-04-221-2/+2
* Random evictionVicent Marti2013-04-221-1/+18
* Per-object filteringVicent Marti2013-04-221-6/+31
* lol this worked first try wtfVicent Marti2013-04-221-61/+108