3 #ifndef CDSTEST_HDR_INTRUSIVE_SKIPLIST_SET_RCU_H
4 #define CDSTEST_HDR_INTRUSIVE_SKIPLIST_SET_RCU_H
6 #include "set/hdr_intrusive_set.h"
10 class IntrusiveSkipListSetRCU: public IntrusiveHashSetHdrTest
12 typedef IntrusiveHashSetHdrTest base_class;
14 static size_t const c_nArrSize = 1000;
16 template <typename Set>
17 struct extract_disposer {
18 void operator()( typename Set::value_type * pVal ) const
36 other_key& operator=( Q const& src )
43 template <typename StoredType>
46 bool operator ()( StoredType const& n, other_key k ) const
48 return n.nKey < k.nKey;
50 bool operator ()( other_key k, StoredType const& n ) const
52 return k.nKey < n.nKey;
59 void operator()( other_key& dest, Q const& src ) const
67 template <class Set, typename PrintStat>
72 base_class::test_int_with( s );
75 test_skiplist_<Set, PrintStat >();
78 template <class Set, typename PrintStat>
83 CPPUNIT_ASSERT( s.empty() );
84 CPPUNIT_ASSERT( check_size( s, 0 ));
86 typedef typename Set::gc::scoped_lock rcu_lock;
87 typedef typename Set::value_type value_type;
88 typedef typename Set::iterator set_iterator;
89 typedef typename Set::const_iterator const_set_iterator;
91 value_type v[c_nArrSize];
95 // Test iterator - ascending order
96 for ( int i = 0; i < (int) (sizeof(v)/sizeof(v[0])); ++i ) {
100 CPPUNIT_ASSERT( s.insert( v[i] ));
102 CPPUNIT_ASSERT( check_size( s, sizeof(v)/sizeof(v[0]) ));
104 //CPPUNIT_MSG( PrintStat()(s, "Iterator test, ascending insert order") );
110 for ( set_iterator it = s.begin(), itEnd = s.end(); it != itEnd; ++it ) {
111 CPPUNIT_ASSERT( (*it).nKey * 2 == it->nVal );
112 CPPUNIT_ASSERT( s.contains( it->nKey ));
113 it->nVal = (*it).nKey;
115 if ( it != s.begin() ) {
116 CPPUNIT_ASSERT( nPrevKey + 1 == it->nKey );
121 CPPUNIT_ASSERT( check_size( s, sizeof(v)/sizeof(v[0]) ));
122 CPPUNIT_ASSERT( nCount == sizeof(v)/sizeof(v[0]));
127 for ( const_set_iterator it = s.cbegin(), itEnd = s.cend(); it != itEnd; ++it ) {
128 CPPUNIT_ASSERT( (*it).nKey == it->nVal );
130 if ( it != s.cbegin() ) {
131 CPPUNIT_ASSERT( nPrevKey + 1 == it->nKey );
136 CPPUNIT_CHECK( check_size( s, sizeof(v)/sizeof(v[0]) ));
137 CPPUNIT_CHECK( nCount == sizeof(v)/sizeof(v[0]));
139 for ( size_t i = 0; i < sizeof(v)/sizeof(v[0]); ++i ) {
140 CPPUNIT_ASSERT( v[i].nKey == v[i].nVal );
141 CPPUNIT_ASSERT( s.contains( v[i].nKey ));
145 CPPUNIT_CHECK( s.empty() );
146 CPPUNIT_CHECK( check_size( s, 0));
147 Set::gc::force_dispose();
149 for ( size_t i = 0; i < (int) sizeof(v)/sizeof(v[0]); ++i ) {
150 CPPUNIT_CHECK( v[i].nDisposeCount == 1 );
153 // Test iterator - descending order
154 for ( int i = (int) sizeof(v)/sizeof(v[0]) - 1; i >= 0; --i ) {
158 CPPUNIT_ASSERT( s.insert( v[i] ));
160 CPPUNIT_CHECK( check_size( s, sizeof(v)/sizeof(v[0]) ));
162 //CPPUNIT_MSG( PrintStat()(s, "Iterator test, descending insert order") );
167 for ( set_iterator it = s.begin(), itEnd = s.end(); it != itEnd; ++it ) {
168 CPPUNIT_ASSERT( (*it).nKey * 2 == it->nVal );
169 it->nVal = (*it).nKey;
171 if ( it != s.begin() ) {
172 CPPUNIT_ASSERT( nPrevKey + 1 == it->nKey );
177 CPPUNIT_ASSERT( check_size( s, sizeof(v)/sizeof(v[0]) ));
178 CPPUNIT_ASSERT( nCount == sizeof(v)/sizeof(v[0]));
183 for ( const_set_iterator it = s.cbegin(), itEnd = s.cend(); it != itEnd; ++it ) {
184 CPPUNIT_ASSERT( (*it).nKey == it->nVal );
186 if ( it != s.cbegin() ) {
187 CPPUNIT_ASSERT( nPrevKey + 1 == it->nKey );
192 CPPUNIT_ASSERT( check_size( s, sizeof(v)/sizeof(v[0]) ));
193 CPPUNIT_ASSERT( nCount == sizeof(v)/sizeof(v[0]));
195 for ( size_t i = 0; i < sizeof(v)/sizeof(v[0]); ++i ) {
196 CPPUNIT_ASSERT( v[i].nKey == v[i].nVal );
200 CPPUNIT_ASSERT( s.empty() );
201 CPPUNIT_ASSERT( check_size( s, 0 ));
202 Set::gc::force_dispose();
204 for ( size_t i = 0; i < sizeof(v)/sizeof(v[0]); ++i ) {
205 CPPUNIT_ASSERT( v[i].nDisposeCount == 2 );
208 // Test iterator - random order
209 fill_skiplist( s, v );
210 CPPUNIT_ASSERT( check_size( s, sizeof(v)/sizeof(v[0]) ));
211 //CPPUNIT_MSG( PrintStat()(s, "Iterator test, random insert order") );
216 for ( set_iterator it = s.begin(), itEnd = s.end(); it != itEnd; ++it ) {
217 CPPUNIT_ASSERT( (*it).nKey * 2 == it->nVal );
218 it->nVal = (*it).nKey;
220 if ( it != s.begin() ) {
221 CPPUNIT_ASSERT( nPrevKey + 1 == it->nKey );
226 CPPUNIT_ASSERT( check_size( s, sizeof(v)/sizeof(v[0]) ));
227 CPPUNIT_ASSERT( nCount == sizeof(v)/sizeof(v[0]));
232 for ( const_set_iterator it = s.cbegin(), itEnd = s.cend(); it != itEnd; ++it ) {
233 CPPUNIT_ASSERT( (*it).nKey == it->nVal );
235 if ( it != s.cbegin() ) {
236 CPPUNIT_ASSERT( nPrevKey + 1 == it->nKey );
241 CPPUNIT_ASSERT( check_size( s, sizeof(v)/sizeof(v[0]) ));
242 CPPUNIT_ASSERT( nCount == sizeof(v)/sizeof(v[0]));
244 for ( size_t i = 0; i < sizeof(v)/sizeof(v[0]); ++i ) {
245 CPPUNIT_ASSERT( v[i].nKey == v[i].nVal );
249 CPPUNIT_ASSERT( s.empty() );
250 CPPUNIT_ASSERT( check_size( s, 0 ));
251 Set::gc::force_dispose();
253 for ( size_t i = 0; i < sizeof(v)/sizeof(v[0]); ++i ) {
254 CPPUNIT_ASSERT( v[i].nDisposeCount == 3 );
259 typename Set::exempt_ptr ep;
260 typename Set::raw_ptr rp;
263 fill_skiplist( s, v );
265 for ( int i = c_nArrSize - 1; i >= 0; i -= 1 ) {
269 CPPUNIT_ASSERT( rp );
270 CPPUNIT_CHECK( rp->nKey == i );
271 CPPUNIT_CHECK( rp->nVal == i * 2 );
277 CPPUNIT_ASSERT( ep );
278 CPPUNIT_ASSERT( !ep.empty() );
279 CPPUNIT_CHECK( ep->nKey == i );
280 CPPUNIT_CHECK( ep->nVal == i * 4 );
285 CPPUNIT_CHECK( !s.get( i ));
288 CPPUNIT_CHECK( !ep );
289 CPPUNIT_ASSERT( ep.empty() );
291 CPPUNIT_CHECK( s.empty() );
293 Set::gc::force_dispose();
297 fill_skiplist( s, v );
298 for ( int i = c_nArrSize - 1; i >= 0; i -= 1 ) {
301 rp = s.get_with( other_key(i), other_key_less<typename Set::value_type>() );
302 CPPUNIT_ASSERT( rp );
303 CPPUNIT_CHECK( rp->nKey == i );
304 CPPUNIT_CHECK( rp->nVal == i * 2 );
309 ep = s.extract_with( other_key( i ), other_key_less<typename Set::value_type>() );
310 CPPUNIT_ASSERT( ep );
311 CPPUNIT_ASSERT( !ep.empty() );
312 CPPUNIT_CHECK( ep->nKey == i );
313 CPPUNIT_CHECK( ep->nVal == i * 4 );
318 CPPUNIT_CHECK( !s.get_with( other_key( i ), other_key_less<typename Set::value_type>() ));
320 ep = s.extract_with( other_key( i ), other_key_less<typename Set::value_type>() );
321 CPPUNIT_CHECK( !ep );
323 CPPUNIT_CHECK( s.empty() );
325 Set::gc::force_dispose();
329 fill_skiplist( s, v );
332 ep = s.extract_min();
333 CPPUNIT_ASSERT( ep );
334 CPPUNIT_ASSERT( !ep.empty());
338 while ( !s.empty() ) {
339 ep = s.extract_min();
340 CPPUNIT_ASSERT( ep );
341 CPPUNIT_ASSERT( !ep.empty());
342 CPPUNIT_CHECK( ep->nKey == nPrevKey + 1 );
343 CPPUNIT_CHECK( ep->nVal == (nPrevKey + 1) * 2 );
347 ep = s.extract_min();
348 CPPUNIT_CHECK( !ep );
349 CPPUNIT_CHECK( !s.extract_max() );
351 Set::gc::force_dispose();
355 fill_skiplist( s, v );
358 ep = s.extract_max();
359 CPPUNIT_ASSERT( ep );
360 CPPUNIT_ASSERT( !ep.empty());
364 while ( !s.empty() ) {
365 ep = s.extract_max();
366 CPPUNIT_ASSERT( ep );
367 CPPUNIT_ASSERT( !ep.empty());
368 CPPUNIT_CHECK( ep->nKey == nPrevKey - 1 );
369 CPPUNIT_CHECK( ep->nVal == (nPrevKey - 1) * 2 );
373 ep = s.extract_min();
374 CPPUNIT_CHECK( !ep );
375 CPPUNIT_CHECK( !s.extract_max() );
377 Set::gc::force_dispose();
380 CPPUNIT_MSG( PrintStat()(s, nullptr) );
383 template <typename Set>
384 void fill_skiplist( Set& s, typename Set::value_type * pArr )
386 int nRand[c_nArrSize];
387 for ( int i = 0; i < (int) c_nArrSize; ++i ) {
390 shuffle( nRand, nRand + c_nArrSize );
392 for ( int i = 0; i < (int) c_nArrSize; ++i ) {
393 pArr[i].nKey = nRand[i];
394 pArr[i].nVal = nRand[i] * 2;
395 CPPUNIT_ASSERT( s.insert( pArr[i] ));
397 CPPUNIT_CHECK( check_size( s, c_nArrSize ));
403 void skiplist_rcu_gpi_base_cmp();
404 void skiplist_rcu_gpi_base_less();
405 void skiplist_rcu_gpi_base_cmpmix();
406 void skiplist_rcu_gpi_base_cmp_stat();
407 void skiplist_rcu_gpi_base_less_stat();
408 void skiplist_rcu_gpi_base_cmpmix_stat();
409 void skiplist_rcu_gpi_base_cmp_xorshift();
410 void skiplist_rcu_gpi_base_less_xorshift();
411 void skiplist_rcu_gpi_base_cmpmix_xorshift();
412 void skiplist_rcu_gpi_base_cmp_xorshift_stat();
413 void skiplist_rcu_gpi_base_less_xorshift_stat();
414 void skiplist_rcu_gpi_base_cmpmix_xorshift_stat();
415 void skiplist_rcu_gpi_base_cmp_pascal();
416 void skiplist_rcu_gpi_base_less_pascal();
417 void skiplist_rcu_gpi_base_cmpmix_pascal();
418 void skiplist_rcu_gpi_base_cmp_pascal_stat();
419 void skiplist_rcu_gpi_base_less_pascal_stat();
420 void skiplist_rcu_gpi_base_cmpmix_pascal_stat();
422 void skiplist_rcu_gpi_member_cmp();
423 void skiplist_rcu_gpi_member_less();
424 void skiplist_rcu_gpi_member_cmpmix();
425 void skiplist_rcu_gpi_member_cmp_stat();
426 void skiplist_rcu_gpi_member_less_stat();
427 void skiplist_rcu_gpi_member_cmpmix_stat();
428 void skiplist_rcu_gpi_member_cmp_xorshift();
429 void skiplist_rcu_gpi_member_less_xorshift();
430 void skiplist_rcu_gpi_member_cmpmix_xorshift();
431 void skiplist_rcu_gpi_member_cmp_xorshift_stat();
432 void skiplist_rcu_gpi_member_less_xorshift_stat();
433 void skiplist_rcu_gpi_member_cmpmix_xorshift_stat();
434 void skiplist_rcu_gpi_member_cmp_pascal();
435 void skiplist_rcu_gpi_member_less_pascal();
436 void skiplist_rcu_gpi_member_cmpmix_pascal();
437 void skiplist_rcu_gpi_member_cmp_pascal_stat();
438 void skiplist_rcu_gpi_member_less_pascal_stat();
439 void skiplist_rcu_gpi_member_cmpmix_pascal_stat();
442 void skiplist_rcu_gpb_base_cmp();
443 void skiplist_rcu_gpb_base_less();
444 void skiplist_rcu_gpb_base_cmpmix();
445 void skiplist_rcu_gpb_base_cmp_stat();
446 void skiplist_rcu_gpb_base_less_stat();
447 void skiplist_rcu_gpb_base_cmpmix_stat();
448 void skiplist_rcu_gpb_base_cmp_xorshift();
449 void skiplist_rcu_gpb_base_less_xorshift();
450 void skiplist_rcu_gpb_base_cmpmix_xorshift();
451 void skiplist_rcu_gpb_base_cmp_xorshift_stat();
452 void skiplist_rcu_gpb_base_less_xorshift_stat();
453 void skiplist_rcu_gpb_base_cmpmix_xorshift_stat();
454 void skiplist_rcu_gpb_base_cmp_pascal();
455 void skiplist_rcu_gpb_base_less_pascal();
456 void skiplist_rcu_gpb_base_cmpmix_pascal();
457 void skiplist_rcu_gpb_base_cmp_pascal_stat();
458 void skiplist_rcu_gpb_base_less_pascal_stat();
459 void skiplist_rcu_gpb_base_cmpmix_pascal_stat();
461 void skiplist_rcu_gpb_member_cmp();
462 void skiplist_rcu_gpb_member_less();
463 void skiplist_rcu_gpb_member_cmpmix();
464 void skiplist_rcu_gpb_member_cmp_stat();
465 void skiplist_rcu_gpb_member_less_stat();
466 void skiplist_rcu_gpb_member_cmpmix_stat();
467 void skiplist_rcu_gpb_member_cmp_xorshift();
468 void skiplist_rcu_gpb_member_less_xorshift();
469 void skiplist_rcu_gpb_member_cmpmix_xorshift();
470 void skiplist_rcu_gpb_member_cmp_xorshift_stat();
471 void skiplist_rcu_gpb_member_less_xorshift_stat();
472 void skiplist_rcu_gpb_member_cmpmix_xorshift_stat();
473 void skiplist_rcu_gpb_member_cmp_pascal();
474 void skiplist_rcu_gpb_member_less_pascal();
475 void skiplist_rcu_gpb_member_cmpmix_pascal();
476 void skiplist_rcu_gpb_member_cmp_pascal_stat();
477 void skiplist_rcu_gpb_member_less_pascal_stat();
478 void skiplist_rcu_gpb_member_cmpmix_pascal_stat();
481 void skiplist_rcu_gpt_base_cmp();
482 void skiplist_rcu_gpt_base_less();
483 void skiplist_rcu_gpt_base_cmpmix();
484 void skiplist_rcu_gpt_base_cmp_stat();
485 void skiplist_rcu_gpt_base_less_stat();
486 void skiplist_rcu_gpt_base_cmpmix_stat();
487 void skiplist_rcu_gpt_base_cmp_xorshift();
488 void skiplist_rcu_gpt_base_less_xorshift();
489 void skiplist_rcu_gpt_base_cmpmix_xorshift();
490 void skiplist_rcu_gpt_base_cmp_xorshift_stat();
491 void skiplist_rcu_gpt_base_less_xorshift_stat();
492 void skiplist_rcu_gpt_base_cmpmix_xorshift_stat();
493 void skiplist_rcu_gpt_base_cmp_pascal();
494 void skiplist_rcu_gpt_base_less_pascal();
495 void skiplist_rcu_gpt_base_cmpmix_pascal();
496 void skiplist_rcu_gpt_base_cmp_pascal_stat();
497 void skiplist_rcu_gpt_base_less_pascal_stat();
498 void skiplist_rcu_gpt_base_cmpmix_pascal_stat();
500 void skiplist_rcu_gpt_member_cmp();
501 void skiplist_rcu_gpt_member_less();
502 void skiplist_rcu_gpt_member_cmpmix();
503 void skiplist_rcu_gpt_member_cmp_stat();
504 void skiplist_rcu_gpt_member_less_stat();
505 void skiplist_rcu_gpt_member_cmpmix_stat();
506 void skiplist_rcu_gpt_member_cmp_xorshift();
507 void skiplist_rcu_gpt_member_less_xorshift();
508 void skiplist_rcu_gpt_member_cmpmix_xorshift();
509 void skiplist_rcu_gpt_member_cmp_xorshift_stat();
510 void skiplist_rcu_gpt_member_less_xorshift_stat();
511 void skiplist_rcu_gpt_member_cmpmix_xorshift_stat();
512 void skiplist_rcu_gpt_member_cmp_pascal();
513 void skiplist_rcu_gpt_member_less_pascal();
514 void skiplist_rcu_gpt_member_cmpmix_pascal();
515 void skiplist_rcu_gpt_member_cmp_pascal_stat();
516 void skiplist_rcu_gpt_member_less_pascal_stat();
517 void skiplist_rcu_gpt_member_cmpmix_pascal_stat();
520 void skiplist_rcu_shb_base_cmp();
521 void skiplist_rcu_shb_base_less();
522 void skiplist_rcu_shb_base_cmpmix();
523 void skiplist_rcu_shb_base_cmp_stat();
524 void skiplist_rcu_shb_base_less_stat();
525 void skiplist_rcu_shb_base_cmpmix_stat();
526 void skiplist_rcu_shb_base_cmp_xorshift();
527 void skiplist_rcu_shb_base_less_xorshift();
528 void skiplist_rcu_shb_base_cmpmix_xorshift();
529 void skiplist_rcu_shb_base_cmp_xorshift_stat();
530 void skiplist_rcu_shb_base_less_xorshift_stat();
531 void skiplist_rcu_shb_base_cmpmix_xorshift_stat();
532 void skiplist_rcu_shb_base_cmp_pascal();
533 void skiplist_rcu_shb_base_less_pascal();
534 void skiplist_rcu_shb_base_cmpmix_pascal();
535 void skiplist_rcu_shb_base_cmp_pascal_stat();
536 void skiplist_rcu_shb_base_less_pascal_stat();
537 void skiplist_rcu_shb_base_cmpmix_pascal_stat();
539 void skiplist_rcu_shb_member_cmp();
540 void skiplist_rcu_shb_member_less();
541 void skiplist_rcu_shb_member_cmpmix();
542 void skiplist_rcu_shb_member_cmp_stat();
543 void skiplist_rcu_shb_member_less_stat();
544 void skiplist_rcu_shb_member_cmpmix_stat();
545 void skiplist_rcu_shb_member_cmp_xorshift();
546 void skiplist_rcu_shb_member_less_xorshift();
547 void skiplist_rcu_shb_member_cmpmix_xorshift();
548 void skiplist_rcu_shb_member_cmp_xorshift_stat();
549 void skiplist_rcu_shb_member_less_xorshift_stat();
550 void skiplist_rcu_shb_member_cmpmix_xorshift_stat();
551 void skiplist_rcu_shb_member_cmp_pascal();
552 void skiplist_rcu_shb_member_less_pascal();
553 void skiplist_rcu_shb_member_cmpmix_pascal();
554 void skiplist_rcu_shb_member_cmp_pascal_stat();
555 void skiplist_rcu_shb_member_less_pascal_stat();
556 void skiplist_rcu_shb_member_cmpmix_pascal_stat();
559 void skiplist_rcu_sht_base_cmp();
560 void skiplist_rcu_sht_base_less();
561 void skiplist_rcu_sht_base_cmpmix();
562 void skiplist_rcu_sht_base_cmp_stat();
563 void skiplist_rcu_sht_base_less_stat();
564 void skiplist_rcu_sht_base_cmpmix_stat();
565 void skiplist_rcu_sht_base_cmp_xorshift();
566 void skiplist_rcu_sht_base_less_xorshift();
567 void skiplist_rcu_sht_base_cmpmix_xorshift();
568 void skiplist_rcu_sht_base_cmp_xorshift_stat();
569 void skiplist_rcu_sht_base_less_xorshift_stat();
570 void skiplist_rcu_sht_base_cmpmix_xorshift_stat();
571 void skiplist_rcu_sht_base_cmp_pascal();
572 void skiplist_rcu_sht_base_less_pascal();
573 void skiplist_rcu_sht_base_cmpmix_pascal();
574 void skiplist_rcu_sht_base_cmp_pascal_stat();
575 void skiplist_rcu_sht_base_less_pascal_stat();
576 void skiplist_rcu_sht_base_cmpmix_pascal_stat();
578 void skiplist_rcu_sht_member_cmp();
579 void skiplist_rcu_sht_member_less();
580 void skiplist_rcu_sht_member_cmpmix();
581 void skiplist_rcu_sht_member_cmp_stat();
582 void skiplist_rcu_sht_member_less_stat();
583 void skiplist_rcu_sht_member_cmpmix_stat();
584 void skiplist_rcu_sht_member_cmp_xorshift();
585 void skiplist_rcu_sht_member_less_xorshift();
586 void skiplist_rcu_sht_member_cmpmix_xorshift();
587 void skiplist_rcu_sht_member_cmp_xorshift_stat();
588 void skiplist_rcu_sht_member_less_xorshift_stat();
589 void skiplist_rcu_sht_member_cmpmix_xorshift_stat();
590 void skiplist_rcu_sht_member_cmp_pascal();
591 void skiplist_rcu_sht_member_less_pascal();
592 void skiplist_rcu_sht_member_cmpmix_pascal();
593 void skiplist_rcu_sht_member_cmp_pascal_stat();
594 void skiplist_rcu_sht_member_less_pascal_stat();
595 void skiplist_rcu_sht_member_cmpmix_pascal_stat();
597 CPPUNIT_TEST_SUITE(IntrusiveSkipListSetRCU)
598 CPPUNIT_TEST(skiplist_rcu_gpi_base_cmp)
599 CPPUNIT_TEST(skiplist_rcu_gpi_base_less)
600 CPPUNIT_TEST(skiplist_rcu_gpi_base_cmpmix)
601 CPPUNIT_TEST(skiplist_rcu_gpi_base_cmp_stat)
602 CPPUNIT_TEST(skiplist_rcu_gpi_base_less_stat)
603 CPPUNIT_TEST(skiplist_rcu_gpi_base_cmpmix_stat)
604 CPPUNIT_TEST(skiplist_rcu_gpi_base_cmp_xorshift)
605 CPPUNIT_TEST(skiplist_rcu_gpi_base_less_xorshift)
606 CPPUNIT_TEST(skiplist_rcu_gpi_base_cmpmix_xorshift)
607 CPPUNIT_TEST(skiplist_rcu_gpi_base_cmp_xorshift_stat)
608 CPPUNIT_TEST(skiplist_rcu_gpi_base_less_xorshift_stat)
609 CPPUNIT_TEST(skiplist_rcu_gpi_base_cmpmix_xorshift_stat)
610 CPPUNIT_TEST(skiplist_rcu_gpi_base_cmp_pascal)
611 CPPUNIT_TEST(skiplist_rcu_gpi_base_less_pascal)
612 CPPUNIT_TEST(skiplist_rcu_gpi_base_cmpmix_pascal)
613 CPPUNIT_TEST(skiplist_rcu_gpi_base_cmp_pascal_stat)
614 CPPUNIT_TEST(skiplist_rcu_gpi_base_less_pascal_stat)
615 CPPUNIT_TEST(skiplist_rcu_gpi_base_cmpmix_pascal_stat)
617 CPPUNIT_TEST(skiplist_rcu_gpi_member_cmp)
618 CPPUNIT_TEST(skiplist_rcu_gpi_member_less)
619 CPPUNIT_TEST(skiplist_rcu_gpi_member_cmpmix)
620 CPPUNIT_TEST(skiplist_rcu_gpi_member_cmp_stat)
621 CPPUNIT_TEST(skiplist_rcu_gpi_member_less_stat)
622 CPPUNIT_TEST(skiplist_rcu_gpi_member_cmpmix_stat)
623 CPPUNIT_TEST(skiplist_rcu_gpi_member_cmp_xorshift)
624 CPPUNIT_TEST(skiplist_rcu_gpi_member_less_xorshift)
625 CPPUNIT_TEST(skiplist_rcu_gpi_member_cmpmix_xorshift)
626 CPPUNIT_TEST(skiplist_rcu_gpi_member_cmp_xorshift_stat)
627 CPPUNIT_TEST(skiplist_rcu_gpi_member_less_xorshift_stat)
628 CPPUNIT_TEST(skiplist_rcu_gpi_member_cmpmix_xorshift_stat)
629 CPPUNIT_TEST(skiplist_rcu_gpi_member_cmp_pascal)
630 CPPUNIT_TEST(skiplist_rcu_gpi_member_less_pascal)
631 CPPUNIT_TEST(skiplist_rcu_gpi_member_cmpmix_pascal)
632 CPPUNIT_TEST(skiplist_rcu_gpi_member_cmp_pascal_stat)
633 CPPUNIT_TEST(skiplist_rcu_gpi_member_less_pascal_stat)
634 CPPUNIT_TEST(skiplist_rcu_gpi_member_cmpmix_pascal_stat)
637 CPPUNIT_TEST(skiplist_rcu_gpb_base_cmp)
638 CPPUNIT_TEST(skiplist_rcu_gpb_base_less)
639 CPPUNIT_TEST(skiplist_rcu_gpb_base_cmpmix)
640 CPPUNIT_TEST(skiplist_rcu_gpb_base_cmp_stat)
641 CPPUNIT_TEST(skiplist_rcu_gpb_base_less_stat)
642 CPPUNIT_TEST(skiplist_rcu_gpb_base_cmpmix_stat)
643 CPPUNIT_TEST(skiplist_rcu_gpb_base_cmp_xorshift)
644 CPPUNIT_TEST(skiplist_rcu_gpb_base_less_xorshift)
645 CPPUNIT_TEST(skiplist_rcu_gpb_base_cmpmix_xorshift)
646 CPPUNIT_TEST(skiplist_rcu_gpb_base_cmp_xorshift_stat)
647 CPPUNIT_TEST(skiplist_rcu_gpb_base_less_xorshift_stat)
648 CPPUNIT_TEST(skiplist_rcu_gpb_base_cmpmix_xorshift_stat)
649 CPPUNIT_TEST(skiplist_rcu_gpb_base_cmp_pascal)
650 CPPUNIT_TEST(skiplist_rcu_gpb_base_less_pascal)
651 CPPUNIT_TEST(skiplist_rcu_gpb_base_cmpmix_pascal)
652 CPPUNIT_TEST(skiplist_rcu_gpb_base_cmp_pascal_stat)
653 CPPUNIT_TEST(skiplist_rcu_gpb_base_less_pascal_stat)
654 CPPUNIT_TEST(skiplist_rcu_gpb_base_cmpmix_pascal_stat)
656 CPPUNIT_TEST(skiplist_rcu_gpb_member_cmp)
657 CPPUNIT_TEST(skiplist_rcu_gpb_member_less)
658 CPPUNIT_TEST(skiplist_rcu_gpb_member_cmpmix)
659 CPPUNIT_TEST(skiplist_rcu_gpb_member_cmp_stat)
660 CPPUNIT_TEST(skiplist_rcu_gpb_member_less_stat)
661 CPPUNIT_TEST(skiplist_rcu_gpb_member_cmpmix_stat)
662 CPPUNIT_TEST(skiplist_rcu_gpb_member_cmp_xorshift)
663 CPPUNIT_TEST(skiplist_rcu_gpb_member_less_xorshift)
664 CPPUNIT_TEST(skiplist_rcu_gpb_member_cmpmix_xorshift)
665 CPPUNIT_TEST(skiplist_rcu_gpb_member_cmp_xorshift_stat)
666 CPPUNIT_TEST(skiplist_rcu_gpb_member_less_xorshift_stat)
667 CPPUNIT_TEST(skiplist_rcu_gpb_member_cmpmix_xorshift_stat)
668 CPPUNIT_TEST(skiplist_rcu_gpb_member_cmp_pascal)
669 CPPUNIT_TEST(skiplist_rcu_gpb_member_less_pascal)
670 CPPUNIT_TEST(skiplist_rcu_gpb_member_cmpmix_pascal)
671 CPPUNIT_TEST(skiplist_rcu_gpb_member_cmp_pascal_stat)
672 CPPUNIT_TEST(skiplist_rcu_gpb_member_less_pascal_stat)
673 CPPUNIT_TEST(skiplist_rcu_gpb_member_cmpmix_pascal_stat)
676 CPPUNIT_TEST(skiplist_rcu_gpt_base_cmp)
677 CPPUNIT_TEST(skiplist_rcu_gpt_base_less)
678 CPPUNIT_TEST(skiplist_rcu_gpt_base_cmpmix)
679 CPPUNIT_TEST(skiplist_rcu_gpt_base_cmp_stat)
680 CPPUNIT_TEST(skiplist_rcu_gpt_base_less_stat)
681 CPPUNIT_TEST(skiplist_rcu_gpt_base_cmpmix_stat)
682 CPPUNIT_TEST(skiplist_rcu_gpt_base_cmp_xorshift)
683 CPPUNIT_TEST(skiplist_rcu_gpt_base_less_xorshift)
684 CPPUNIT_TEST(skiplist_rcu_gpt_base_cmpmix_xorshift)
685 CPPUNIT_TEST(skiplist_rcu_gpt_base_cmp_xorshift_stat)
686 CPPUNIT_TEST(skiplist_rcu_gpt_base_less_xorshift_stat)
687 CPPUNIT_TEST(skiplist_rcu_gpt_base_cmpmix_xorshift_stat)
688 CPPUNIT_TEST(skiplist_rcu_gpt_base_cmp_pascal)
689 CPPUNIT_TEST(skiplist_rcu_gpt_base_less_pascal)
690 CPPUNIT_TEST(skiplist_rcu_gpt_base_cmpmix_pascal)
691 CPPUNIT_TEST(skiplist_rcu_gpt_base_cmp_pascal_stat)
692 CPPUNIT_TEST(skiplist_rcu_gpt_base_less_pascal_stat)
693 CPPUNIT_TEST(skiplist_rcu_gpt_base_cmpmix_pascal_stat)
695 CPPUNIT_TEST(skiplist_rcu_gpt_member_cmp)
696 CPPUNIT_TEST(skiplist_rcu_gpt_member_less)
697 CPPUNIT_TEST(skiplist_rcu_gpt_member_cmpmix)
698 CPPUNIT_TEST(skiplist_rcu_gpt_member_cmp_stat)
699 CPPUNIT_TEST(skiplist_rcu_gpt_member_less_stat)
700 CPPUNIT_TEST(skiplist_rcu_gpt_member_cmpmix_stat)
701 CPPUNIT_TEST(skiplist_rcu_gpt_member_cmp_xorshift)
702 CPPUNIT_TEST(skiplist_rcu_gpt_member_less_xorshift)
703 CPPUNIT_TEST(skiplist_rcu_gpt_member_cmpmix_xorshift)
704 CPPUNIT_TEST(skiplist_rcu_gpt_member_cmp_xorshift_stat)
705 CPPUNIT_TEST(skiplist_rcu_gpt_member_less_xorshift_stat)
706 CPPUNIT_TEST(skiplist_rcu_gpt_member_cmpmix_xorshift_stat)
707 CPPUNIT_TEST(skiplist_rcu_gpt_member_cmp_pascal)
708 CPPUNIT_TEST(skiplist_rcu_gpt_member_less_pascal)
709 CPPUNIT_TEST(skiplist_rcu_gpt_member_cmpmix_pascal)
710 CPPUNIT_TEST(skiplist_rcu_gpt_member_cmp_pascal_stat)
711 CPPUNIT_TEST(skiplist_rcu_gpt_member_less_pascal_stat)
712 CPPUNIT_TEST(skiplist_rcu_gpt_member_cmpmix_pascal_stat)
715 CPPUNIT_TEST(skiplist_rcu_shb_base_cmp)
716 CPPUNIT_TEST(skiplist_rcu_shb_base_less)
717 CPPUNIT_TEST(skiplist_rcu_shb_base_cmpmix)
718 CPPUNIT_TEST(skiplist_rcu_shb_base_cmp_stat)
719 CPPUNIT_TEST(skiplist_rcu_shb_base_less_stat)
720 CPPUNIT_TEST(skiplist_rcu_shb_base_cmpmix_stat)
721 CPPUNIT_TEST(skiplist_rcu_shb_base_cmp_xorshift)
722 CPPUNIT_TEST(skiplist_rcu_shb_base_less_xorshift)
723 CPPUNIT_TEST(skiplist_rcu_shb_base_cmpmix_xorshift)
724 CPPUNIT_TEST(skiplist_rcu_shb_base_cmp_xorshift_stat)
725 CPPUNIT_TEST(skiplist_rcu_shb_base_less_xorshift_stat)
726 CPPUNIT_TEST(skiplist_rcu_shb_base_cmpmix_xorshift_stat)
727 CPPUNIT_TEST(skiplist_rcu_shb_base_cmp_pascal)
728 CPPUNIT_TEST(skiplist_rcu_shb_base_less_pascal)
729 CPPUNIT_TEST(skiplist_rcu_shb_base_cmpmix_pascal)
730 CPPUNIT_TEST(skiplist_rcu_shb_base_cmp_pascal_stat)
731 CPPUNIT_TEST(skiplist_rcu_shb_base_less_pascal_stat)
732 CPPUNIT_TEST(skiplist_rcu_shb_base_cmpmix_pascal_stat)
734 CPPUNIT_TEST(skiplist_rcu_shb_member_cmp)
735 CPPUNIT_TEST(skiplist_rcu_shb_member_less)
736 CPPUNIT_TEST(skiplist_rcu_shb_member_cmpmix)
737 CPPUNIT_TEST(skiplist_rcu_shb_member_cmp_stat)
738 CPPUNIT_TEST(skiplist_rcu_shb_member_less_stat)
739 CPPUNIT_TEST(skiplist_rcu_shb_member_cmpmix_stat)
740 CPPUNIT_TEST(skiplist_rcu_shb_member_cmp_xorshift)
741 CPPUNIT_TEST(skiplist_rcu_shb_member_less_xorshift)
742 CPPUNIT_TEST(skiplist_rcu_shb_member_cmpmix_xorshift)
743 CPPUNIT_TEST(skiplist_rcu_shb_member_cmp_xorshift_stat)
744 CPPUNIT_TEST(skiplist_rcu_shb_member_less_xorshift_stat)
745 CPPUNIT_TEST(skiplist_rcu_shb_member_cmpmix_xorshift_stat)
746 CPPUNIT_TEST(skiplist_rcu_shb_member_cmp_pascal)
747 CPPUNIT_TEST(skiplist_rcu_shb_member_less_pascal)
748 CPPUNIT_TEST(skiplist_rcu_shb_member_cmpmix_pascal)
749 CPPUNIT_TEST(skiplist_rcu_shb_member_cmp_pascal_stat)
750 CPPUNIT_TEST(skiplist_rcu_shb_member_less_pascal_stat)
751 CPPUNIT_TEST(skiplist_rcu_shb_member_cmpmix_pascal_stat)
754 CPPUNIT_TEST(skiplist_rcu_sht_base_cmp)
755 CPPUNIT_TEST(skiplist_rcu_sht_base_less)
756 CPPUNIT_TEST(skiplist_rcu_sht_base_cmpmix)
757 CPPUNIT_TEST(skiplist_rcu_sht_base_cmp_stat)
758 CPPUNIT_TEST(skiplist_rcu_sht_base_less_stat)
759 CPPUNIT_TEST(skiplist_rcu_sht_base_cmpmix_stat)
760 CPPUNIT_TEST(skiplist_rcu_sht_base_cmp_xorshift)
761 CPPUNIT_TEST(skiplist_rcu_sht_base_less_xorshift)
762 CPPUNIT_TEST(skiplist_rcu_sht_base_cmpmix_xorshift)
763 CPPUNIT_TEST(skiplist_rcu_sht_base_cmp_xorshift_stat)
764 CPPUNIT_TEST(skiplist_rcu_sht_base_less_xorshift_stat)
765 CPPUNIT_TEST(skiplist_rcu_sht_base_cmpmix_xorshift_stat)
766 CPPUNIT_TEST(skiplist_rcu_sht_base_cmp_pascal)
767 CPPUNIT_TEST(skiplist_rcu_sht_base_less_pascal)
768 CPPUNIT_TEST(skiplist_rcu_sht_base_cmpmix_pascal)
769 CPPUNIT_TEST(skiplist_rcu_sht_base_cmp_pascal_stat)
770 CPPUNIT_TEST(skiplist_rcu_sht_base_less_pascal_stat)
771 CPPUNIT_TEST(skiplist_rcu_sht_base_cmpmix_pascal_stat)
773 CPPUNIT_TEST(skiplist_rcu_sht_member_cmp)
774 CPPUNIT_TEST(skiplist_rcu_sht_member_less)
775 CPPUNIT_TEST(skiplist_rcu_sht_member_cmpmix)
776 CPPUNIT_TEST(skiplist_rcu_sht_member_cmp_stat)
777 CPPUNIT_TEST(skiplist_rcu_sht_member_less_stat)
778 CPPUNIT_TEST(skiplist_rcu_sht_member_cmpmix_stat)
779 CPPUNIT_TEST(skiplist_rcu_sht_member_cmp_xorshift)
780 CPPUNIT_TEST(skiplist_rcu_sht_member_less_xorshift)
781 CPPUNIT_TEST(skiplist_rcu_sht_member_cmpmix_xorshift)
782 CPPUNIT_TEST(skiplist_rcu_sht_member_cmp_xorshift_stat)
783 CPPUNIT_TEST(skiplist_rcu_sht_member_less_xorshift_stat)
784 CPPUNIT_TEST(skiplist_rcu_sht_member_cmpmix_xorshift_stat)
785 CPPUNIT_TEST(skiplist_rcu_sht_member_cmp_pascal)
786 CPPUNIT_TEST(skiplist_rcu_sht_member_less_pascal)
787 CPPUNIT_TEST(skiplist_rcu_sht_member_cmpmix_pascal)
788 CPPUNIT_TEST(skiplist_rcu_sht_member_cmp_pascal_stat)
789 CPPUNIT_TEST(skiplist_rcu_sht_member_less_pascal_stat)
790 CPPUNIT_TEST(skiplist_rcu_sht_member_cmpmix_pascal_stat)
792 CPPUNIT_TEST_SUITE_END()
796 #endif // #ifndef CDSTEST_HDR_INTRUSIVE_SKIPLIST_SET_RCU_H