Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update license headers to explicitly say GPLv2+ | Daniel Lange | 2021-09-22 | 1 | -1/+1 |
| | |||||
* | IWYU update | Christian Göttsche | 2021-08-25 | 1 | -0/+4 |
| | |||||
* | cleaned up includes with iwyu | mayurdahibhate | 2021-05-10 | 1 | -1/+0 |
| | |||||
* | Hashtable: use appropriate return type for nextPrime | Christian Göttsche | 2021-01-12 | 1 | -1/+1 |
| | | | | | The return value is guaranteed to be smaller than SIZE_MAX, so return size_t (matters on 32 bit architectures). | ||||
* | Hashtable: fail hard on too big size request | Christian Göttsche | 2021-01-06 | 1 | -5/+9 |
| | |||||
* | Hashtable: widen size from int to size_t | Christian Göttsche | 2021-01-06 | 1 | -31/+31 |
| | |||||
* | Hashtable: hide implementation of Hashtable and HashtableItem | Christian Göttsche | 2021-01-06 | 1 | -0/+14 |
| | |||||
* | Hashtable: use more distinct typename for key type | Christian Göttsche | 2021-01-06 | 1 | -4/+4 |
| | |||||
* | IWYU update | Christian Göttsche | 2020-12-06 | 1 | -0/+1 |
| | |||||
* | Implement Hashtable_clear to empty an existing Hashtable | Benny Baumann | 2020-11-29 | 1 | -4/+12 |
| | |||||
* | IWYU update (Linux) | Christian Göttsche | 2020-11-19 | 1 | -1/+6 |
| | |||||
* | Hashtable: use dynamic growth and use primes as size | Christian Göttsche | 2020-11-17 | 1 | -70/+204 |
| | | | | | | | | | | | | | Dynamically increase the hashmap size to not exceed the load factor and avoid too long chains. Switch from Separate Chaining to Robin Hood linear probing to improve cache locality. Use primes as size to further avoid collisions. E.g. on a standard kde system the number of entries in the ProcessTable might be around 650. | ||||
* | Hashtable update | Christian Göttsche | 2020-11-17 | 1 | -13/+13 |
| | | | | | | - use consistent type for key by introducing a new typedef - use unsigned types for sizes - name parameters in foreach function typedef | ||||
* | Embracing branches | Benny Baumann | 2020-11-02 | 1 | -2/+7 |
| | |||||
* | Combine XAlloc.[ch] into XUtils.[ch] | Benny Baumann | 2020-10-17 | 1 | -1/+1 |
| | |||||
* | Fix Hashtable_put to allow storing the same pointer | Fynn Wulf | 2020-10-09 | 1 | -1/+1 |
| | |||||
* | Update License consistently to GPLv2 as per COPYING file | Daniel Lange | 2020-10-05 | 1 | -1/+1 |
| | |||||
* | Resolve DEBUG compilation issues | Christian Göttsche | 2020-10-03 | 1 | -3/+3 |
| | | | | | | | Use NDEBUG conditional instead of DEBUG. Do not call static functions in extern inline ones. Vector.c:67:11: error: static function 'Vector_isConsistent' is used in an inline function with external linkage [-Werror,-Wstatic-in-inline] | ||||
* | Axe automated header generation. | Zev Weiss | 2020-09-03 | 1 | -20/+0 |
| | | | | | | | | | | | | | | Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code. | ||||
* | Clean up existing whitespace | Daniel Flanagan | 2019-10-31 | 1 | -4/+4 |
| | |||||
* | Check for failure in allocations. | Hisham | 2016-02-02 | 1 | -3/+4 |
| | |||||
* | Clean up some needless malloc casts, convert some mallocs to callocs, and ↵ | Michael McConville | 2015-09-16 | 1 | -2/+2 |
| | | | | fix some style | ||||
* | Fix order of calloc arguments. | Hisham Muhammad | 2014-01-16 | 1 | -1/+1 |
| | | | | (Patch by Dawid Gajownik) | ||||
* | Remove old memory debugging routines. We have Valgrind nowadays. | Hisham Muhammad | 2011-12-26 | 1 | -2/+0 |
| | |||||
* | major header cleanup | Hisham Muhammad | 2011-12-26 | 1 | -4/+5 |
| | |||||
* | Tempus fugit. | Hisham Muhammad | 2011-05-26 | 1 | -1/+1 |
| | |||||
* | Tempus fugit. | Hisham Muhammad | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | Clean up headers by using 'static' whenever possible. | Hisham Muhammad | 2008-03-09 | 1 | -7/+2 |
| | | | | | Reduces resulting code size. | ||||
* | Switch to unsigned keys in hash, according to issue #1688290 | Hisham Muhammad | 2007-04-05 | 1 | -8/+8 |
| | | | | | in the sf tracker | ||||
* | Add debugging sanity checks. | Hisham Muhammad | 2006-11-12 | 1 | -0/+13 |
| | |||||
* | Add missing header. | Hisham Muhammad | 2006-11-08 | 1 | -0/+1 |
| | |||||
* | Add consistency checks. | Hisham Muhammad | 2006-11-08 | 1 | -17/+44 |
| | |||||
* | Perform RichString operations by hand. | Hisham Muhammad | 2006-07-12 | 1 | -10/+3 |
| | | | | | Avoid unnecessary operations when processing entries on ProcessList. | ||||
* | Performance improvement hackathon: improve process comparison routines, | Hisham Muhammad | 2006-07-11 | 1 | -3/+6 |
| | | | | | | | | | | disable useless code in release builds such as runtime type-checking on dynamic data structures and process fields that are not being computed, faster(?) method for verifying the process owner (still need to ensure correctness), don't destroy and create process objects for hidden kernel threads over and over. Phew. I shouldn't be doing all this today, but I could not resist. | ||||
* | Initial import. | Hisham Muhammad | 2006-03-04 | 1 | -0/+140 |