summaryrefslogtreecommitdiffstats
path: root/UsersTable.c
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* Hashtable: use dynamic growth and use primes as sizeChristian Göttsche2020-11-171-1/+1
| | | | | | | | | | | | | 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.
* Avoid some unnecessary casts and mark some not changing variables constChristian Göttsche2020-10-271-2/+2
|
* XUtils string related updatesChristian Göttsche2020-10-191-0/+2
| | | | | | | | | | - allow count out-parameter of String_split() to be NULL - introduce xStrndup() - do not allow NULL pointers passed to String_eq() it is not used in any code - implement String_startsWith(), String_contains_i() and String_eq() as inline header functions - adjust several conversion issues
* Make all required includes explicitBenny Baumann2020-10-181-7/+2
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Combine XAlloc.[ch] into XUtils.[ch]Benny Baumann2020-10-171-1/+0
|
* Rename StringUtils.[ch] to XUtils.[ch]Benny Baumann2020-10-161-1/+1
|
* Move xAsprintf, xSnprintf and xStrdup to StringUtils.hBenny Baumann2020-10-161-3/+5
|
* Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
|
* Axe automated header generation.Zev Weiss2020-09-031-7/+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.
* Check for failure in allocations.Hisham2016-02-021-2/+3
|
* major header cleanupHisham Muhammad2011-12-261-4/+5
|
* Use strdup explicitlyHisham Muhammad2011-12-251-2/+3
|
* Tempus fugit.Hisham Muhammad2011-05-261-1/+1
|
* Tempus fugit.Hisham Muhammad2010-02-251-1/+1
|
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-4/+0
| | | | | Reduces resulting code size.
* Switch to unsigned keys in hash, according to issue #1688290 Hisham Muhammad2007-04-051-1/+1
| | | | | in the sf tracker
* Update copyrights.Hisham Muhammad2006-03-231-1/+1
|
* Initial import.Hisham Muhammad2006-03-041-0/+56

© 2014-2024 Faster IT GmbH | imprint | privacy policy