proxygen
|
#include <folly/Fingerprint.h>
#include <glog/logging.h>
#include <folly/Benchmark.h>
#include <folly/detail/SlowFingerprint.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Functions | |
TEST (Fingerprint, BroderOptimization) | |
TEST (Fingerprint, MultiByteUpdate) | |
TEST (Fingerprint, Alignment) | |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 178 of file FingerprintTest.cpp.
References testing::InitGoogleTest(), RUN_ALL_TESTS(), and folly::runBenchmarksOnFlag().
TEST | ( | Fingerprint | , |
BroderOptimization | |||
) |
Definition at line 28 of file FingerprintTest.cpp.
References EXPECT_EQ, uint64_t, folly::detail::SlowFingerprint< BITS >::update64(), folly::Fingerprint< BITS >::update64(), folly::detail::SlowFingerprint< BITS >::write(), and folly::Fingerprint< BITS >::write().
TEST | ( | Fingerprint | , |
MultiByteUpdate | |||
) |
Definition at line 52 of file FingerprintTest.cpp.
References EXPECT_EQ, folly::fingerprint128(), folly::fingerprint64(), folly::fingerprint96(), i, uint32_t, uint64_t, uint8_t, folly::Fingerprint< BITS >::update32(), folly::Fingerprint< BITS >::update64(), folly::Fingerprint< BITS >::update8(), and folly::Fingerprint< BITS >::write().
TEST | ( | Fingerprint | , |
Alignment | |||
) |
Definition at line 150 of file FingerprintTest.cpp.
References EXPECT_EQ, i, uint64_t, and fizz::detail::write().