summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Expand)AuthorFilesLines
2016-03-02Add a testcase for the replacement bug fixed in the previous commit.Eric Anholt9-0/+197
2016-03-02Fix replacement of deleted entries in the int set.Eric Anholt3-0/+61
2016-03-02Add a testcase for a bug that was introduced in Mesa.Eric Anholt6-0/+132
2016-03-02Fix compiler warning in delete_management.Eric Anholt1-1/+0
2014-11-25Make helpers for creating hash tables and sets of strings.Eric Anholt9-9/+9
2013-10-25Teach the hash table itself to know its own hash functionCarl Worth17-105/+107
2013-10-25Fix out-of-tree build.Eric Anholt3-3/+3
2013-10-25Add set_contains and int_set_contains functions.Carl Worth10-0/+24
2013-10-25Add new convenience function 'remove' (renaming former to 'remove_entry')Carl Worth13-24/+48
2013-10-25Add a new int-set structure for a set of integersCarl Worth11-1/+521
2013-10-25Standardize language for license blurbs.Carl Worth2-14/+16
2013-10-25Update .gitignore filesCarl Worth2-0/+5
2012-11-06Add a test case for handling of collisions.Eric Anholt2-0/+82
2011-08-18Add a set implementation derived from the hash_table implementation.Eric Anholt12-0/+643
2011-08-18Make hash_table_remove(ht, NULL) do nothing instead of segfault.Eric Anholt3-0/+48
2011-08-18Add defined behavior for inserts with matching keys, and a test.Eric Anholt3-0/+65
2009-11-24Prevent ht->entries from doubling when rehashing.Eric Anholt2-0/+2
2009-11-23Fix valgrind complaints, including leaking the table data!Eric Anholt5-5/+5
2009-11-23Add a testcase for the upcoming deletion management code.Eric Anholt5-3/+99
2009-11-23API change: pass the hash value in to search/lookup.Eric Anholt5-43/+29
2009-11-23Add an interface for choosing a random hash table entry with a predicate.Eric Anholt3-0/+102
2009-11-23destroy_callback: New test for the destroy hashtable callback.Eric Anholt2-0/+66
2009-11-23New test for expanding the hash table and not losing entries.Eric Anholt3-0/+81
2009-11-23Add a new test for removal of keys from the ht, and fix up API naming.Eric Anholt2-0/+74
2009-11-23Add testing infrastructure.Eric Anholt3-0/+123