test/core/test_big_hash_map.cpp File Reference

#include <string>
#include <ostream>
#include <utility>
#include <boost/test/unit_test.hpp>
#include <boost/type_traits.hpp>
#include "generator.hpp"
#include "core/builder.hpp"
#include "core/big_hash_map.hpp"
#include "util/conversion.hpp"

Go to the source code of this file.

Classes

struct  record_generator< T >

Namespaces

namespace  std

Functions

template<typename T >
ostream & std::operator<< (ostream &os, const std::pair< std::string, T > &record)
template<typename T >
void test (aitools::memory_type mode, size_t record_count)
 BOOST_AUTO_TEST_SUITE (test_big_hash_map)
 BOOST_AUTO_TEST_CASE (test_i32_external)
 BOOST_AUTO_TEST_CASE (test_i32_internal)
 BOOST_AUTO_TEST_CASE (test_i64_external)
 BOOST_AUTO_TEST_CASE (test_i64_internal)
 BOOST_AUTO_TEST_CASE (test_dbl_external)
 BOOST_AUTO_TEST_CASE (test_dbl_internal)
 BOOST_AUTO_TEST_CASE (test_i32_i64_external)
 BOOST_AUTO_TEST_CASE (test_i32_i64_internal)
 BOOST_AUTO_TEST_CASE (test_i32_dbl_external)
 BOOST_AUTO_TEST_CASE (test_i32_dbl_internal)
 BOOST_AUTO_TEST_CASE (test_i64_dbl_external)
 BOOST_AUTO_TEST_CASE (test_i64_dbl_internal)
 BOOST_AUTO_TEST_CASE (test_i32_dbl_external_large_scale)
 BOOST_AUTO_TEST_CASE (test_i32_dbl_internal_large_scale)
 BOOST_AUTO_TEST_SUITE_END ()

Function Documentation

BOOST_AUTO_TEST_CASE ( test_i32_dbl_internal_large_scale   ) 

Definition at line 182 of file test_big_hash_map.cpp.

References aitools::util::mb4096.

BOOST_AUTO_TEST_CASE ( test_i32_dbl_external_large_scale   ) 

Definition at line 175 of file test_big_hash_map.cpp.

References aitools::util::min_required.

BOOST_AUTO_TEST_CASE ( test_i64_dbl_internal   ) 

Definition at line 168 of file test_big_hash_map.cpp.

References aitools::util::mb4096.

BOOST_AUTO_TEST_CASE ( test_i64_dbl_external   ) 

Definition at line 162 of file test_big_hash_map.cpp.

References aitools::util::min_required.

BOOST_AUTO_TEST_CASE ( test_i32_dbl_internal   ) 

Definition at line 156 of file test_big_hash_map.cpp.

References aitools::util::mb4096.

BOOST_AUTO_TEST_CASE ( test_i32_dbl_external   ) 

Definition at line 150 of file test_big_hash_map.cpp.

References aitools::util::min_required.

BOOST_AUTO_TEST_CASE ( test_i32_i64_internal   ) 

Definition at line 144 of file test_big_hash_map.cpp.

References aitools::util::mb4096.

BOOST_AUTO_TEST_CASE ( test_i32_i64_external   ) 

Definition at line 138 of file test_big_hash_map.cpp.

References aitools::util::min_required.

BOOST_AUTO_TEST_CASE ( test_dbl_internal   ) 

Definition at line 133 of file test_big_hash_map.cpp.

References aitools::util::mb4096.

BOOST_AUTO_TEST_CASE ( test_dbl_external   ) 

Definition at line 128 of file test_big_hash_map.cpp.

References aitools::util::min_required.

BOOST_AUTO_TEST_CASE ( test_i64_internal   ) 

Definition at line 123 of file test_big_hash_map.cpp.

References aitools::util::mb4096.

BOOST_AUTO_TEST_CASE ( test_i64_external   ) 

Definition at line 118 of file test_big_hash_map.cpp.

References aitools::util::min_required.

BOOST_AUTO_TEST_CASE ( test_i32_internal   ) 

Definition at line 113 of file test_big_hash_map.cpp.

References aitools::util::mb4096.

BOOST_AUTO_TEST_CASE ( test_i32_external   ) 

Definition at line 108 of file test_big_hash_map.cpp.

References aitools::util::min_required.

BOOST_AUTO_TEST_SUITE ( test_big_hash_map   ) 
BOOST_AUTO_TEST_SUITE_END (  ) 
template<typename T >
void test ( aitools::memory_type  mode,
size_t  record_count 
) [inline]

Definition at line 54 of file test_big_hash_map.cpp.

References aitools::util::to_string().

Here is the call graph for this function:

Generated on Wed May 30 15:07:26 2012 by  doxygen 1.6.3