Home
last modified time | relevance | path

Searched refs:Expectation (Results 1 – 25 of 1671) sorted by relevance

12345678910>>...67

/dports/math/py-sympy/sympy-1.9/sympy/stats/tests/
H A Dtest_symbolic_probability.py26 …assert Expectation(2*X + 3*Y + z*X*Y).expand() == 2*Expectation(X) + 3*Expectation(Y) + z*Expectat…
31 assert Expectation(X + Y).expand() == Expectation(X) + Expectation(Y)
36 assert Expectation(X + Expectation(Y)).doit(deep=False) == 2 + Expectation(Expectation(Y))
38 + Expectation(Expectation(Y + Expectation(2*X)))
39 assert Expectation(X + Expectation(Y + Expectation(2*X))).doit() == 9
41 assert Expectation(Expectation(2*X)).doit(deep=False) == Expectation(2*X)
42 assert Expectation(4*Expectation(2*X)).doit(deep=False) == 4*Expectation(2*X)
44 3*Expectation(X**2*Y) + Expectation(X**3) + Expectation(Y**3)
46 3*Expectation(X**2*Y) + Expectation(X**3) - Expectation(Y**3)
106 assert Covariance(X, Y).rewrite(Expectation) == Expectation(X*Y) - Expectation(X)*Expectation(Y)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/tests/unittests/validation/
H A DCopyCommandsValidationTests.cpp64 if (expectation == utils::Expectation::Success) { in ValidateExpectation()
71 void TestB2TCopy(utils::Expectation expectation, in TestB2TCopy()
92 void TestT2BCopy(utils::Expectation expectation, in TestT2BCopy()
113 void TestT2TCopy(utils::Expectation expectation, in TestT2TCopy()
133 void TestBothTBCopies(utils::Expectation expectation, in TestBothTBCopies()
148 void TestBothT2TCopies(utils::Expectation expectation, in TestBothT2TCopies()
1011 TestT2BCopy(utils::Expectation::Success, source, 0, {0, 0, 0}, in TEST_F()
1013 TestT2BCopy(utils::Expectation::Success, source, 0, {0, 0, 0}, in TEST_F()
1015 TestT2BCopy(utils::Expectation::Success, source, 0, {0, 0, 0}, in TEST_F()
1018 TestT2BCopy(utils::Expectation::Success, source, 0, {0, 0, 0}, in TEST_F()
[all …]
H A DDrawIndirectValidationTests.cpp53 if (expectation == utils::Expectation::Success) { in ValidateExpectation()
60 void TestIndirectOffsetDrawIndexed(utils::Expectation expectation, in TestIndirectOffsetDrawIndexed()
66 void TestIndirectOffsetDraw(utils::Expectation expectation, in TestIndirectOffsetDraw()
72 void TestIndirectOffset(utils::Expectation expectation, in TestIndirectOffset()
103 TestIndirectOffsetDraw(utils::Expectation::Success, {1, 2, 3, 4}, 0); in TEST_F()
111 TestIndirectOffsetDraw(utils::Expectation::Failure, {1, 2, 3, 4, 5}, 1); in TEST_F()
112 TestIndirectOffsetDraw(utils::Expectation::Failure, {1, 2, 3, 4, 5}, 2); in TEST_F()
115 TestIndirectOffsetDraw(utils::Expectation::Failure, {1, 2, 3}, 0); in TEST_F()
140 TestIndirectOffsetDrawIndexed(utils::Expectation::Failure, {1, 2, 3, 4}, 0); in TEST_F()
142 TestIndirectOffsetDrawIndexed(utils::Expectation::Failure, {1, 2, 3, 4, 5}, in TEST_F()
[all …]
H A DComputeIndirectValidationTests.cpp42 void ValidateExpectation(wgpu::CommandEncoder encoder, utils::Expectation expectation) { in ValidateExpectation()
43 if (expectation == utils::Expectation::Success) { in ValidateExpectation()
50 void TestIndirectOffset(utils::Expectation expectation, in TestIndirectOffset()
71 TestIndirectOffset(utils::Expectation::Success, {1, 2, 3}, 0); in TEST_F()
73 TestIndirectOffset(utils::Expectation::Success, {1, 2, 3, 4, 5, 6}, 0); in TEST_F()
78 TestIndirectOffset(utils::Expectation::Failure, {1, 2, 3, 4}, 1); in TEST_F()
79 TestIndirectOffset(utils::Expectation::Failure, {1, 2, 3, 4}, 2); in TEST_F()
82 TestIndirectOffset(utils::Expectation::Failure, {1, 2}, 0); in TEST_F()
84 TestIndirectOffset(utils::Expectation::Failure, {1, 2, 3}, 1 * sizeof(uint32_t)); in TEST_F()
86 TestIndirectOffset(utils::Expectation::Failure, {1, 2, 3}, 4 * sizeof(uint32_t)); in TEST_F()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/compiler/jvmci/
H A DTestEnableJVMCIProduct.java38 static class Expectation { class in TestEnableJVMCIProduct
43 Expectation(final String name, String value, String origin) { in Expectation() method in TestEnableJVMCIProduct.Expectation
54 new Expectation("EnableJVMCI", "true", "default"), in main()
55 new Expectation("UseJVMCICompiler", "true", "default")); in main()
57 new Expectation("EnableJVMCI", "true", "default"), in main()
60 new Expectation("EnableJVMCI", "true", "default"), in main()
63 new Expectation("EnableJVMCI", "true", "command line"), in main()
64 new Expectation("UseJVMCICompiler", "true", "default")); in main()
66 new Expectation("EnableJVMCI", "false", "command line"), in main()
70 new Expectation("EnableJVMCI", "true", "default"), in main()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/compiler/jvmci/
H A DTestEnableJVMCIProduct.java38 static class Expectation { class in TestEnableJVMCIProduct
43 Expectation(final String name, String value, String origin) { in Expectation() method in TestEnableJVMCIProduct.Expectation
54 new Expectation("EnableJVMCI", "true", "default"), in main()
55 new Expectation("UseJVMCICompiler", "true", "default")); in main()
57 new Expectation("EnableJVMCI", "true", "default"), in main()
60 new Expectation("EnableJVMCI", "true", "default"), in main()
63 new Expectation("EnableJVMCI", "true", "command line"), in main()
64 new Expectation("UseJVMCICompiler", "true", "default")); in main()
66 new Expectation("EnableJVMCI", "false", "command line"), in main()
70 new Expectation("EnableJVMCI", "true", "default"), in main()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/compiler/jvmci/
H A DTestEnableJVMCIProduct.java39 static class Expectation { class in TestEnableJVMCIProduct
44 Expectation(final String name, String value, String origin) { in Expectation() method in TestEnableJVMCIProduct.Expectation
55 new Expectation("EnableJVMCI", "true", "default"), in main()
56 new Expectation("UseJVMCICompiler", "true", "default")); in main()
58 new Expectation("EnableJVMCI", "true", "default"), in main()
61 new Expectation("EnableJVMCI", "true", "default"), in main()
64 new Expectation("EnableJVMCI", "true", "command line"), in main()
65 new Expectation("UseJVMCICompiler", "true", "default")); in main()
67 new Expectation("EnableJVMCI", "false", "command line"), in main()
71 new Expectation("EnableJVMCI", "true", "default"), in main()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/compiler/jvmci/
H A DTestEnableJVMCIProduct.java37 static class Expectation { class in TestEnableJVMCIProduct
42 Expectation(final String name, String value, String origin) { in Expectation() method in TestEnableJVMCIProduct.Expectation
53 new Expectation("EnableJVMCI", "true", "default"), in main()
54 new Expectation("UseJVMCICompiler", "true", "default")); in main()
56 new Expectation("EnableJVMCI", "true", "default"), in main()
59 new Expectation("EnableJVMCI", "true", "default"), in main()
62 new Expectation("EnableJVMCI", "true", "command line"), in main()
63 new Expectation("UseJVMCICompiler", "true", "default")); in main()
65 new Expectation("EnableJVMCI", "false", "command line"), in main()
66 new Expectation("UseJVMCICompiler", "false", "default")); in main()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/plugin/x/src/expect/
H A Dexpect.cc126 Expectation::Expectation(const Expectation &other) in Expectation() function in xpl::Expectation
134 void Expectation::swap(Expectation &one, Expectation &other) { in swap()
142 Expectation &Expectation::operator=(Expectation other) { in operator =()
148 ngs::Error_code Expectation::error() const { return m_error; } in error()
150 ngs::Error_code Expectation::check_conditions() { in check_conditions()
163 void Expectation::unset(const uint32_t key, const std::string &value) { in unset()
180 void Expectation::add_condition(Expect_condition_ptr cond) { in add_condition()
184 ngs::Error_code Expectation::set(const uint32_t key, const std::string &value) { in set()
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/gpu/android/
H A Dmaybe_render_early_manager_unittest.cc19 enum Expectation { kRenderToFrontBuffer, kRenderToBackBuffer, kNone }; enum
23 MockImage(ImageKind kind, Phase phase, Expectation expectation) { in MockImage()
56 void AddImage(ImageKind kind, Phase phase, Expectation expectation) { in AddImage()
71 AddImage(kTextureOwner, kInCodec, Expectation::kRenderToFrontBuffer); in TEST_F()
76 AddImage(kOverlay, kInCodec, Expectation::kRenderToFrontBuffer); in TEST_F()
89 AddImage(kOverlay, kInFrontBuffer, Expectation::kNone); in TEST_F()
90 AddImage(kOverlay, kInCodec, Expectation::kNone); in TEST_F()
96 AddImage(kTextureOwner, kInCodec, Expectation::kNone); in TEST_F()
97 AddImage(kTextureOwner, kInFrontBuffer, Expectation::kNone); in TEST_F()
98 AddImage(kTextureOwner, kInCodec, Expectation::kRenderToBackBuffer); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tools/skpbench/
H A D_hardware_pixel_c.py6 from _hardware import HardwareException, Expectation
76 [Expectation(int, min_value=30, name='battery', sleeptime=30*60),
77 Expectation(str, exact_value='0-2', name='online cpus'),
78 Expectation(int, max_value=40000, name='skin temperature'),
79 Expectation(int, max_value=86000, name='cpu temperature'),
80 Expectation(int, max_value=87000, name='gpu temperature'),
81 Expectation(int, exact_value=0, name='cpu throttle'),
82 Expectation(int, exact_value=0, name='gpu throttle')] + \
83 [Expectation(int, exact_value=CPU_CLOCK_RATE,
86 [Expectation(str, exact_value=GPU_EMC_PROFILE, name='gpu/emc profile')]
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/tools/skpbench/
H A D_hardware_pixel_c.py6 from _hardware import HardwareException, Expectation
76 [Expectation(int, min_value=30, name='battery', sleeptime=30*60),
77 Expectation(str, exact_value='0-2', name='online cpus'),
78 Expectation(int, max_value=40000, name='skin temperature'),
79 Expectation(int, max_value=86000, name='cpu temperature'),
80 Expectation(int, max_value=87000, name='gpu temperature'),
81 Expectation(int, exact_value=0, name='cpu throttle'),
82 Expectation(int, exact_value=0, name='gpu throttle')] + \
83 [Expectation(int, exact_value=CPU_CLOCK_RATE,
86 [Expectation(str, exact_value=GPU_EMC_PROFILE, name='gpu/emc profile')]
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/gpu/android/
H A Dmaybe_render_early_manager_unittest.cc19 enum Expectation { kRenderToFrontBuffer, kRenderToBackBuffer, kNone }; enum
23 MockImage(ImageKind kind, Phase phase, Expectation expectation) { in MockImage()
59 void AddImage(ImageKind kind, Phase phase, Expectation expectation) { in AddImage()
74 AddImage(kTextureOwner, kInCodec, Expectation::kRenderToFrontBuffer); in TEST_F()
79 AddImage(kOverlay, kInCodec, Expectation::kRenderToFrontBuffer); in TEST_F()
92 AddImage(kOverlay, kInFrontBuffer, Expectation::kNone); in TEST_F()
93 AddImage(kOverlay, kInCodec, Expectation::kNone); in TEST_F()
99 AddImage(kTextureOwner, kInCodec, Expectation::kNone); in TEST_F()
100 AddImage(kTextureOwner, kInFrontBuffer, Expectation::kNone); in TEST_F()
101 AddImage(kTextureOwner, kInCodec, Expectation::kRenderToBackBuffer); in TEST_F()
[all …]
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/nom-supreme-0.6.0/src/
H A Derror.rs41 pub enum Expectation { enum
79 impl Display for Expectation { implementation
82 Expectation::Tag(tag) => write!(f, "{:?}", tag), in fmt()
83 Expectation::Char(c) => write!(f, "{:?}", c), in fmt()
85 Expectation::Digit => write!(f, "an ascii digit"), in fmt()
91 Expectation::Eof => write!(f, "eof"), in fmt()
92 Expectation::CrLf => write!(f, "CRLF"), in fmt()
93 Expectation::Something => write!(f, "not eof"), in fmt()
106 Expected(Expectation),
590 "\r\n" => Expectation::CrLf, in from_tag()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/rapid/plugin/x/src/
H A Dexpect.cc133 Expectation::Expectation(const Expectation &other) in Expectation() function in Expectation
144 void Expectation::swap(Expectation &one, Expectation &other) in swap()
153 Expectation &Expectation::operator =(const Expectation &other) in operator =()
155 Expectation tmp(other); in operator =()
161 Expectation::~Expectation() in ~Expectation()
169 ngs::Error_code Expectation::check() in check()
182 void Expectation::unset(uint32_t key) in unset()
203 void Expectation::add_condition(Expect_condition *cond) in add_condition()
209 ngs::Error_code Expectation::set(uint32_t key, const std::string &value) in set()
263 Expectation expect; in open()
H A Dexpect.h50 class Expectation
53 Expectation() : m_fail_on_error(false), m_gtid_wait_less_than(0) {} in Expectation() function
54 Expectation(const Expectation &other);
56 ~Expectation();
58 Expectation &operator =(const Expectation &other);
71 void swap(Expectation &one, Expectation &other);
97 std::vector<Expectation> m_expect_stack;
/dports/databases/percona57-server/percona-server-5.7.36-39/rapid/plugin/x/src/
H A Dexpect.cc133 Expectation::Expectation(const Expectation &other) in Expectation() function in Expectation
144 void Expectation::swap(Expectation &one, Expectation &other) in swap()
153 Expectation &Expectation::operator =(const Expectation &other) in operator =()
155 Expectation tmp(other); in operator =()
161 Expectation::~Expectation() in ~Expectation()
169 ngs::Error_code Expectation::check() in check()
182 void Expectation::unset(uint32_t key) in unset()
203 void Expectation::add_condition(Expect_condition *cond) in add_condition()
209 ngs::Error_code Expectation::set(uint32_t key, const std::string &value) in set()
263 Expectation expect; in open()
H A Dexpect.h50 class Expectation
53 Expectation() : m_fail_on_error(false), m_gtid_wait_less_than(0) {} in Expectation() function
54 Expectation(const Expectation &other);
56 ~Expectation();
58 Expectation &operator =(const Expectation &other);
71 void swap(Expectation &one, Expectation &other);
97 std::vector<Expectation> m_expect_stack;
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/rapid/plugin/x/src/
H A Dexpect.cc133 Expectation::Expectation(const Expectation &other) in Expectation() function in Expectation
144 void Expectation::swap(Expectation &one, Expectation &other) in swap()
153 Expectation &Expectation::operator =(const Expectation &other) in operator =()
155 Expectation tmp(other); in operator =()
161 Expectation::~Expectation() in ~Expectation()
169 ngs::Error_code Expectation::check() in check()
182 void Expectation::unset(uint32_t key) in unset()
203 void Expectation::add_condition(Expect_condition *cond) in add_condition()
209 ngs::Error_code Expectation::set(uint32_t key, const std::string &value) in set()
263 Expectation expect; in open()
H A Dexpect.h50 class Expectation
53 Expectation() : m_fail_on_error(false), m_gtid_wait_less_than(0) {} in Expectation() function
54 Expectation(const Expectation &other);
56 ~Expectation();
58 Expectation &operator =(const Expectation &other);
71 void swap(Expectation &one, Expectation &other);
97 std::vector<Expectation> m_expect_stack;
/dports/databases/percona57-client/percona-server-5.7.36-39/rapid/plugin/x/src/
H A Dexpect.cc133 Expectation::Expectation(const Expectation &other) in Expectation() function in Expectation
144 void Expectation::swap(Expectation &one, Expectation &other) in swap()
153 Expectation &Expectation::operator =(const Expectation &other) in operator =()
155 Expectation tmp(other); in operator =()
161 Expectation::~Expectation() in ~Expectation()
169 ngs::Error_code Expectation::check() in check()
182 void Expectation::unset(uint32_t key) in unset()
203 void Expectation::add_condition(Expect_condition *cond) in add_condition()
209 ngs::Error_code Expectation::set(uint32_t key, const std::string &value) in set()
263 Expectation expect; in open()
H A Dexpect.h50 class Expectation
53 Expectation() : m_fail_on_error(false), m_gtid_wait_less_than(0) {} in Expectation() function
54 Expectation(const Expectation &other);
56 ~Expectation();
58 Expectation &operator =(const Expectation &other);
71 void swap(Expectation &one, Expectation &other);
97 std::vector<Expectation> m_expect_stack;
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/rapid/plugin/x/src/
H A Dexpect.cc133 Expectation::Expectation(const Expectation &other) in Expectation() function in Expectation
144 void Expectation::swap(Expectation &one, Expectation &other) in swap()
153 Expectation &Expectation::operator =(const Expectation &other) in operator =()
155 Expectation tmp(other); in operator =()
161 Expectation::~Expectation() in ~Expectation()
169 ngs::Error_code Expectation::check() in check()
182 void Expectation::unset(uint32_t key) in unset()
203 void Expectation::add_condition(Expect_condition *cond) in add_condition()
209 ngs::Error_code Expectation::set(uint32_t key, const std::string &value) in set()
263 Expectation expect; in open()
/dports/databases/mysql57-client/mysql-5.7.36/rapid/plugin/x/src/
H A Dexpect.cc133 Expectation::Expectation(const Expectation &other) in Expectation() function in Expectation
144 void Expectation::swap(Expectation &one, Expectation &other) in swap()
153 Expectation &Expectation::operator =(const Expectation &other) in operator =()
155 Expectation tmp(other); in operator =()
161 Expectation::~Expectation() in ~Expectation()
169 ngs::Error_code Expectation::check() in check()
182 void Expectation::unset(uint32_t key) in unset()
203 void Expectation::add_condition(Expect_condition *cond) in add_condition()
209 ngs::Error_code Expectation::set(uint32_t key, const std::string &value) in set()
263 Expectation expect; in open()
/dports/textproc/angle-grinder/angle-grinder-0.18.0/cargo-crates/nom-supreme-0.4.4/src/
H A Derror.rs42 pub enum Expectation { enum
80 impl Display for Expectation { implementation
83 Expectation::Tag(tag) => write!(f, "{:?}", tag), in fmt()
84 Expectation::Char(c) => write!(f, "{:?}", c), in fmt()
85 Expectation::Alpha => write!(f, "an ascii letter"), in fmt()
86 Expectation::Digit => write!(f, "an ascii digit"), in fmt()
90 Expectation::Space => write!(f, "a space or tab"), in fmt()
92 Expectation::Eof => write!(f, "eof"), in fmt()
93 Expectation::CrLf => write!(f, "CRLF"), in fmt()
94 Expectation::Something => write!(f, "not eof"), in fmt()
[all …]

12345678910>>...67