tidwall
5a1f68a1aa
Add hashmap_iter example
3 years ago
tidwall
c151e16526
Add hashmap_iter example
3 years ago
Josh Baker
9bb1f630e3
Merge pull request #18 from scossu/iterator
...
Add hashmap_iter function.
3 years ago
Josh Baker
c5fec45f78
Merge pull request #19 from scossu/const_set
...
Make item in hashmap_set constant.
3 years ago
Stefano Cossu
0f03bd0417
Make item in hashmap_set constant.
3 years ago
Stefano Cossu
d9b23a5a4d
Remove unintended signature change.
3 years ago
Stefano Cossu
cdd1eff2ee
Add comment about hashmap_delete.
3 years ago
Stefano Cossu
774694ec6d
Correct cursor increase.
3 years ago
Stefano Cossu
86ac5d4b2d
Add hashmap_iter function.
3 years ago
Josh Baker
641b4c1bab
Merge pull request #11 from thcopeland/master
...
Allow passing an element-freeing function to hashmap_new
3 years ago
Tom Copeland
14ed10f4c5
Allow passing an element-freeing function to hashmap_new
...
If present, the function is then used in hashmap_clear and
hashmap_free to free any data referenced by the hashmap elements.
3 years ago
Josh Baker
c546ff8928
Merge pull request #13 from scossu/const_void_get
...
Make "key" argument of hashmap_get const void.
3 years ago
Stefano Cossu
aa1d058456
Make "key" argument of hashmap_get const void.
3 years ago
tidwall
9fb4b295a0
Added hashmap_new_with_allocator
...
Deprecated hashmap_set_allocator
See #6 for more information
4 years ago
tidwall
735eafed75
Remove file
4 years ago
Josh Baker
e9f2f692cb
Create FUNDING.yml
4 years ago
tidwall
5ea678af50
Fix overflow regression
...
This commit fixes a regression introduced in c039c88
(v0.3.1)
which causes a heap-buffer-overflow during hashmap_free.
fixes #10
4 years ago
tidwall
30b9a6cc88
Fix cast needed for MSVC
...
fixes #9
4 years ago
tidwall
c039c886f9
Removed VLA
4 years ago
Josh Baker
8c85b96e72
Merge pull request #2 from calebschoepp/patch-1
...
Improve wording of block comment for hashmap_new
4 years ago
tidwall
9dd095ec1b
Added hashmap_clear function
...
hashmap_clear quickly clears the map.
When the update_cap is provided, the map's capacity will be
updated to match the currently number of allocated buckets.
This is an optimization to ensure that this operation does
not perform any allocations.
closes #1
4 years ago
Caleb Schoepp
288abfa8df
Improve wording of block comment for hashmap_new
4 years ago
tidwall
3db84f0b0a
Added probe function
4 years ago
tidwall
01fb55d13a
Added package file
4 years ago
tidwall
f38213fffe
Added udata to comparator
4 years ago
tidwall
268ea2d9e6
Added oom tests
4 years ago
tidwall
991b63b5c9
first commit
4 years ago