summaryrefslogtreecommitdiff
path: root/test/hashmap.c
Commit message (Collapse)AuthorAgeFilesLines
* utils: Add hashmap_count()Daniel Silverstone2020-02-231-1/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* utils: Add iteration API to hashmapDaniel Silverstone2020-02-231-1/+100
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* utils: Add a generic hashmap and tests for itDaniel Silverstone2020-02-231-0/+467
In order to be able to use a generic hashmap in things such as the fs_backing_store we want one to exist. Here it is, along with some moderately comprehensive tests. Current limits: 1. All keys and values are owned by the hashmap 2. The hashmap, while capable of different bucket counts only has a single fixed count for now Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>