Commit Graph

60 Commits

Author SHA1 Message Date
greg 3ac86cccc7 cleanup tests for extension APIs 2021-03-15 17:41:49 -04:00
greg 75a7da03ab Fix bug in test 2021-03-15 12:24:22 -04:00
greg 08c10a02d5 Add erase_if custom API - issue #84 2021-03-15 11:20:49 -04:00
greg 7a96119c37 cleanup compilation warnings with msvc. 2020-10-23 23:01:02 -04:00
greg 1bacb6782f clean up the test a little bit... I was getting confused. 2020-10-18 11:23:57 -04:00
greg c32372b342 make test c++11 compatible 2020-10-18 10:53:29 -04:00
greg b1f76095bf compilation issue 2020-10-16 23:11:14 -04:00
greg 05c05f53c0 compilation issue 2020-10-16 23:06:39 -04:00
Brian McKinnon 02127f7bec Add lazy_emplace_l which is similar to try_emplace_l
lazy_emplace returns an iterator that is not thread-safe
2020-10-16 20:05:51 -05:00
greg 5a74cb42ff update try_emplace_l so that the lambda is called only when the key was already present - issue #60 2020-08-16 18:44:12 -04:00
greg 0d229b1159 Add new API try_emplace_l (issue #60) 2020-08-16 18:27:20 -04:00
greg 17f9048990 change mutable if_contains to modify_if 2020-08-07 13:10:31 -04:00
greg 7bbf9dc041 issue #60: add non-const if_contains() which can update the mapped_value. 2020-08-07 12:58:43 -04:00
greg e77d86e49c replace "container_internal" with the shorter "priv" 2020-07-27 09:14:43 -04:00
greg 37b04503db cleanup some test failures. 2020-07-19 17:51:13 -04:00
Brian McKinnon 31de0ceeb8 Fix test warning related to update c++ 17 deprecation 2020-05-03 12:37:47 -05:00
Brian McKinnon a1349d2b65 Make a single if_contains function to simplify the interface 2020-05-03 10:32:36 -05:00
Brian McKinnon bf7203b3c8 Renamed the thread-safe "contains" to if_contains.
Add tests to parallel_flat_hash_map_mutex_test
2020-05-02 20:45:46 -05:00
Brian McKinnon 0e723143fa Add "if_contains" to parallel_hash_map so the value does not need to be copied to be read in a thread-safe manner
Add tests for parallel_hash_map thread-safe functions.
2020-05-02 16:47:33 -05:00
greg 2f30618e64 For some reason googletest balks on this? 2020-03-28 14:43:47 -04:00
greg f30643573e try to fix build issue 2020-03-14 15:50:48 -04:00
greg 9191e51500 enable warning level for for tests (msvc) and cleanup some warnings. 2020-01-01 13:56:35 -05:00
greg 7a39f4d31c minor changes in examples 2020-01-01 12:56:26 -05:00
greg 1d5651cffe cleanup some warnings 2019-12-31 12:29:45 -05:00
greg c15bac0dec fix compilation issue with btree tests 2019-12-30 14:53:03 -05:00
greg 37f42d1f22 indentation and license update 2019-12-30 13:50:16 -05:00
greg 48144bc7f8 Add tests for btree and fix a couple issues. 2019-12-30 13:42:48 -05:00
greg 2ff7c0fce7 cleanup example and test program. bracket load/dump calls so that file is closed. 2019-08-25 10:22:44 -04:00
Gregory Popovitch daaed8b1aa Merge pull request #23 from gtarcoder/master
Added dump&&load interface for trivially_copyable types
2019-08-25 09:15:07 -04:00
sunkaicheng 62a1674d94 remove mmap load and dump 2019-08-25 20:47:05 +08:00
debugman 8fbc1526e1 Merge branch 'master' into mmap 2019-08-25 20:09:01 +08:00
sunkaicheng 34ecd92f63 added mmap load 2019-08-25 19:59:28 +08:00
sunkaicheng 61f1bdb037 use single file to store data for parallel hash 2019-08-23 10:22:41 +08:00
sunkaicheng 0866192922 use single file to store data for parallel hash 2019-08-21 09:09:12 +08:00
sunkaicheng 6ae6e2ee49 only support dump&load is_trivially_copyable types 2019-08-20 00:56:59 +08:00
sunkaicheng 21c032c9a5 added tests 2019-08-20 00:54:20 +08:00
greg 58071dda78 couple fixes in tests 2019-08-18 15:32:20 -04:00
sunkaicheng ba121d043f added tests 2019-08-18 22:50:47 +08:00
greg 6c361cde7b cleanup some warnings in tests 2019-05-10 20:35:05 -04:00
greg 54d4634290 catchup 4/16 2019-04-20 19:56:20 -04:00
greg ff561f34db fix compilation warnings 2019-04-18 21:59:12 -04:00
greg e478a4fc85 Improve internal locking support - cleanup examples 2019-04-14 13:04:25 -04:00
greg af09aefb37 update test to use boost::upgrade_mutex (under #ifdef) 2019-04-11 18:20:31 -04:00
greg 255fcfd346 fix compilation issue 2019-04-07 10:02:18 -04:00
greg 4cf303d157 add test with internal mutex 2019-04-07 09:19:04 -04:00
greg 7cc2644fba Always "mix" hash values in case poor hash values are provided. 2019-04-05 21:12:24 -04:00
greg 2234bd037b The default hash does not like using pointers as keys. #4 2019-04-02 07:25:46 -04:00
greg 932464ee07 remove unused code, fix typos 2019-03-30 13:53:04 -04:00
greg bc560068f8 fix string_view error 2019-03-27 21:44:55 -04:00
greg 3b7a161512 Update hash_generator_testing.h 2019-03-27 21:11:49 -04:00