Home
last modified time | relevance | path

Searched refs:expected_ (Results 1 – 14 of 14) sorted by relevance

/third_party/boost/boost/format/
Dexceptions.hpp54 std::size_t cur_, expected_; member in boost::io::too_few_args
57 : cur_(cur), expected_(expected) {} in too_few_args()
59 std::size_t get_expected() const { return expected_; } in get_expected()
68 std::size_t cur_, expected_; member in boost::io::too_many_args
71 : cur_(cur), expected_(expected) {} in too_many_args()
73 std::size_t get_expected() const { return expected_; } in get_expected()
/third_party/grpc/test/core/client_channel/resolvers/
Dfake_resolver_test.cc44 expected_ = std::move(expected); in SetExpectedAndEvent()
53 GPR_ASSERT(actual.addresses.size() == expected_.addresses.size()); in ReturnResult()
54 for (size_t i = 0; i < expected_.addresses.size(); ++i) { in ReturnResult()
55 GPR_ASSERT(actual.addresses[i] == expected_.addresses[i]); in ReturnResult()
64 grpc_core::Resolver::Result expected_; member in ResultHandler
/third_party/boost/libs/variant/test/
Dtest7.cpp161 compare_helper(ValueType& expected) : expected_(expected) { } in compare_helper()
167 return value == expected_; in operator ()()
182 return value == expected_; in compare_impl()
204 ValueType& expected_; member
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_server.h427 explicit BatchWait(int n) : expected_(n), num_back_(0) { in BatchWait()
428 expected_ = n; in BatchWait()
429 rc_lists_.reserve(expected_); in BatchWait()
436 CHECK_FAIL_RETURN_UNEXPECTED(expected_ > num_back_, "Programming error"); in Set()
440 if (num_back_ == expected_) { in Set()
461 int64_t expected_; variable
/third_party/boost/libs/beast/test/beast/core/
Dbasic_stream.cpp707 boost::optional<error_code> expected_ = {}; in testConnect() member in boost::beast::basic_stream_test::testConnect::connect_handler
716 : expected_(error_code{}) in testConnect()
722 : expected_(expected) in testConnect()
733 , expected_(other.expected_) in testConnect()
740 if(expected_) in testConnect()
742 ec == expected_, ec.message()); in testConnect()
1074 boost::optional<error_code> expected_ = {}; in testMembers() member in boost::beast::basic_stream_test::testMembers::handler
1083 : expected_(error_code{}) in testMembers()
1089 : expected_(expected) in testMembers()
1100 , expected_(other.expected_) in testMembers()
[all …]
/third_party/boost/libs/smart_ptr/test/
Dshared_from_raw_test2.cpp26 int expected_; member in X
39 explicit X( int expected ): destroyed_( 0 ), deleted_( 0 ), expected_( expected ) in X()
46 BOOST_TEST( deleted_ == expected_ ); in ~X()
Dshared_from_raw_test5.cpp29 int expected_; member in X
42 …pected, boost::shared_ptr<X> *early_px = 0 ): destroyed_( 0 ), deleted_( 0 ), expected_( expected ) in X()
50 BOOST_TEST( deleted_ == expected_ ); in ~X()
Desft_regtest.cpp28 int expected_; member in X
41 explicit X( int expected ): destroyed_( 0 ), deleted_( 0 ), expected_( expected ) in X()
48 BOOST_TEST( deleted_ == expected_ ); in ~X()
/third_party/abseil-cpp/absl/random/
Dpoisson_distribution_test.cc365 std::vector<double> expected_; member in __anon30c422710111::PoissonDistributionChiSquaredTest
375 if (!cutoffs_.empty() && !expected_.empty()) { in InitChiSquaredTest()
393 expected_.push_back(d); in InitChiSquaredTest()
397 expected_.push_back(std::max(0.0, 1.0 - last_cdf)); in InitChiSquaredTest()
421 std::vector<int32_t> e(expected_.size(), 0); in ChiSquaredTestImpl()
423 e[i] = kSamples * expected_[i]; in ChiSquaredTestImpl()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dpoisson_distribution_test.cc365 std::vector<double> expected_; member in __anon297ddba60111::PoissonDistributionChiSquaredTest
375 if (!cutoffs_.empty() && !expected_.empty()) { in InitChiSquaredTest()
393 expected_.push_back(d); in InitChiSquaredTest()
397 expected_.push_back(std::max(0.0, 1.0 - last_cdf)); in InitChiSquaredTest()
421 std::vector<int32_t> e(expected_.size(), 0); in ChiSquaredTestImpl()
423 e[i] = kSamples * expected_[i]; in ChiSquaredTestImpl()
/third_party/googletest/googlemock/include/gmock/
Dgmock-matchers.h1601 expected_(expected), nan_eq_nan_(nan_eq_nan), max_abs_error_(-1) {
1609 : expected_(expected),
1621 : expected_(expected),
1627 const FloatingPoint<FloatType> actual(value), expected(expected_);
1642 if (value == expected_) {
1646 const FloatType diff = value - expected_;
1652 *listener << "which is " << diff << " from " << expected_;
1666 if (FloatingPoint<FloatType>(expected_).is_nan()) {
1673 *os << "is approximately " << expected_;
1685 if (FloatingPoint<FloatType>(expected_).is_nan()) {
[all …]
/third_party/mindspore/tests/ut/cpp/ir/
Dmanager_test.cc107 if (expected_.empty() && expected_recursive_.empty()) { in Check()
143 expected_[key] = {value}; in ParseSpecs()
152 expected_[key] = values_set; in ParseSpecs()
180 ASSERT_EQ(clean_results, expected_); in CheckParent()
201 std::map<std::string, std::set<std::string>> expected_; member in mindspore::NestingSpecs
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord_test.cc1752 expected_ = expected; in Set()
1757 EXPECT_EQ(*cord_, expected_); in ~AfterExitCordTester()
1761 absl::string_view expected_; member in AfterExitCordTester
/third_party/boost/libs/type_erasure/test/
Dtest_construct.cpp367 #define TEST_CONSTRUCT(sig, args, expected_) \ argument
376 std::vector<int> expected = make_vector expected_;\