proxygen
|
#include <glog/logging.h>
#include <iosfwd>
#include <memory>
#include <random>
#include <set>
#include <vector>
#include <folly/FBVector.h>
#include <folly/MapUtil.h>
#include <folly/Memory.h>
#include <folly/String.h>
#include <folly/dynamic.h>
#include <folly/experimental/TestUtil.h>
#include <folly/gen/Base.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Classes | |
struct | CopyCounter |
Macros | |
#define | EXPECT_SAME(A, B) static_assert(std::is_same<A, B>::value, "Mismatched: " #A ", " #B) |
Functions | |
template<typename T > | |
ostream & | operator<< (ostream &os, const set< T > &values) |
template<typename T > | |
ostream & | operator<< (ostream &os, const vector< T > &values) |
template<typename A , typename B > | |
ostream & | operator<< (ostream &os, const pair< A, B > &pair) |
TEST (Gen, Count) | |
TEST (Gen, Sum) | |
TEST (Gen, Foreach) | |
TEST (Gen, Map) | |
TEST (Gen, Member) | |
TEST (Gen, Field) | |
TEST (Gen, Seq) | |
TEST (Gen, SeqWithStep) | |
TEST (Gen, SeqWithStepArray) | |
TEST (Gen, Range) | |
TEST (Gen, RangeWithStep) | |
TEST (Gen, FromIterators) | |
TEST (Gen, FromMap) | |
TEST (Gen, Filter) | |
TEST (Gen, FilterDefault) | |
TEST (Gen, FilterSink) | |
TEST (Gen, Contains) | |
TEST (Gen, Take) | |
TEST (Gen, Stride) | |
TEST (Gen, Sample) | |
TEST (Gen, Skip) | |
TEST (Gen, Until) | |
TEST (Gen, Visit) | |
TEST (Gen, Composed) | |
TEST (Gen, Chain) | |
TEST (Gen, Concat) | |
TEST (Gen, ConcatGen) | |
TEST (Gen, ConcatAlt) | |
TEST (Gen, Order) | |
TEST (Gen, OrderMoved) | |
TEST (Gen, OrderTake) | |
TEST (Gen, Distinct) | |
TEST (Gen, DistinctBy) | |
TEST (Gen, DistinctMove) | |
TEST (Gen, DistinctInfinite) | |
TEST (Gen, DistinctByInfinite) | |
TEST (Gen, MinBy) | |
TEST (Gen, MaxBy) | |
TEST (Gen, Min) | |
TEST (Gen, Max) | |
TEST (Gen, Append) | |
TEST (Gen, FromRValue) | |
TEST (Gen, OrderBy) | |
TEST (Gen, Foldl) | |
TEST (Gen, Reduce) | |
TEST (Gen, ReduceBad) | |
TEST (Gen, Moves) | |
TEST (Gen, First) | |
TEST (Gen, FromCopy) | |
TEST (Gen, Get) | |
TEST (Gen, notEmpty) | |
TEST (Gen, isEmpty) | |
TEST (Gen, Any) | |
TEST (Gen, All) | |
TEST (Gen, Yielders) | |
TEST (Gen, NestedYield) | |
TEST (Gen, MapYielders) | |
TEST (Gen, VirtualGen) | |
TEST (Gen, CustomType) | |
TEST (Gen, NoNeedlessCopies) | |
TEST (Gen, NoGeneratorCopies) | |
TEST (Gen, FromArray) | |
TEST (Gen, FromStdArray) | |
TEST (Gen, StringConcat) | |
TEST (Gen, CopyCount) | |
TEST (Gen, Dynamic) | |
TEST (Gen, DynamicObject) | |
TEST (Gen, Collect) | |
TEST (Gen, Cycle) | |
TEST (Gen, Dereference) | |
TEST (Gen, DereferenceWithLValueRef) | |
TEST (Gen, DereferenceWithRValueRef) | |
TEST (Gen, Indirect) | |
TEST (Gen, Guard) | |
TEST (Gen, eachTryTo) | |
TEST (Gen, Batch) | |
TEST (Gen, BatchMove) | |
TEST (Gen, Window) | |
TEST (Gen, Just) | |
TEST (Gen, GroupBy) | |
TEST (Gen, GroupByAdjacent) | |
TEST (Gen, Unwrap) | |
int | main (int argc, char *argv[]) |
Variables | |
auto | square = [](int x) { return x * x; } |
auto | add = [](int a, int b) { return a + b; } |
auto | multiply = [](int a, int b) { return a * b; } |
auto | product = foldl(1, multiply) |
Definition at line 45 of file BaseTest.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 1454 of file BaseTest.cpp.
References testing::InitGoogleTest(), and RUN_ALL_TESTS().
Definition at line 53 of file BaseTest.cpp.
References folly::gen::from(), and values().
Definition at line 76 of file BaseTest.cpp.
TEST | ( | Gen | , |
Count | |||
) |
Definition at line 80 of file BaseTest.cpp.
References folly::gen::count, EXPECT_EQ, folly::gen::seq(), and folly::gen::take().
TEST | ( | Gen | , |
Sum | |||
) |
Definition at line 86 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::seq(), folly::gen::sum, and folly::gen::take().
TEST | ( | Gen | , |
Foreach | |||
) |
Definition at line 92 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::seq(), folly::gen::take(), and x.
TEST | ( | Gen | , |
Map | |||
) |
Definition at line 102 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), folly::gen::map(), square, and folly::gen::take().
TEST | ( | Gen | , |
Member | |||
) |
Definition at line 109 of file BaseTest.cpp.
References c, count, folly::gen::count, EXPECT_EQ, folly::gen::from(), folly::fileutil_detail::incr(), folly::gen::indirect, m, folly::gen::member(), folly::gen::seq(), start, and folly::gen::sum.
TEST | ( | Gen | , |
Field | |||
) |
Definition at line 152 of file BaseTest.cpp.
References a, b, c, EXPECT_EQ, folly::gen::field(), folly::gen::from(), folly::gen::seq(), folly::gen::sum, and X.
TEST | ( | Gen | , |
Seq | |||
) |
Definition at line 191 of file BaseTest.cpp.
References folly::gen::count, EXPECT_EQ, folly::gen::seq(), and folly::gen::take().
TEST | ( | Gen | , |
SeqWithStep | |||
) |
Definition at line 199 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::seq(), and folly::gen::sum.
TEST | ( | Gen | , |
SeqWithStepArray | |||
) |
Definition at line 203 of file BaseTest.cpp.
References EXPECT_EQ, i, folly::gen::map(), folly::gen::seq(), and folly::gen::sum.
TEST | ( | Gen | , |
Range | |||
) |
Definition at line 209 of file BaseTest.cpp.
References folly::gen::count, EXPECT_EQ, and folly::gen::range().
TEST | ( | Gen | , |
RangeWithStep | |||
) |
Definition at line 216 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::range(), and folly::gen::sum.
TEST | ( | Gen | , |
FromIterators | |||
) |
Definition at line 220 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), product, and folly::range().
TEST | ( | Gen | , |
FromMap | |||
) |
Definition at line 226 of file BaseTest.cpp.
References folly::gen::as(), EXPECT_EQ, folly::gen::fromConst(), i, folly::gen::map(), folly::gen::seq(), and folly::gen::sum.
TEST | ( | Gen | , |
Filter | |||
) |
Definition at line 241 of file BaseTest.cpp.
References folly::gen::as(), EXPECT_EQ, folly::gen::filter(), and folly::gen::seq().
TEST | ( | Gen | , |
FilterDefault | |||
) |
Definition at line 248 of file BaseTest.cpp.
References a, b, c, EXPECT_EQ, folly::gen::filter(), and folly::gen::from().
TEST | ( | Gen | , |
FilterSink | |||
) |
Definition at line 282 of file BaseTest.cpp.
References EXPECT_FALSE, folly::gen::filter(), folly::gen::from(), folly::gen::isEmpty, folly::gen::map(), folly::gen::rconcat, and folly::gen::seq().
TEST | ( | Gen | , |
Contains | |||
) |
Definition at line 292 of file BaseTest.cpp.
References folly::gen::contains(), EXPECT_FALSE, EXPECT_TRUE, folly::gen::map(), folly::gen::seq(), square, and folly::gen::take().
TEST | ( | Gen | , |
Take | |||
) |
Definition at line 307 of file BaseTest.cpp.
References folly::gen::concat, EXPECT_EQ, EXPECT_THROW, i, int64_t, folly::gen::mapped(), folly::gen::seq(), folly::gen::take(), and x.
TEST | ( | Gen | , |
Stride | |||
) |
Definition at line 352 of file BaseTest.cpp.
References folly::gen::count, EXPECT_EQ, EXPECT_THROW, folly::gen::seq(), folly::gen::stride(), and folly::gen::take().
TEST | ( | Gen | , |
Sample | |||
) |
Definition at line 383 of file BaseTest.cpp.
References folly::gen::count, EXPECT_EQ, EXPECT_GT, EXPECT_LT, folly::gen::fromConst(), i, folly::gen::sample(), folly::gen::seq(), small, folly::gen::sum, folly::gen::take(), and v.
TEST | ( | Gen | , |
Skip | |||
) |
Definition at line 413 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::mapped(), folly::gen::seq(), folly::gen::skip(), folly::gen::take(), and x.
TEST | ( | Gen | , |
Until | |||
) |
Definition at line 419 of file BaseTest.cpp.
References folly::gen::as(), EXPECT_EQ, i, folly::gen::mapped(), folly::gen::seq(), folly::gen::until(), and x.
TEST | ( | Gen | , |
Visit | |||
) |
Definition at line 461 of file BaseTest.cpp.
References EXPECT_EQ, i, folly::gen::map(), folly::gen::seq(), square, folly::gen::sum, folly::gen::take(), folly::value(), and folly::gen::visit().
TEST | ( | Gen | , |
Composed | |||
) |
Definition at line 489 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::filter(), folly::gen::from(), folly::Optional< Value >::hasValue(), folly::gen::map(), folly::none, square, folly::gen::sum, and folly::Optional< Value >::value().
TEST | ( | Gen | , |
Chain | |||
) |
Definition at line 503 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), folly::gen::sum, and folly::gen::take().
TEST | ( | Gen | , |
Concat | |||
) |
Definition at line 512 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), folly::gen::rconcat, folly::gen::sum, and folly::gen::take().
TEST | ( | Gen | , |
ConcatGen | |||
) |
Definition at line 519 of file BaseTest.cpp.
References folly::gen::concat, EXPECT_EQ, i, folly::gen::map(), folly::gen::seq(), folly::gen::sum, and folly::gen::take().
TEST | ( | Gen | , |
ConcatAlt | |||
) |
Definition at line 525 of file BaseTest.cpp.
References folly::gen::concat, EXPECT_EQ, folly::gen::from(), folly::gen::map(), and folly::gen::sum.
TEST | ( | Gen | , |
Order | |||
) |
Definition at line 538 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), and folly::gen::order.
TEST | ( | Gen | , |
OrderMoved | |||
) |
Definition at line 544 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), folly::gen::map(), folly::gen::move, folly::gen::order, and square.
TEST | ( | Gen | , |
OrderTake | |||
) |
Definition at line 557 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), folly::gen::orderByDescending(), square, and folly::gen::take().
TEST | ( | Gen | , |
Distinct | |||
) |
Definition at line 569 of file BaseTest.cpp.
References folly::gen::distinct, EXPECT_EQ, and folly::gen::from().
TEST | ( | Gen | , |
DistinctBy | |||
) |
Definition at line 575 of file BaseTest.cpp.
References folly::gen::distinctBy(), EXPECT_EQ, i, and folly::gen::seq().
TEST | ( | Gen | , |
DistinctMove | |||
) |
Definition at line 582 of file BaseTest.cpp.
References folly::gen::distinctBy(), EXPECT_EQ, i, folly::gen::mapped(), and folly::gen::seq().
TEST | ( | Gen | , |
DistinctInfinite | |||
) |
Definition at line 601 of file BaseTest.cpp.
References folly::gen::distinct, EXPECT_EQ, i, folly::gen::mapped(), folly::gen::seq(), and folly::gen::take().
TEST | ( | Gen | , |
DistinctByInfinite | |||
) |
Definition at line 615 of file BaseTest.cpp.
References folly::gen::distinctBy(), EXPECT_EQ, i, folly::gen::seq(), and folly::gen::take().
TEST | ( | Gen | , |
MinBy | |||
) |
Definition at line 630 of file BaseTest.cpp.
References EXPECT_EQ, i, folly::gen::minBy(), folly::gen::seq(), and folly::gen::unwrap.
TEST | ( | Gen | , |
MaxBy | |||
) |
Definition at line 643 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), folly::gen::maxBy(), and folly::gen::unwrap.
TEST | ( | Gen | , |
Min | |||
) |
Definition at line 649 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::filter(), i, folly::gen::min, and folly::gen::seq().
TEST | ( | Gen | , |
Max | |||
) |
Definition at line 655 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::filter(), i, folly::gen::max, and folly::gen::seq().
TEST | ( | Gen | , |
Append | |||
) |
Definition at line 661 of file BaseTest.cpp.
References folly::gen::appendTo(), EXPECT_EQ, and folly::gen::from().
TEST | ( | Gen | , |
FromRValue | |||
) |
Definition at line 668 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), folly::gen::max, folly::gen::move, product, folly::size(), folly::gen::sum, and v.
TEST | ( | Gen | , |
OrderBy | |||
) |
Definition at line 707 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), folly::gen::map(), folly::gen::orderBy(), folly::gen::seq(), and x.
TEST | ( | Gen | , |
Foldl | |||
) |
Definition at line 728 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::foldl(), multiply, and folly::gen::seq().
TEST | ( | Gen | , |
Reduce | |||
) |
Definition at line 734 of file BaseTest.cpp.
References add, EXPECT_EQ, folly::gen::reduce(), folly::gen::seq(), and folly::gen::unwrap.
TEST | ( | Gen | , |
ReduceBad | |||
) |
Definition at line 740 of file BaseTest.cpp.
References add, EXPECT_FALSE, folly::gen::reduce(), folly::gen::seq(), and folly::gen::take().
TEST | ( | Gen | , |
Moves | |||
) |
Definition at line 746 of file BaseTest.cpp.
References EXPECT_EQ, EXPECT_NE, folly::gen::from(), and folly::gen::move.
TEST | ( | Gen | , |
First | |||
) |
Definition at line 755 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::filter(), folly::gen::first, folly::gen::seq(), and folly::gen::unwrap.
TEST | ( | Gen | , |
FromCopy | |||
) |
Definition at line 760 of file BaseTest.cpp.
References folly::copy(), EXPECT_EQ, folly::gen::from(), folly::gen::fromCopy(), and folly::gen::sum.
TEST | ( | Gen | , |
Get | |||
) |
Definition at line 771 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), std::tr1::make_tuple(), folly::gen::map(), square, folly::gen::sum, and values().
TEST | ( | Gen | , |
notEmpty | |||
) |
Definition at line 796 of file BaseTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, folly::gen::from(), folly::gen::just(), folly::gen::notEmpty, folly::gen::range(), folly::gen::seq(), and folly::gen::take().
TEST | ( | Gen | , |
isEmpty | |||
) |
Definition at line 803 of file BaseTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, folly::gen::from(), folly::gen::isEmpty, folly::gen::just(), folly::gen::range(), folly::gen::seq(), and folly::gen::take().
TEST | ( | Gen | , |
Any | |||
) |
Definition at line 810 of file BaseTest.cpp.
References folly::gen::any(), EXPECT_FALSE, EXPECT_TRUE, i, and folly::gen::seq().
TEST | ( | Gen | , |
All | |||
) |
Definition at line 815 of file BaseTest.cpp.
References folly::gen::all(), EXPECT_FALSE, EXPECT_TRUE, i, folly::gen::seq(), and folly::gen::take().
TEST | ( | Gen | , |
Yielders | |||
) |
Definition at line 825 of file BaseTest.cpp.
References EXPECT_EQ, GENERATOR, i, folly::gen::take(), and folly::fibers::yield().
TEST | ( | Gen | , |
NestedYield | |||
) |
Definition at line 839 of file BaseTest.cpp.
References EXPECT_EQ, GENERATOR, i, folly::gen::seq(), folly::gen::sum, folly::gen::take(), and folly::fibers::yield().
TEST | ( | Gen | , |
MapYielders | |||
) |
Definition at line 852 of file BaseTest.cpp.
References folly::gen::concat, EXPECT_EQ, GENERATOR, i, folly::gen::map(), folly::gen::seq(), and folly::fibers::yield().
TEST | ( | Gen | , |
VirtualGen | |||
) |
Definition at line 879 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::map(), folly::gen::seq(), square, folly::gen::sum, folly::gen::take(), and v.
TEST | ( | Gen | , |
CustomType | |||
) |
Definition at line 889 of file BaseTest.cpp.
References EXPECT_EQ, f, folly::gen::from(), folly::gen::map(), and folly::gen::sum.
TEST | ( | Gen | , |
NoNeedlessCopies | |||
) |
Definition at line 897 of file BaseTest.cpp.
References folly::apply(), EXPECT_EQ, i, folly::gen::map(), folly::gen::move, folly::pushmi::__adl::noexcept(), folly::gen::seq(), folly::gen::sum, folly::gen::take(), and x.
TEST | ( | Gen | , |
NoGeneratorCopies | |||
) |
Definition at line 930 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::move, folly::gen::sum, and folly::gen::take().
TEST | ( | Gen | , |
FromArray | |||
) |
Definition at line 936 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), and product.
TEST | ( | Gen | , |
FromStdArray | |||
) |
Definition at line 942 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), and product.
TEST | ( | Gen | , |
StringConcat | |||
) |
Definition at line 948 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::rconcat, and folly::gen::seq().
TEST | ( | Gen | , |
CopyCount | |||
) |
Definition at line 991 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), and folly::gen::move.
TEST | ( | Gen | , |
Dynamic | |||
) |
Definition at line 1007 of file BaseTest.cpp.
References folly::dynamic::array(), EXPECT_EQ, folly::gen::from(), folly::gen::rconcat, and folly::gen::sum.
TEST | ( | Gen | , |
DynamicObject | |||
) |
Definition at line 1020 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), folly::dynamic::items(), folly::dynamic::keys(), folly::dynamic::object(), folly::gen::sum, and folly::dynamic::values().
TEST | ( | Gen | , |
Collect | |||
) |
Definition at line 1028 of file BaseTest.cpp.
References folly::gen::as(), EXPECT_EQ, folly::gen::from(), and s.
TEST | ( | Gen | , |
Cycle | |||
) |
Definition at line 1033 of file BaseTest.cpp.
References ASSERT_GE, c, folly::gen::cycle, EXPECT_EQ, folly::gen::from(), GENERATOR, i, s, folly::gen::take(), and folly::fibers::yield().
TEST | ( | Gen | , |
Dereference | |||
) |
Definition at line 1070 of file BaseTest.cpp.
References a, b, folly::data(), folly::gen::dereference, EXPECT_EQ, folly::gen::from(), folly::get_ptr(), m, folly::gen::map(), folly::gen::move, folly::operator==(), folly::PrintTo(), s, folly::gen::sum, v, and x.
TEST | ( | Gen | , |
DereferenceWithLValueRef | |||
) |
Definition at line 1143 of file BaseTest.cpp.
References folly::copy(), folly::gen::dereference, EXPECT_EQ, and folly::gen::from().
TEST | ( | Gen | , |
DereferenceWithRValueRef | |||
) |
Definition at line 1152 of file BaseTest.cpp.
References folly::gen::dereference, folly::gen::empty(), EXPECT_EQ, folly::gen::from(), and folly::gen::move.
TEST | ( | Gen | , |
Indirect | |||
) |
Definition at line 1161 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::first, folly::gen::from(), folly::gen::indirect, and folly::gen::unwrap.
TEST | ( | Gen | , |
Guard | |||
) |
Definition at line 1166 of file BaseTest.cpp.
References EXPECT_EQ, EXPECT_THROW, folly::gen::from(), and folly::gen::sum.
TEST | ( | Gen | , |
eachTryTo | |||
) |
Definition at line 1204 of file BaseTest.cpp.
References folly::gen::dereference, EXPECT_EQ, folly::gen::from(), folly::gen::sum, and folly::gen::takeWhile().
TEST | ( | Gen | , |
Batch | |||
) |
Definition at line 1223 of file BaseTest.cpp.
References folly::gen::batch(), EXPECT_EQ, EXPECT_THROW, and folly::gen::seq().
TEST | ( | Gen | , |
BatchMove | |||
) |
Definition at line 1231 of file BaseTest.cpp.
References folly::gen::batch(), EXPECT_EQ, i, folly::gen::mapped(), and folly::gen::seq().
TEST | ( | Gen | , |
Window | |||
) |
Definition at line 1246 of file BaseTest.cpp.
References folly::gen::dereference, EXPECT_EQ, i, folly::gen::mapped(), folly::gen::seq(), folly::gen::take(), and folly::gen::window().
TEST | ( | Gen | , |
Just | |||
) |
Definition at line 1271 of file BaseTest.cpp.
References EXPECT_EQ, EXPECT_NE, folly::gen::first, folly::gen::indirect, folly::gen::just(), folly::gen::move, folly::gen::sum, folly::gen::unwrap, and x.
TEST | ( | Gen | , |
GroupBy | |||
) |
Definition at line 1296 of file BaseTest.cpp.
References folly::gen::count, EXPECT_EQ, folly::gen::from(), g(), folly::gen::groupBy(), folly::gen::Group< Key, Value >::key(), folly::gen::mapOp(), folly::gen::maxBy(), mode, folly::gen::Group< Key, Value >::size(), folly::gen::sum, and folly::gen::unwrap.
TEST | ( | Gen | , |
GroupByAdjacent | |||
) |
Definition at line 1336 of file BaseTest.cpp.
References EXPECT_EQ, folly::gen::from(), folly::gen::groupByAdjacent(), i, folly::gen::mapOp(), folly::gen::seq(), and folly::gen::take().
TEST | ( | Gen | , |
Unwrap | |||
) |
Definition at line 1355 of file BaseTest.cpp.
References folly::gen::empty(), EXPECT_EQ, EXPECT_FALSE, EXPECT_THROW, EXPECT_TRUE, folly::gen::from(), folly::gen::indirect, folly::make_optional(), folly::gen::max, folly::gen::move, folly::gen::unwrap, and folly::gen::unwrapOr().
Definition at line 70 of file BaseTest.cpp.
Referenced by proxygen::PerfectIndexMap< typename T::TKey, T::TOtherKey, T::TNoneKey, T::Hash, T::TAllowDuplicates, T::TCaseInsensitive >::add(), deadlock.DiGraph::add_edge(), folly::FutureExecutor< ExecutorImpl >::addFuture(), fizz::WriteRecordLayer::addMessage(), folly::BlockingQueue< folly::CPUThreadPoolExecutor::CPUTask >::addWithPriority(), testing::internal::edit_distance::CalculateOptimalEdits(), cmake_minimum_required(), folly::hazptr_obj_linked< Atom >::count_inc(), folly::hazptr_obj_linked< Atom >::count_inc_safe(), proxygen::HPACKDecodeBuffer::decodeInteger(), folly::EventBase::keepAliveRelease(), proxygen::SPDYCodec::parseHeaders(), testing::internal::ShouldRunTestCase(), deadlock::simple_cycles(), TEST(), and TEST_F().
Definition at line 71 of file BaseTest.cpp.
Referenced by TEST().
auto product = foldl(1, multiply) |
Definition at line 73 of file BaseTest.cpp.
Referenced by TEST().