summaryrefslogtreecommitdiffstats
path: root/UsersTable.c
AgeCommit message (Collapse)Author
2020-11-17Hashtable: use dynamic growth and use primes as sizeChristian Göttsche
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.
2020-10-27Avoid some unnecessary casts and mark some not changing variables constChristian Göttsche
2020-10-19XUtils string related updatesChristian Göttsche
- 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
2020-10-18Make all required includes explicitBenny Baumann
Information as seen by IWYU 0.12 + clang 9 on Linux
2020-10-17Combine XAlloc.[ch] into XUtils.[ch]Benny Baumann
2020-10-16Rename StringUtils.[ch] to XUtils.[ch]Benny Baumann
2020-10-16Move xAsprintf, xSnprintf and xStrdup to StringUtils.hBenny Baumann
2020-10-05Update License consistently to GPLv2 as per COPYING fileDaniel Lange
2020-09-03Axe automated header generation.Zev Weiss
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.
2016-02-02Check for failure in allocations.Hisham
2011-12-26major header cleanupHisham Muhammad
2011-12-25Use strdup explicitlyHisham Muhammad
2011-05-26Tempus fugit.Hisham Muhammad
2010-02-25Tempus fugit.Hisham Muhammad
2008-03-09Clean up headers by using 'static' whenever possible.Hisham Muhammad
Reduces resulting code size.
2007-04-05Switch to unsigned keys in hash, according to issue #1688290 Hisham Muhammad
in the sf tracker
2006-03-23Update copyrights.Hisham Muhammad
2006-03-04Initial import.Hisham Muhammad