2 This file is a part of libcds - Concurrent Data Structures library
4 (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
6 Source code repo: http://github.com/khizmax/libcds/
7 Download: http://sourceforge.net/projects/libcds/files/
9 Redistribution and use in source and binary forms, with or without
10 modification, are permitted provided that the following conditions are met:
12 * Redistributions of source code must retain the above copyright notice, this
13 list of conditions and the following disclaimer.
15 * Redistributions in binary form must reproduce the above copyright notice,
16 this list of conditions and the following disclaimer in the documentation
17 and/or other materials provided with the distribution.
19 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 #ifndef CDSUNIT_MAP_TYPE_CUCKOO_H
32 #define CDSUNIT_MAP_TYPE_CUCKOO_H
35 #include <cds/container/cuckoo_map.h>
36 #include <cds_test/stat_cuckoo_out.h>
37 #include <cds_test/hash_func.h>
41 template <typename K, typename V, typename Traits>
42 class CuckooMap: public cc::CuckooMap< K, V, Traits >
45 typedef cc::CuckooMap< K, V, Traits > base_class;
48 template <typename Config>
49 CuckooMap( Config const& cfg )
51 cfg.s_nCuckooInitialSize,
52 static_cast<unsigned int>( cfg.s_nCuckooProbesetSize ),
53 static_cast<unsigned int>( cfg.s_nCuckooProbesetThreshold )
57 template <typename Q, typename Pred>
58 bool erase_with( Q const& key, Pred /*pred*/ )
60 return base_class::erase_with( key, typename std::conditional< base_class::c_isSorted, Pred, typename Pred::equal_to>::type());
64 static CDS_CONSTEXPR bool const c_bExtractSupported = false;
65 static CDS_CONSTEXPR bool const c_bLoadFactorDepended = false;
66 static CDS_CONSTEXPR bool const c_bEraseExactKey = false;
71 template <typename Key, typename Value>
72 struct map_type< tag_CuckooMap, Key, Value >: public map_type_base< Key, Value >
74 typedef map_type_base< Key, Value > base_class;
75 typedef typename base_class::key_compare compare;
76 typedef typename base_class::key_less less;
77 typedef typename base_class::equal_to equal_to;
78 typedef typename base_class::key_hash hash;
79 typedef typename base_class::hash2 hash2;
81 template <typename Traits>
82 struct traits_CuckooStripedMap: public Traits
84 typedef cc::cuckoo::striping<> mutex_policy;
86 template <typename Traits>
87 struct traits_CuckooRefinableMap : public Traits
89 typedef cc::cuckoo::refinable<> mutex_policy;
92 struct traits_CuckooMap_list_unord :
93 public cc::cuckoo::make_traits <
94 cc::cuckoo::probeset_type< cc::cuckoo::list >
95 , co::equal_to< equal_to >
96 , co::hash< std::tuple< hash, hash2 > >
99 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_list_unord>> CuckooStripedMap_list_unord;
100 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_list_unord>> CuckooRefinableMap_list_unord;
102 struct traits_CuckooMap_list_unord_stat : public traits_CuckooMap_list_unord
104 typedef cc::cuckoo::stat stat;
106 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_list_unord_stat>> CuckooStripedMap_list_unord_stat;
107 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_list_unord_stat>> CuckooRefinableMap_list_unord_stat;
109 struct traits_CuckooMap_list_unord_storehash : public traits_CuckooMap_list_unord
111 static CDS_CONSTEXPR const bool store_hash = true;
113 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_list_unord_storehash>> CuckooStripedMap_list_unord_storehash;
114 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_list_unord_storehash>> CuckooRefinableMap_list_unord_storehash;
116 struct traits_CuckooMap_list_ord :
117 public cc::cuckoo::make_traits <
118 cc::cuckoo::probeset_type< cc::cuckoo::list >
119 , co::compare< compare >
120 , co::hash< std::tuple< hash, hash2 > >
123 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_list_ord>> CuckooStripedMap_list_ord;
124 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_list_ord>> CuckooRefinableMap_list_ord;
126 struct traits_CuckooMap_list_ord_stat : public traits_CuckooMap_list_ord
128 typedef cc::cuckoo::stat stat;
130 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_list_ord_stat>> CuckooStripedMap_list_ord_stat;
131 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_list_ord_stat>> CuckooRefinableMap_list_ord_stat;
133 struct traits_CuckooMap_list_ord_storehash : public traits_CuckooMap_list_ord
135 static CDS_CONSTEXPR const bool store_hash = true;
137 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_list_ord_storehash>> CuckooStripedMap_list_ord_storehash;
138 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_list_ord_storehash>> CuckooRefinableMap_list_ord_storehash;
140 struct traits_CuckooMap_vector_unord :
141 public cc::cuckoo::make_traits <
142 cc::cuckoo::probeset_type< cc::cuckoo::vector<4> >
143 , co::equal_to< equal_to >
144 , co::hash< std::tuple< hash, hash2 > >
147 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_vector_unord>> CuckooStripedMap_vector_unord;
148 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_vector_unord>> CuckooRefinableMap_vector_unord;
150 struct traits_CuckooMap_vector_unord_stat : public traits_CuckooMap_vector_unord
152 typedef cc::cuckoo::stat stat;
154 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_vector_unord_stat>> CuckooStripedMap_vector_unord_stat;
155 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_vector_unord_stat>> CuckooRefinableMap_vector_unord_stat;
157 struct traits_CuckooMap_vector_unord_storehash : public traits_CuckooMap_vector_unord
159 static CDS_CONSTEXPR const bool store_hash = true;
161 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_vector_unord_storehash>> CuckooStripedMap_vector_unord_storehash;
162 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_vector_unord_storehash>> CuckooRefinableMap_vector_unord_storehash;
164 struct traits_CuckooMap_vector_ord :
165 public cc::cuckoo::make_traits <
166 cc::cuckoo::probeset_type< cc::cuckoo::vector<4> >
167 , co::compare< compare >
168 , co::hash< std::tuple< hash, hash2 > >
171 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_vector_ord>> CuckooStripedMap_vector_ord;
172 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_vector_ord>> CuckooRefinableMap_vector_ord;
174 struct traits_CuckooMap_vector_ord_stat : public traits_CuckooMap_vector_ord
176 typedef cc::cuckoo::stat stat;
178 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_vector_ord_stat>> CuckooStripedMap_vector_ord_stat;
179 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_vector_ord_stat>> CuckooRefinableMap_vector_ord_stat;
181 struct traits_CuckooMap_vector_ord_storehash : public traits_CuckooMap_vector_ord
183 static CDS_CONSTEXPR const bool store_hash = true;
185 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_vector_ord_storehash>> CuckooStripedMap_vector_ord_storehash;
186 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_vector_ord_storehash>> CuckooRefinableMap_vector_ord_storehash;
188 #if CDS_BUILD_BITS == 64
190 struct traits_CuckooMap_list_unord_city64:
191 public cc::cuckoo::make_traits <
192 cc::cuckoo::probeset_type< cc::cuckoo::list >
193 , co::equal_to< equal_to >
194 , co::hash< std::tuple< cds_test::city64, hash2 > >
197 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_list_unord_city64>> CuckooStripedMap_list_unord_city64;
198 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_list_unord_city64>> CuckooRefinableMap_list_unord_city64;
200 struct traits_CuckooMap_list_unord_city64_stat: public traits_CuckooMap_list_unord_city64
202 typedef cc::cuckoo::stat stat;
204 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_list_unord_city64_stat>> CuckooStripedMap_list_unord_city64_stat;
205 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_list_unord_city64_stat>> CuckooRefinableMap_list_unord_city64_stat;
207 struct traits_CuckooMap_list_unord_city64_storehash: public traits_CuckooMap_list_unord_city64
209 static CDS_CONSTEXPR const bool store_hash = true;
211 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_list_unord_city64_storehash>> CuckooStripedMap_list_unord_city64_storehash;
212 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_list_unord_city64_storehash>> CuckooRefinableMap_list_unord_city64_storehash;
214 struct traits_CuckooMap_list_ord_city64:
215 public cc::cuckoo::make_traits <
216 cc::cuckoo::probeset_type< cc::cuckoo::list >
217 , co::compare< compare >
218 , co::hash< std::tuple< cds_test::city64, hash2 > >
221 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_list_ord_city64>> CuckooStripedMap_list_ord_city64;
222 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_list_ord_city64>> CuckooRefinableMap_list_ord_city64;
224 struct traits_CuckooMap_list_ord_city64_stat: public traits_CuckooMap_list_ord_city64
226 typedef cc::cuckoo::stat stat;
228 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_list_ord_city64_stat>> CuckooStripedMap_list_ord_city64_stat;
229 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_list_ord_city64_stat>> CuckooRefinableMap_list_ord_city64_stat;
231 struct traits_CuckooMap_list_ord_city64_storehash: public traits_CuckooMap_list_ord_city64
233 static CDS_CONSTEXPR const bool store_hash = true;
235 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_list_ord_city64_storehash>> CuckooStripedMap_list_ord_city64_storehash;
236 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_list_ord_city64_storehash>> CuckooRefinableMap_list_ord_city64_storehash;
238 struct traits_CuckooMap_vector_unord_city64:
239 public cc::cuckoo::make_traits <
240 cc::cuckoo::probeset_type< cc::cuckoo::vector<4> >
241 , co::equal_to< equal_to >
242 , co::hash< std::tuple< cds_test::city64, hash2 > >
245 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_vector_unord_city64>> CuckooStripedMap_vector_unord_city64;
246 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_vector_unord_city64>> CuckooRefinableMap_vector_unord_city64;
248 struct traits_CuckooMap_vector_unord_city64_stat: public traits_CuckooMap_vector_unord_city64
250 typedef cc::cuckoo::stat stat;
252 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_vector_unord_city64_stat>> CuckooStripedMap_vector_unord_city64_stat;
253 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_vector_unord_city64_stat>> CuckooRefinableMap_vector_unord_city64_stat;
255 struct traits_CuckooMap_vector_unord_city64_storehash: public traits_CuckooMap_vector_unord_city64
257 static CDS_CONSTEXPR const bool store_hash = true;
259 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_vector_unord_city64_storehash>> CuckooStripedMap_vector_unord_city64_storehash;
260 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_vector_unord_city64_storehash>> CuckooRefinableMap_vector_unord_city64_storehash;
262 struct traits_CuckooMap_vector_ord_city64:
263 public cc::cuckoo::make_traits <
264 cc::cuckoo::probeset_type< cc::cuckoo::vector<4> >
265 , co::compare< compare >
266 , co::hash< std::tuple< cds_test::city64, hash2 > >
269 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_vector_ord_city64>> CuckooStripedMap_vector_ord_city64;
270 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_vector_ord_city64>> CuckooRefinableMap_vector_ord_city64;
272 struct traits_CuckooMap_vector_ord_city64_stat: public traits_CuckooMap_vector_ord_city64
274 typedef cc::cuckoo::stat stat;
276 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_vector_ord_city64_stat>> CuckooStripedMap_vector_ord_city64_stat;
277 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_vector_ord_city64_stat>> CuckooRefinableMap_vector_ord_city64_stat;
279 struct traits_CuckooMap_vector_ord_city64_storehash: public traits_CuckooMap_vector_ord_city64
281 static CDS_CONSTEXPR const bool store_hash = true;
283 typedef CuckooMap< Key, Value, traits_CuckooStripedMap<traits_CuckooMap_vector_ord_city64_storehash>> CuckooStripedMap_vector_ord_city64_storehash;
284 typedef CuckooMap< Key, Value, traits_CuckooRefinableMap<traits_CuckooMap_vector_ord_city64_storehash>> CuckooRefinableMap_vector_ord_city64_storehash;
285 #endif // CDS_BUILD_BITS == 64
288 template <typename Key, typename T, typename Traits >
289 static inline void print_stat( cds_test::property_stream& o, cc::CuckooMap< Key, T, Traits > const& s )
291 o << s.statistics() << s.mutex_policy_statistics();
294 template <typename Key, typename V, typename Traits>
295 static inline void print_stat( cds_test::property_stream& o, CuckooMap< Key, V, Traits > const& s )
297 typedef CuckooMap< Key, V, Traits > map_type;
298 print_stat( o, static_cast<typename map_type::base_class const&>(s));
304 #define CDSSTRESS_CuckooMap_case( fixture, test_case, cuckoo_map_type, key_type, value_type ) \
305 TEST_F( fixture, cuckoo_map_type ) \
307 typedef map::map_type< tag_CuckooMap, key_type, value_type >::cuckoo_map_type map_type; \
308 test_case<map_type>(); \
311 #define CDSSTRESS_CuckooMap( fixture, test_case, key_type, value_type ) \
312 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_list_unord, key_type, value_type ) \
313 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_list_unord, key_type, value_type ) \
314 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_list_unord_stat, key_type, value_type ) \
315 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_list_unord_stat, key_type, value_type ) \
316 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_list_unord_storehash, key_type, value_type ) \
317 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_list_unord_storehash, key_type, value_type ) \
318 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_list_ord, key_type, value_type ) \
319 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_list_ord, key_type, value_type ) \
320 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_list_ord_stat, key_type, value_type ) \
321 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_list_ord_stat, key_type, value_type ) \
322 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_list_ord_storehash, key_type, value_type ) \
323 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_list_ord_storehash, key_type, value_type ) \
324 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_vector_unord, key_type, value_type ) \
325 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_vector_unord, key_type, value_type ) \
326 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_vector_unord_stat, key_type, value_type ) \
327 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_vector_unord_stat, key_type, value_type ) \
328 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_vector_unord_storehash, key_type, value_type ) \
329 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_vector_unord_storehash, key_type, value_type ) \
330 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_vector_ord, key_type, value_type ) \
331 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_vector_ord, key_type, value_type ) \
332 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_vector_ord_stat, key_type, value_type ) \
333 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_vector_ord_stat, key_type, value_type ) \
334 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_vector_ord_storehash, key_type, value_type ) \
335 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_vector_ord_storehash, key_type, value_type )
337 #if CDS_BUILD_BITS == 64
338 # define CDSSTRESS_CuckooMap_city64( fixture, test_case, key_type, value_type ) \
339 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_list_unord_city64, key_type, value_type ) \
340 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_list_unord_city64, key_type, value_type ) \
341 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_list_unord_city64_stat, key_type, value_type ) \
342 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_list_unord_city64_stat, key_type, value_type ) \
343 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_list_unord_city64_storehash, key_type, value_type ) \
344 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_list_unord_city64_storehash, key_type, value_type ) \
345 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_list_ord_city64, key_type, value_type ) \
346 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_list_ord_city64, key_type, value_type ) \
347 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_list_ord_city64_stat, key_type, value_type ) \
348 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_list_ord_city64_stat, key_type, value_type ) \
349 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_list_ord_city64_storehash, key_type, value_type ) \
350 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_list_ord_city64_storehash, key_type, value_type ) \
351 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_vector_unord_city64, key_type, value_type ) \
352 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_vector_unord_city64, key_type, value_type ) \
353 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_vector_unord_city64_stat, key_type, value_type ) \
354 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_vector_unord_city64_stat, key_type, value_type ) \
355 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_vector_unord_city64_storehash, key_type, value_type ) \
356 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_vector_unord_city64_storehash, key_type, value_type ) \
357 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_vector_ord_city64, key_type, value_type ) \
358 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_vector_ord_city64, key_type, value_type ) \
359 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_vector_ord_city64_stat, key_type, value_type ) \
360 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_vector_ord_city64_stat, key_type, value_type ) \
361 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooStripedMap_vector_ord_city64_storehash, key_type, value_type ) \
362 CDSSTRESS_CuckooMap_case( fixture, test_case, CuckooRefinableMap_vector_ord_city64_storehash, key_type, value_type )
364 #endif // ifndef CDSUNIT_MAP_TYPE_CUCKOO_H