1000 Commits

Author SHA1 Message Date
Rene Rivera
cdb31c8309 Sync from upstream. 2024-09-09 15:23:31 -05:00
Braden Ganetsky
3f4d5fc567 Put instantiate_[fca] classes into their respective test file, instead of in the headers 2024-09-03 21:17:36 -05:00
Rene Rivera
9a2483dd2c Sync from upstream. 2024-09-03 20:09:40 -05:00
joaquintides
cd9a592f00
Fixed std::initializer_list assignment issues for open-addressing containers (#277)
* fixed #276

* used range insert, stylistic this->

* assigned non-empty std::initializer_lists
2024-09-02 18:56:13 +02:00
Rene Rivera
aa67315922 Sync from upstream. 2024-08-27 09:24:49 -05:00
Braden Ganetsky
5dd2068b62 Fix tests using Interprocess not compiling on Cygwin 2024-08-26 13:43:33 -05:00
Rene Rivera
85098f0506 Sync from upstream. 2024-08-26 07:13:46 -05:00
joaquintides
f734e399e3
Feature/concurrent node containers (#271)
* added concurrent node containers

* removed spurious typename

* added missing includes

* avoided unused param warning

* worked around Clang bug

* s/{}/() to work around GCC4.8 problems with aggregate initialization

* used /bigobj for cfoa/visit_tests.cpp

* suppressed localized maybe-uninitialized warnings

* fixed comments

* added /bigobj to cfoa/insert_tests.cpp

* instrumented double exact comparison to spot a spurious error

* fixed pedantic error

* refactored byte_span machinery

* compromised on sub-epsilon equality for doubles that should be identical

* documented boost::concurrent_node_(map|set)

* added concurrent_node_set

* added missing AlternativeType

* tested empty node insertion

* tested node_handle allocator management

* added nonassignable_allocator and node_handle_allocator_swap_tests

* fixed warning disabling

* silenced spurious GCC warning

* broadened scope of previous pragma

* broadened even more

* worked around spurious constexpr-related msvc-14.0 bug
https://godbolt.org/z/v78545Ebf

* added workaround back

* replaced previous workaround with built-in one

* added workaround back on top of built-in solution (which doesn't work 100% of the time)
2024-08-25 18:34:58 +02:00
Rene Rivera
2afef71107 Sync from upstream. 2024-08-23 11:12:09 -05:00
Braden Ganetsky
45e50f6cd2 Use references in test file, so we can check the debugger display without dereferencing the container 2024-08-17 14:37:05 -05:00
Braden Ganetsky
600dd0a8e2 Rename 'natvis_tests.cpp' to 'debuggability/visualization_tests.cpp', to be used with other kinds of visualizations 2024-08-17 14:37:05 -05:00
Rene Rivera
7645e4f20d Sync from upstream. 2024-07-25 17:18:43 -05:00
Braden Ganetsky
cd4c1f3713
Fix Boost.Config includes in natvis_tests.cpp (#268) 2024-07-24 09:05:21 +02:00
Rene Rivera
1edbe3fdbe Change all <source> references to <library>. 2024-07-20 21:27:30 -05:00
Rene Rivera
42579dee10 Add uuid test dependency. 2024-07-19 16:00:30 -05:00
Rene Rivera
0928b3d016 Add process test dependency. 2024-07-19 12:58:21 -05:00
Rene Rivera
5d7786b47e Add interprocess test dependency. 2024-07-19 08:11:35 -05:00
Rene Rivera
228fede498 Sync from upstream. 2024-07-18 09:28:57 -05:00
joaquintides
1d1f0d306d
Feature/nonconst set visit (#265)
* Made some boost::concurrent_flat_set operations exclusive-locked

* unnamed unused args

* fixed PR number

* replaced homemade mechanism with boost::compat::latch
2024-07-16 19:50:08 +02:00
Braden Ganetsky
7ddd562532
Implement natvis for fancy pointers (#262)
* Add file for manual natvis testing

* Equip natvis file to allow fancy pointers

* Update docs

* [skip ci] add links to natvis docs
2024-07-15 19:42:28 +02:00
Rene Rivera
88535dca1f Sync from upstream. 2024-07-12 08:54:23 -05:00
joaquintides
e3818afd45
test interprocess concurrency (#258)
* added cfoa_interprocess_concurrency_tests

* avoided C++14 digit separators

* stopped using exit codes to pass numerical info to parent

* Reorder includes to make msvc-14.0 happy

* made cumulative_stats interprocess concurrency safe

* disabled interprocess_concurrency_tests for Clang 3.5-8
(Boost.Process compile error)

* made test names shorter for the benefit of MINGW32

---------

Co-authored-by: Peter Dimov <pdimov@gmail.com>
2024-06-22 09:13:30 +02:00
Rene Rivera
4126a56528 Sync from upstream. 2024-06-10 21:40:32 -05:00
Braden Ganetsky
9995c9beb0 Fix 'invalid argument' to boost::interprocess::shared_memory_object 2024-06-06 23:05:43 -05:00
Rene Rivera
38acf9c619 Sync from upstream. 2024-06-02 13:50:31 -05:00
joaquintides
f77bdb9b67 updated is_avalanching trait protocol 2024-05-29 19:51:32 +02:00
Rene Rivera
8630a588bd Sync from upstream. 2024-05-10 20:47:21 -05:00
joaquintides
28fc689011 avoided shorten-64-to-32 and sign-conversion warnings 2024-05-05 18:30:42 +02:00
joaquintides
22d8cca03b added stats to bulk visitation 2024-05-05 17:56:03 +02:00
joaquintides
223f64752d implemented proper stats handling on concurrent<->unordered move construction 2024-05-03 18:04:21 +02:00
joaquintides
37451ecc94 relaxed checks for non-empty unsuccessful lookup stats 2024-05-03 13:07:09 +02:00
joaquintides
8452b30608 implemented proper stats handling on move assignment 2024-05-02 20:41:27 +02:00
joaquintides
d121c91c88 avoided shadowed declaration warning 2024-05-02 12:48:48 +02:00
joaquintides
6212f2642c avoided spurious check of deleted copy ctor 2024-05-02 11:15:29 +02:00
joaquintides
d5605671bd avoided shadowed local variable warnings 2024-05-02 10:22:14 +02:00
joaquintides
45c51840f7 avoided shadowed declaration warning 2024-05-02 09:52:58 +02:00
joaquintides
90ca4fb07e avoided float-equal warnings 2024-05-02 09:49:11 +02:00
joaquintides
83ab4b4b9f avoided unused-local-type warning 2024-05-01 21:32:49 +02:00
joaquintides
04006547a2 editorial 2024-05-01 20:57:02 +02:00
joaquintides
7b0e4da61e editorial 2024-05-01 20:56:05 +02:00
joaquintides
0c1b719945 added missing typedefs 2024-05-01 20:52:36 +02:00
joaquintides
3b2eae07d4 avoided name hiding warning 2024-05-01 20:28:12 +02:00
joaquintides
b0c480839b renamed test file 2024-05-01 18:27:45 +02:00
joaquintides
6215406c02 added tests for stats feature 2024-05-01 18:15:14 +02:00
Rene Rivera
a1f9097f2b Sync from upstream. 2024-04-10 07:57:16 -05:00
Braden Ganetsky
553ce263fa Fix pmr tests on macos-13 2024-03-24 12:22:45 -05:00
Braden Ganetsky
e63853d87d Fix fca allocator swapping, and test that pmr allocator swap compiles 2024-03-24 12:22:45 -05:00
Braden Ganetsky
e816ba511c Write pmr tests to check for no allocator propagation 2024-03-24 12:22:45 -05:00
Braden Ganetsky
82ba55e4a4 Write test pmr_emplace_erase to check basic functionality with pmr allocators 2024-03-24 12:22:44 -05:00
Braden Ganetsky
626db552ab Write pmr memory resource 'counted_new_delete_resource' 2024-03-24 10:47:02 -05:00