- Sep 20, 2019
-
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
Use non_sso_data() and sso_data() methods instead of direct access to make sure data is accessed only when it is initialized.
-
Igor Chorazewicz authored
In insert, it was wrongly assumed that if size < sso_capacity it means that sso is used. It is possible that non_sso type is used and size is < sso_capacity so explicit check is needed.
-
- Sep 19, 2019
-
-
Szymon Romik authored
concurrent_hash_map: reimplement my_mask
-
- Sep 18, 2019
-
-
Igor Chorążewicz authored
Fix release build errors
-
- Sep 17, 2019
-
-
Igor Chorążewicz authored
my_mask is a variable which is reinitialized on each process restart. Until now, v<> was used for this purpose. Because v<> is not productized yet, reinitialize my_mask in runtime_initialize() method. Now, runtime_initialize() MUST be called after proccess restart. In future, when v<> is productized, we may switch back to using it.
-
Igor Chorazewicz authored
and call it in every test before using hashmap
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
-
Szymon Romik authored
concurrent_hash_map: implement insert using tx
-
- Sep 16, 2019
-
-
Szymon Romik authored
concurrent_hash_map: add test for concurrent inserts with the same key
-
Szymon Romik authored
Hash map minor refactoring
-
Igor Chorążewicz authored
travis: limit the coverage build
-
Igor Chorazewicz authored
Implement inserts which take rvalue ref uisng internal_insert. This is more consistent with implementation of other inserts.
-
Igor Chorazewicz authored
This approach simplifies the code and slightly improves performance.
-
Lukasz Dorau authored
-
Igor Chorazewicz authored
-
- Sep 14, 2019
-
-
Szymon Romik authored
Vector insert fix
-
- Sep 13, 2019
-
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
and add tests for interators.
-
Igor Chorążewicz authored
Fix a heterogeneous typo
-
Szymon Romik authored
Multithreaded concurrent hashmap API tests
-
Igor Chorążewicz authored
This is the only possible use case for this function. Calling construct with index other than size() would result in calling constructors on already initialized memory.
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
insert_gap() method worked incorrectly. It used std::move_backward to move elements in a vector, ignoring the fact that memory after size() was uninitialized. This resulted in operator= being called on uninitialized elements instead of copy/move constructor. Fix this issue by reimplementing insert_gap as internal_insert. Use generic implementation for iterators to implement all cases.
-
Igor Chorazewicz authored
and change name of construct_range_copy to construct. conctruct_range can be implemented using construct_range_copy by passing std::make_move_iterator(iterator) as parameters.
-
Lukasz Dorau authored
-
- Sep 12, 2019
-
-
Pawel Karczewski authored
Decrease number of concurrent threads in concurrent hashmap tests if run under drd. It fix timeout issue during travis builds. Varialbe "On_drd" is exposed by unittest library.
-
Pawel Karczewski authored
Add tests for all kinds of insert, erase and find, as defined in API. * Abstraction of class ConcurrentHashmapTestPrimitives is added to achieve tests code as self documented scenarios. * Prints are not visible during ctest execution, but are helpful when test binary is run manually.
-
Pawel Karczewski authored
-
Pawel Karczewski authored
-
Szymon Romik authored
string: modifiers
-
Szymon Romik authored
Make valgrind build separate travis step
-
Pawel Karczewski authored
It's done for build time optimization.
-
Pawel Karczewski authored
* Put builds as separate functions in run-build.sh * Explicitly list, which builds should be run according to build type * Add valgrind build type * Add valgrind build as separate travis step
-
Krzysztof Kajrewicz authored
-
- Sep 10, 2019
-
-
Igor Chorążewicz authored
Add concurrent_hash_map_pmreorder_break_insert test
-
- Sep 06, 2019
-
-
Lukasz Dorau authored
-
Lukasz Dorau authored
-
Lukasz Dorau authored
-