Commit Graph

49 Commits

Author SHA1 Message Date
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
greg 25dddb9369 fix some build issues with c++14/17 2019-03-27 20:55:20 -04:00
greg 829a3f30ab fix some warnings 2019-03-27 20:27:18 -04:00
greg ff075f38f0 fix last ubuntu xenial build issue 2019-03-26 08:47:36 -04:00
greg c043f2b363 add more tests - they all pass on windows / vs2017 2019-03-25 21:18:16 -04:00
greg 6968d22348 add parallel_node variants 2019-03-25 07:58:34 -04:00
greg dcd54dcda7 use macros to avoid duplicating the tests 2019-03-24 19:27:21 -04:00
greg 0e023a9117 Update parallel_flat_hash_map_test.cc 2019-03-24 19:13:02 -04:00
greg ce42f39139 cleanup some tests 2019-03-24 19:01:05 -04:00
greg 66de13288e all tests pass 2019-03-24 18:44:50 -04:00
greg 6bb7fcba5a add tests files 2019-03-24 18:28:43 -04:00