libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
#include "stdafx.h"
#include <boost/test/included/unit_test.hpp>
#include "core/hash.hpp"
#include "core/stats_output.hpp"
#include <algorithm>
#include <iostream>
#include <iterator>
#include <vector>
#include "core/ave_deviation_meter.hpp"
#include "absl/hash/hash.h"
#include "src/include/robin_hood.h"
#include <boost/functional/hash.hpp>
#include <array>
#include <chrono>
Go to the source code of this file.
Classes | |
struct | abseil_t |
struct | robin_hood_t |
Macros | |
#define | BOOST_TEST_MODULE libjmmcg_tests |
Typedefs | |
using | murmur2_t = hashers::murmur2< std::string > |
using | hsieh_t = hashers::hsieh< std::string > |
using | hsieh_mpl_t = hashers::mpl::hsieh< std::string, 36 > |
using | hashes_t = std::vector< murmur2_t::result_type > |
using | timed_results_t = ave_deviation_meter< unsigned long long > |
Functions | |
template<class H > | |
void __fastcall | hashem (std::ostream &, std::vector< typename H::result_type > &hashes) |
template<class H > | |
void __fastcall | do_hashing (std::ostream &os, const int num_hashes) |
BOOST_AUTO_TEST_CASE (create_murmur2) | |
BOOST_AUTO_TEST_CASE (create_hsieh) | |
BOOST_AUTO_TEST_CASE (create_hsieh_mpl) | |
BOOST_AUTO_TEST_CASE (hash_murmur2) | |
BOOST_AUTO_TEST_CASE (hash_hsieh) | |
BOOST_AUTO_TEST_CASE (hash_hsieh_mpl) | |
BOOST_AUTO_TEST_CASE (time_hashes) | |
Variables | |
const std::array | guids |
typedef hashers::mpl::hsieh< std::string, 36 > hsieh_mpl_t |
using timed_results_t = ave_deviation_meter<unsigned long long> |
BOOST_AUTO_TEST_CASE | ( | time_hashes | ) |
void __fastcall do_hashing | ( | std::ostream & | os, |
const int | num_hashes | ||
) |
void __fastcall hashem | ( | std::ostream & | , |
std::vector< typename H::result_type > & | hashes | ||
) |
const std::array guids |