index
:
~anholt/hash_table
master
Open-addressing, linear probing hash table code for reuse in various projects.
anholt
summary
refs
log
tree
commit
diff
log msg
author
committer
range
Age
Commit message (
Expand
)
Author
Files
Lines
2011-08-18
Add a set implementation derived from the hash_table implementation.
HEAD
master
Eric Anholt
17
-7/+1062
2011-08-18
Make hash_table_remove(ht, NULL) do nothing instead of segfault.
Eric Anholt
4
-0/+51
2011-08-18
Add defined behavior for inserts with matching keys, and a test.
Eric Anholt
5
-2/+88
2011-08-18
Improve double hashing.
Eric Anholt
1
-6/+2
2010-01-19
Clean up the hash_table_destroy implementation.
Eric Anholt
1
-4/+2
2009-11-25
Fix the double hashing to be double hashing instead of linear probing.
Eric Anholt
1
-2/+13
2009-11-25
fnv1a: use the correct offset basis so that 0-filled buffers hash by length.
Eric Anholt
1
-1/+1
2009-11-25
Prevent ht->entries from doubling when rehashing.
Eric Anholt
3
-0/+3
2009-11-25
Fix destroy_callback test.
Eric Anholt
1
-1/+3
2009-11-24
Fix flipped order of operations in fnv hash.
Eric Anholt
1
-1/+1
2009-11-24
Fix valgrind complaints, including leaking the table data!
Eric Anholt
6
-6/+7
2009-11-24
Add deleted entry management by rehashing on insert when appropriate.
Eric Anholt
3
-8/+32
2009-11-24
Add a testcase for the upcoming deletion management code.
Eric Anholt
6
-5/+107
2009-11-24
API change: pass the hash value in to search/lookup.
Eric Anholt
7
-58/+42
2009-11-24
Add an interface for choosing a random hash table entry with a predicate.
Eric Anholt
5
-0/+132
2009-11-24
destroy_callback: New test for the destroy hashtable callback.
Eric Anholt
2
-0/+66
2009-11-24
Fix the insert_many test: implement resize, and fix operator typos.
Eric Anholt
1
-7/+36
2009-11-24
New test for expanding the hash table and not losing entries.
Eric Anholt
3
-0/+81
2009-11-24
Add a new test for removal of keys from the ht, and fix up API naming.
Eric Anholt
4
-2/+76
2009-11-24
Fix segfault in insert_and_lookup test.
Eric Anholt
1
-0/+1
2009-11-24
Add testing infrastructure.
Eric Anholt
8
-3/+224
2009-11-23
Remove AM_MAINTAINER_MODE stuff.
Eric Anholt
2
-2/+1
2009-11-23
Initial import of hash_table.
Eric Anholt
8
-0/+497