Refactors lock test cases backoff values
[libcds.git] / test / unit / striped-set / test_intrusive_striped_set.h
index a85ad77d468876826ca761999186ed7a1e985a04..3874ba894b7215db3b1a331fa2d44e7373cea061 100644 (file)
@@ -1,11 +1,11 @@
 /*
     This file is a part of libcds - Concurrent Data Structures library
 
-    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
+    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
 
     Source code repo: http://github.com/khizmax/libcds/
     Download: http://sourceforge.net/projects/libcds/files/
-    
+
     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:
 
@@ -25,7 +25,7 @@
     SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
     OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.     
+    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
 #ifndef CDSUNIT_SET_TEST_INTRUSIVE_STRIPED_SET_H
@@ -64,7 +64,7 @@ namespace {
 
     TYPED_TEST_P( IntrusiveStripedSet, striped_basehook_compare )
     {
-        typedef ci::StripedSet< 
+        typedef ci::StripedSet<
             typename TestFixture::base_hook_container,
             ci::opt::hash< typename TestFixture::hash1 >,
             ci::opt::compare< typename TestFixture::template cmp< typename TestFixture::base_item >>
@@ -138,7 +138,7 @@ namespace {
 
         std::vector< typename set_type::value_type > data;
         {
-            set_type s( 64, ci::striped_set::single_bucket_size_threshold<0>( 4 ) );
+            set_type s( 64, ci::striped_set::single_bucket_size_threshold<0>( 4 ));
             this->test( s, data );
         }
     }
@@ -222,7 +222,7 @@ namespace {
 
         std::vector< typename set_type::value_type > data;
         {
-            set_type s( 64, ci::striped_set::single_bucket_size_threshold<0>( 4 ) );
+            set_type s( 64, ci::striped_set::single_bucket_size_threshold<0>( 4 ));
             this->test( s, data );
         }
     }
@@ -233,7 +233,7 @@ namespace {
 
     TYPED_TEST_P( IntrusiveStripedSet, refinable_basehook_compare )
     {
-        typedef ci::StripedSet< 
+        typedef ci::StripedSet<
             typename TestFixture::base_hook_container,
             ci::opt::hash< typename TestFixture::hash1 >,
             ci::opt::compare< typename TestFixture::template cmp< typename TestFixture::base_item >>
@@ -391,7 +391,7 @@ namespace {
 
         std::vector< typename set_type::value_type > data;
         {
-            set_type s( 64, ci::striped_set::single_bucket_size_threshold<0>( 4 ) );
+            set_type s( 64, ci::striped_set::single_bucket_size_threshold<0>( 4 ));
             this->test( s, data );
         }
     }