|
proxygen
|
#include <folly/container/F14Set.h>#include <unordered_map>#include <folly/Conv.h>#include <folly/FBString.h>#include <folly/container/test/F14TestUtil.h>#include <folly/portability/GTest.h>Go to the source code of this file.
Functions | |
| template<template< typename, typename, typename, typename > class TSet> | |
| void | testCustomSwap () |
| TEST (F14Set, customSwap) | |
| TEST (F14Set, getAllocatedMemorySize) | |
| template<typename S > | |
| void | runVisitContiguousRangesTest (int n) |
| template<typename S > | |
| void | runVisitContiguousRangesTest () |
| TEST (F14ValueSet, visitContiguousRanges) | |
| TEST (F14NodeSet, visitContiguousRanges) | |
| TEST (F14VectorSet, visitContiguousRanges) | |
| TEST (F14FastSet, visitContiguousRanges) | |
| void runVisitContiguousRangesTest | ( | int | n | ) |
Definition at line 127 of file F14SetTest.cpp.
References ASSERT_TRUE, b, EXPECT_FALSE, EXPECT_TRUE, and i.
| void runVisitContiguousRangesTest | ( | ) |
Definition at line 156 of file F14SetTest.cpp.
| TEST | ( | F14Set | , |
| customSwap | |||
| ) |
Definition at line 43 of file F14SetTest.cpp.
References count, EXPECT_EQ, EXPECT_GE, EXPECT_GT, folly::f14::detail::getF14IntrinsicsMode(), i, folly::f14::detail::None, folly::f14::resetTracking(), s, folly::size(), folly::f14::testAllocatedBlockCount, and folly::f14::testAllocatedMemorySize.
| TEST | ( | F14Set | , |
| getAllocatedMemorySize | |||
| ) |
Definition at line 117 of file F14SetTest.cpp.
| TEST | ( | F14ValueSet | , |
| visitContiguousRanges | |||
| ) |
Definition at line 162 of file F14SetTest.cpp.
| TEST | ( | F14NodeSet | , |
| visitContiguousRanges | |||
| ) |
Definition at line 166 of file F14SetTest.cpp.
| TEST | ( | F14VectorSet | , |
| visitContiguousRanges | |||
| ) |
Definition at line 170 of file F14SetTest.cpp.
| TEST | ( | F14FastSet | , |
| visitContiguousRanges | |||
| ) |
Definition at line 174 of file F14SetTest.cpp.
References folly::F14TableStats::compute(), EXPECT_EQ, EXPECT_FALSE, EXPECT_GT, EXPECT_NE, EXPECT_TRUE, h, i, k, folly::gen::move, populate(), s, simple, string, folly::f14::swap(), folly::pushmi::detail::t, folly::T, folly::TEST(), uint64_t, val, and verify().
| void testCustomSwap | ( | ) |
Definition at line 27 of file F14SetTest.cpp.
References dist, EXPECT_EQ, folly::f14::resetTracking(), and folly::f14::swap().