|
BPHash
General object hashing library for C++
|
Testing of core hashing algorithms. More...
#include <iostream>#include <random>#include <chrono>#include <sstream>#include "bphash/Hasher.hpp"#include "bphash/MurmurHash3_32_x32.hpp"#include "bphash/MurmurHash3_32_x64.hpp"#include "bphash/MurmurHash3_64_x64.hpp"#include "bphash/MurmurHash3_128_x64.hpp"#include "MurmurHash3_reference.h"
Go to the source code of this file.
Macros | |
| #define | TEST_SIZE 1024*1024 + 7 |
Functions | |
| static void | random_fill (std::vector< uint8_t > &buffer) |
| static void | test_offset (detail::HashImpl &hasher, const std::vector< uint8_t > &testdata, size_t offset, size_t blocksize, const HashValue &reference, int hashsize, int bitness) |
| int | main (void) |
Testing of core hashing algorithms.
Definition in file test_reference.cpp.
| #define TEST_SIZE 1024*1024 + 7 |
Definition at line 27 of file test_reference.cpp.
| int main | ( | void | ) |
|
static |
|
static |
Definition at line 43 of file test_reference.cpp.


1.8.11