summaryrefslogtreecommitdiff
path: root/src/libply/ply-bitarray.c
AgeCommit message (Collapse)AuthorFilesLines
2014-05-20ReindentRay Strode1-6/+7
I don't like the GNU coding style and I'm not sure why I chose it. This commit changes things over to use 8 space tabs and 'if () {' style braces.
2013-12-03tests: drop for nowRay Strode1-60/+0
They're fairly bitrotten, don't tie into make check, and aren't that useful. Drop them for now, until we can come up with a better story.
2009-01-03Add hashtable and bitarray functionalityCharlie Brej1-0/+105
Hashtable uses the bitarray to mark the used/dead places in the hash data array. The hashtable functions follow the general gist of the glib ones. To create a hashtable you supply the hashing and comparison functions. Examples of direct and string based indexing are supplied. Hashtable is a single word because there is no hash_somethingelse but the name may change soon. Notice the compare function returns a signed int difference rather than an equal bool. This is because it may be an idea to later migrate the collision system to a tree sub-structure (currently it is a linear array search with an incrementing step size).