Home
last modified time | relevance | path

Searched refs:dis (Results 1 – 25 of 194) sorted by relevance

12345678

/third_party/typescript/tests/baselines/reference/
DdeclarationEmitThisPredicates02.types15 >{ m(): this is Foo { let dis = this as {} as Foo; return dis.a != null && dis.b !…
20 let dis = this as {} as Foo;
21 >dis : Foo
26 return dis.a != null && dis.b != null && dis.c != null;
27 >dis.a != null && dis.b != null && dis.c != null : boolean
28 >dis.a != null && dis.b != null : boolean
29 >dis.a != null : boolean
30 >dis.a : string
31 >dis : Foo
34 >dis.b != null : boolean
[all …]
DdeclarationEmitThisPredicatesWithPrivateName02.types15 >{ m(): this is Foo { let dis = this as {} as Foo; return dis.a != null && dis.b !…
20 let dis = this as {} as Foo;
21 >dis : Foo
26 return dis.a != null && dis.b != null && dis.c != null;
27 >dis.a != null && dis.b != null && dis.c != null : boolean
28 >dis.a != null && dis.b != null : boolean
29 >dis.a != null : boolean
30 >dis.a : string
31 >dis : Foo
34 >dis.b != null : boolean
[all …]
DdeclarationEmitThisPredicates02.symbols22 let dis = this as {} as Foo;
23 >dis : Symbol(dis, Decl(declarationEmitThisPredicates02.ts, 8, 11))
26 return dis.a != null && dis.b != null && dis.c != null;
27 >dis.a : Symbol(Foo.a, Decl(declarationEmitThisPredicates02.ts, 0, 22))
28 >dis : Symbol(dis, Decl(declarationEmitThisPredicates02.ts, 8, 11))
30 >dis.b : Symbol(Foo.b, Decl(declarationEmitThisPredicates02.ts, 1, 14))
31 >dis : Symbol(dis, Decl(declarationEmitThisPredicates02.ts, 8, 11))
33 >dis.c : Symbol(Foo.c, Decl(declarationEmitThisPredicates02.ts, 2, 14))
34 >dis : Symbol(dis, Decl(declarationEmitThisPredicates02.ts, 8, 11))
DdeclarationEmitThisPredicatesWithPrivateName02.symbols22 let dis = this as {} as Foo;
23 >dis : Symbol(dis, Decl(declarationEmitThisPredicatesWithPrivateName02.ts, 8, 11))
26 return dis.a != null && dis.b != null && dis.c != null;
27 >dis.a : Symbol(Foo.a, Decl(declarationEmitThisPredicatesWithPrivateName02.ts, 0, 15))
28 >dis : Symbol(dis, Decl(declarationEmitThisPredicatesWithPrivateName02.ts, 8, 11))
30 >dis.b : Symbol(Foo.b, Decl(declarationEmitThisPredicatesWithPrivateName02.ts, 1, 14))
31 >dis : Symbol(dis, Decl(declarationEmitThisPredicatesWithPrivateName02.ts, 8, 11))
33 >dis.c : Symbol(Foo.c, Decl(declarationEmitThisPredicatesWithPrivateName02.ts, 2, 14))
34 >dis : Symbol(dis, Decl(declarationEmitThisPredicatesWithPrivateName02.ts, 8, 11))
DdeclarationEmitThisPredicatesWithPrivateName02.js10 let dis = this as {} as Foo;
11 return dis.a != null && dis.b != null && dis.c != null;
21 var dis = this;
22 return dis.a != null && dis.b != null && dis.c != null;
DdeclarationEmitThisPredicates02.js10 let dis = this as {} as Foo;
11 return dis.a != null && dis.b != null && dis.c != null;
21 var dis = this;
22 return dis.a != null && dis.b != null && dis.c != null;
DdeclarationEmitThisPredicatesWithPrivateName02.errors.txt15 let dis = this as {} as Foo;
16 return dis.a != null && dis.b != null && dis.c != null;
DdeclarationEmitThisPredicates02.errors.txt15 let dis = this as {} as Foo;
16 return dis.a != null && dis.b != null && dis.c != null;
/third_party/boost/libs/math/test/
Dtest_vector_barycentric_rational.cpp31 boost::random::uniform_real_distribution<Real> dis(0.1f, 1); in test_agreement_with_1d() local
34 t[0] = dis(gen); in test_agreement_with_1d()
35 y[0][0] = dis(gen); in test_agreement_with_1d()
36 y[0][1] = dis(gen); in test_agreement_with_1d()
39 t[i] = t[i-1] + dis(gen); in test_agreement_with_1d()
40 y[i][0] = dis(gen); in test_agreement_with_1d()
41 y[i][1] = dis(gen); in test_agreement_with_1d()
81 boost::random::uniform_real_distribution<Real> dis(0.1f, 1); in test_interpolation_condition_eigen() local
84 t[0] = dis(gen); in test_interpolation_condition_eigen()
85 y[0][0] = dis(gen); in test_interpolation_condition_eigen()
[all …]
Dtest_barycentric_rational.cpp32 boost::random::uniform_real_distribution<Real> dis(0.1f, 1); in test_interpolation_condition() local
35 x[0] = dis(gen); in test_interpolation_condition()
36 y[0] = dis(gen); in test_interpolation_condition()
39 x[i] = x[i-1] + dis(gen); in test_interpolation_condition()
40 y[i] = dis(gen); in test_interpolation_condition()
68 boost::random::uniform_real_distribution<Real> dis(0.1f, 1); in test_interpolation_condition_high_order() local
71 x[0] = dis(gen); in test_interpolation_condition_high_order()
72 y[0] = dis(gen); in test_interpolation_condition_high_order()
75 x[i] = x[i-1] + dis(gen); in test_interpolation_condition_high_order()
76 y[i] = dis(gen); in test_interpolation_condition_high_order()
[all …]
Dpchip_test.cpp138 std::uniform_real_distribution<Real> dis(0,1); in test_interpolation_condition() local
139 Real x0 = dis(rd); in test_interpolation_condition()
141 y[0] = dis(rd); in test_interpolation_condition()
143 x[i] = x[i-1] + dis(rd); in test_interpolation_condition()
144 y[i] = dis(rd); in test_interpolation_condition()
174 std::uniform_real_distribution<Real> dis(0,1); in test_monotonicity() local
175 Real x0 = dis(rd); in test_monotonicity()
177 y[0] = dis(rd); in test_monotonicity()
180 x[i] = x[i-1] + dis(rd); in test_monotonicity()
181 y[i] = y[i-1] + dis(rd); in test_monotonicity()
[all …]
Dsignal_statistics_test.cpp67 std::uniform_real_distribution<long double> dis(0, 1); in test_hoyer_sparsity() local
70 v[i] = dis(gen); in test_hoyer_sparsity()
170 std::uniform_real_distribution<long double> dis(0, 50); in test_absolute_gini_coefficient() local
173 u[i] = dis(gen); in test_absolute_gini_coefficient()
185 Real expected = (dis.b() - dis.a() )/(3*(dis.a() + dis.b())); in test_absolute_gini_coefficient()
256 std::normal_distribution<Real> dis{0, 1.0}; in test_m2m4_snr_estimator() local
261 x[i] = signal[i] + dis(gen); in test_m2m4_snr_estimator()
/third_party/python/Lib/test/
Dtest__opcode.py1 import dis
12 self.assertEqual(stack_effect(dis.opmap['POP_TOP']), -1)
13 self.assertEqual(stack_effect(dis.opmap['DUP_TOP_TWO']), 2)
14 self.assertEqual(stack_effect(dis.opmap['BUILD_SLICE'], 0), -1)
15 self.assertEqual(stack_effect(dis.opmap['BUILD_SLICE'], 1), -1)
16 self.assertEqual(stack_effect(dis.opmap['BUILD_SLICE'], 3), -2)
18 self.assertRaises(ValueError, stack_effect, dis.opmap['BUILD_SLICE'])
19 self.assertRaises(ValueError, stack_effect, dis.opmap['POP_TOP'], 0)
21 for name, code in dis.opmap.items():
23 if code < dis.HAVE_ARGUMENT:
[all …]
Dtest_dis.py7 import dis
496 dis.dis(func, **kwargs)
498 dis.disassemble(func, lasti, **kwargs)
514 self.assertEqual(dis.opmap["NOP"], 9)
515 self.assertIn(dis.opmap["LOAD_CONST"], dis.hasconst)
516 self.assertIn(dis.opmap["STORE_NAME"], dis.hasname)
519 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST")
522 self.assertEqual(dis.opmap["EXTENDED_ARG"], dis.EXTENDED_ARG)
523 self.assertEqual(dis.opmap["STORE_NAME"], dis.HAVE_ARGUMENT)
526 for opcode, opname in enumerate(dis.opname):
[all …]
Dtest_peepholer.py1 import dis
9 for instr in dis.get_instructions(f):
23 instructions = list(dis.get_instructions(code))
45 code = dis._get_code_object(code)
46 lnotab = list(dis.findlinestarts(code))
145 load_consts = [instr for instr in dis.get_instructions(code)
231 for instr in dis.get_instructions(code):
289 for instr in dis.get_instructions(code):
297 for instr in dis.get_instructions(negzero):
316 returns = [instr for instr in dis.get_instructions(f)
[all …]
/third_party/boost/libs/math/example/daubechies_wavelets/
Dbench.cpp138 boost::random::uniform_real_distribution<Real> dis(Real(0), Real(1)); in CubicHermite() local
139 x[0] = dis(rd); in CubicHermite()
140 y[0] = dis(rd); in CubicHermite()
141 dydx[0] = dis(rd); in CubicHermite()
144 x[i] = x[i-1] + dis(rd); in CubicHermite()
145 y[i] = dis(rd); in CubicHermite()
146 dydx[i] = dis(rd); in CubicHermite()
177 boost::random::uniform_real_distribution<Real> dis(Real(0), Real(1)); in CardinalCubicHermite() local
210 boost::random::uniform_real_distribution<Real> dis(Real(0), Real(1)); in CardinalCubicHermiteAOS() local
304 boost::random::uniform_real_distribution<Real> dis(Real(0), Real(1)); in CardinalQuinticHermite() local
[all …]
/third_party/boost/libs/test/doc/examples/
Dexample84_contexts.run-fail.cpp23 std::uniform_real_distribution<> dis(-10, 10); in estimate_polynomial_roots() local
24 double x1 = dis(gen); in estimate_polynomial_roots()
25 double x2 = dis(gen); in estimate_polynomial_roots()
48 std::uniform_int_distribution<> dis(-10, 10); in BOOST_AUTO_TEST_CASE() local
54 int root1 = dis(gen); in BOOST_AUTO_TEST_CASE()
55 int root2 = dis(gen); in BOOST_AUTO_TEST_CASE()
/third_party/typescript/tests/cases/conformance/declarationEmit/typePredicates/
DdeclarationEmitThisPredicatesWithPrivateName02.ts12 let dis = this as {} as Foo;
13 return dis.a != null && dis.b != null && dis.c != null;
DdeclarationEmitThisPredicates02.ts12 let dis = this as {} as Foo;
13 return dis.a != null && dis.b != null && dis.c != null;
/third_party/python/Lib/test/support/
Dbytecode_helper.py4 import dis
14 dis.dis(co, file=s)
19 for instr in dis.get_instructions(x):
33 for instr in dis.get_instructions(x):
/third_party/glib/gio/
Dgdbusauth.c276 _my_g_data_input_stream_read_line (GDataInputStream *dis, in _my_g_data_input_stream_read_line() argument
285 ret = g_data_input_stream_read_line (dis, in _my_g_data_input_stream_read_line()
566 GDataInputStream *dis; in _g_dbus_auth_run_client() local
589dis = G_DATA_INPUT_STREAM (g_data_input_stream_new (g_io_stream_get_input_stream (auth->priv->stre… in _g_dbus_auth_run_client()
591 g_filter_input_stream_set_close_base_stream (G_FILTER_INPUT_STREAM (dis), FALSE); in _g_dbus_auth_run_client()
594 g_data_input_stream_set_newline_type (dis, G_DATA_STREAM_NEWLINE_TYPE_CR_LF); in _g_dbus_auth_run_client()
644 line = _my_g_data_input_stream_read_line (dis, &line_length, cancellable, error); in _g_dbus_auth_run_client()
686 line = _my_g_data_input_stream_read_line (dis, &line_length, cancellable, error); in _g_dbus_auth_run_client()
742 line = _my_g_data_input_stream_read_line (dis, &line_length, cancellable, error); in _g_dbus_auth_run_client()
783 line = _my_g_data_input_stream_read_line (dis, &line_length, cancellable, error); in _g_dbus_auth_run_client()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/data/unit/
Drm.txt14 other{"{0} dis"}
45 one{"{0} dis"}
46 other{"{0} dis"}
78 other{"{0} dis"}
/third_party/boost/libs/histogram/benchmark/
Dhistogram_parallel_filling.cpp36 std::uniform_real_distribution<> dis(0, 1); in NoThreads() local
44 hist(dis(gen)); in NoThreads()
59 std::uniform_real_distribution<> dis(0, 1); in AtomicStorage() local
64 hist(dis(gen)); in AtomicStorage()
/third_party/boost/boost/geometry/algorithms/
Ddiscrete_frechet_distance.hpp103 result_type dis = strategy.apply(range::at(ls1,i), range::at(ls2,j)); in apply() local
105 coup_matrix(i,j) = dis; in apply()
108 (std::max)(coup_matrix(i,j-1), dis); in apply()
111 (std::max)(coup_matrix(i-1,j), dis); in apply()
117 dis); in apply()
/third_party/mindspore/mindspore/nn/metrics/
Dmean_surface_distance.py79 dis = np.full(y_edges.shape, np.inf)
82 dis = morphology.distance_transform_edt(~y_edges)
84 dis = morphology.distance_transform_cdt(~y_edges, metric=self.distance_metric)
86 surface_distance = dis[y_pred_edges]

12345678