Commit Graph

60 Commits

Author SHA1 Message Date
e5ea933f04 Fixed a circular dependency in Makefile. 2022-12-05 00:59:45 +01:00
661b9ce39b Return error EFBIG, if the set or map cannot grow any further because of the SIZE_MAX limit. 2022-12-04 22:57:29 +01:00
669bf3a28b hash_map_insert(): Added parameter 'update' to specify if the value of an existing key should be updated +
hash_map_remove(): Added parameter 'value' to return the value that was associated with the deleted key (optional).
2022-12-04 21:47:44 +01:00
d1cf093e76 Small improvement to map entry handling. 2022-12-03 22:44:14 +01:00
04a3313116 MSVC: Exclude DllMain() function from the "static" library. 2022-12-03 15:47:15 +01:00
83911e9a5d Fixed a few warnings of MSVC at "EnableAllWarnings" level. 2022-12-03 15:42:31 +01:00
30d981a6ff Fixed a few warnings of GCC at "-Wall" level. 2022-12-03 14:50:12 +01:00
a1d8935b2b Added DllMain() function to Windows "shared" library (DLL). 2022-12-03 02:24:58 +01:00
c57fce910e Small tweak to default load factor. 2022-12-02 16:28:52 +01:00
466a502adf Optimized hash computation. 2022-12-02 14:50:37 +01:00
89a93098d8 Small improvement to hash computation. 2022-12-02 01:40:50 +01:00
0e9434d939 Tweak the hash computation using an application-defined "seed" value. 2022-12-01 23:44:45 +01:00
3c513a66fc Fixed a warning. 2022-12-01 20:04:30 +01:00
b61e89cc5f Updated README file. 2022-12-01 18:37:11 +01:00
19a1c2ba47 Small code clean-up. 2022-12-01 16:53:36 +01:00
40b4e2d5af Improved Makefiles to build the "shared" library (DLL). 2022-12-01 16:26:47 +01:00
82b16fb608 Added support for 16-Bit data types. 2022-12-01 16:06:12 +01:00
4f2a13217c Simplified Makefiles. 2022-11-30 21:04:36 +01:00
b49e1497bf Refactored the Makefiles. 2022-11-30 16:15:12 +01:00
3f197143f6 Added example program for hash map. 2022-11-30 15:41:29 +01:00
c4a98bfb48 Re-organized "example" and "test" projects. 2022-11-30 14:43:01 +01:00
aa8d45936c Map support has been implemented. 2022-11-29 21:30:19 +01:00
c016cd0af3 Improved Makefiles. 2022-11-29 16:08:11 +01:00
93a286563a Clean up "test" and "example" projects. 2022-11-29 15:23:06 +01:00
54d1714367 Added separate "test" and "example" projects. 2022-11-28 17:46:49 +01:00
df5084f72c Small improvement to test functions. 2022-11-28 15:08:24 +01:00
ffb27ac848 Small code refactoring. 2022-11-28 02:26:52 +01:00
af8b940b56 Small improvement to test functions. 2022-11-27 21:43:19 +01:00
327f38d760 Small code clean-up. 2022-11-27 20:40:39 +01:00
e58e4d1061 Implemented the hash_set_dump() function. 2022-11-27 20:23:49 +01:00
00764536ca Implemented separate functions for uint32_t and uint64_t hash sets. 2022-11-27 19:46:01 +01:00
3bf65717a8 Added version information to the public API. 2022-11-25 17:49:51 +01:00
43996ceac2 Added ARM64 configurations. 2022-11-25 16:58:37 +01:00
bafc46eeed Added build script for MSVC. 2022-11-25 16:45:39 +01:00
5675964db1 Some Makefile improvements. 2022-11-25 13:41:47 +01:00
4dfc5f5279 Small code clean-up. 2022-11-25 13:06:54 +01:00
e550528fe8 Small code clean-up. 2022-11-25 02:53:34 +01:00
6c7a9073f8 Small code refactoring. 2022-11-25 00:57:19 +01:00
dbd10d5a8a Added separate configurations for "shared" (DLL) and "static" libraries. 2022-11-25 00:45:35 +01:00
0de14dfe4c Updated README file. 2022-11-24 19:25:39 +01:00
ebcb4d64f9 Improved test functions. 2022-11-24 17:00:19 +01:00
c5594fa0ce Various improvements. 2022-11-24 15:46:07 +01:00
1d914cc031 Linux build fixes. 2022-11-23 00:04:26 +01:00
6739fcbf01 Added separate Makefiles for the library and the "main" program. 2022-11-22 23:31:21 +01:00
caef45b177 Various improvements. 2022-11-22 23:30:57 +01:00
9cd9ef3600 Small tweak to hash function. 2022-11-22 17:00:43 +01:00
a683e0479b Added function to explicitly shrink the set + added function to clear set. 2022-11-21 18:36:43 +01:00
a348e59e60 Improved test code. 2022-11-21 17:14:11 +01:00
fea6eae9a6 Some improvements. 2022-11-21 15:02:07 +01:00
a245afb8de Force re-build of the set, if it contains too many deleted items. 2022-11-20 19:16:12 +01:00