/third_party/typescript/tests/baselines/reference/ |
D | arrayLiteralExpressionContextualTyping.types | 19 var tup: [number, number, number] = [1, 2, 3, 4]; 20 >tup : [number, number, number] 54 var spr1 = [1, 2, 3, ...tup]; 56 >[1, 2, 3, ...tup] : number[] 60 >...tup : number 61 >tup : [number, number, number] 63 var spr2:[number, number, number] = [1, 2, 3, ...tup]; // Error 65 >[1, 2, 3, ...tup] : [number, number, number, number, number, number] 69 >...tup : number 70 >tup : [number, number, number]
|
D | arrayLiteralExpressionContextualTyping.symbols | 11 var tup: [number, number, number] = [1, 2, 3, 4]; 12 >tup : Symbol(tup, Decl(arrayLiteralExpressionContextualTyping.ts, 5, 3)) 26 var spr1 = [1, 2, 3, ...tup]; 28 >tup : Symbol(tup, Decl(arrayLiteralExpressionContextualTyping.ts, 5, 3)) 30 var spr2:[number, number, number] = [1, 2, 3, ...tup]; // Error 32 >tup : Symbol(tup, Decl(arrayLiteralExpressionContextualTyping.ts, 5, 3))
|
D | arrayLiteralExpressionContextualTyping.js | 7 var tup: [number, number, number] = [1, 2, 3, 4]; variable 14 var spr1 = [1, 2, 3, ...tup]; 15 var spr2:[number, number, number] = [1, 2, 3, ...tup]; // Error 29 var tup = [1, 2, 3, 4]; variable 35 var spr1 = __spreadArray([1, 2, 3], tup); 36 var spr2 = __spreadArray([1, 2, 3], tup); // Error
|
D | arrayLiterals3.symbols | 37 interface tup { 38 >tup : Symbol(tup, Decl(arrayLiterals3.ts, 23, 67)) 41 >0 : Symbol(tup[0], Decl(arrayLiterals3.ts, 25, 15)) 44 >1 : Symbol(tup[1], Decl(arrayLiterals3.ts, 26, 25)) 57 var c0: tup = [...temp2]; // Error 59 >tup : Symbol(tup, Decl(arrayLiterals3.ts, 23, 67))
|
D | recursiveMappedTypes.types | 27 type tup = [number, number, number, number]; 28 >tup : tup 30 function foo(arg: Circular<tup>): tup { 31 >foo : (arg: any) => tup
|
/third_party/boost/boost/geometry/util/ |
D | tuples.hpp | 53 get(boost::tuples::cons<HT, TT> & tup) in get() argument 55 return boost::tuples::get<I>(tup); in get() 63 get(boost::tuples::cons<HT, TT> const& tup) in get() argument 65 return boost::tuples::get<I>(tup); in get() 153 get(std::tuple<Ts...> & tup) in get() argument 155 return std::get<I>(tup); in get() 160 get(std::tuple<Ts...> const& tup) in get() argument 162 return std::get<I>(tup); in get() 274 static type apply(Tuple const& tup, T const& t) in apply() 278 geometry::tuples::get<I>(tup), in apply() [all …]
|
/third_party/boost/libs/hana/example/misc/ |
D | indexed_sort.cpp | 49 Tup tup; in main() local 50 char const(&a)[4] = tup[indices[0_c]]; in main() 51 char const(&b)[2] = tup[indices[1_c]]; in main() 52 char const(&c)[1] = tup[indices[2_c]]; in main() 53 char const(&d)[5] = tup[indices[3_c]]; in main() 54 char const(&e)[3] = tup[indices[4_c]]; in main()
|
/third_party/boost/libs/geometry/test/algorithms/set_operations/intersection/ |
D | intersection_tupled.cpp | 62 boost::tuple<MPt, MLs, MPo> const& tup, in check() argument 67 check(wkt1, wkt2, boost::get<0>(tup), out_p_str); in check() 68 check(wkt1, wkt2, boost::get<1>(tup), out_l_str); in check() 69 check(wkt1, wkt2, boost::get<2>(tup), out_a_str); in check() 87 std::tuple<MPt, MLs, MPo> const& tup, in check() argument 92 check(wkt1, wkt2, std::get<0>(tup), out_p_str); in check() 93 check(wkt1, wkt2, std::get<1>(tup), out_l_str); in check() 94 check(wkt1, wkt2, std::get<2>(tup), out_a_str); in check()
|
/third_party/boost/libs/geometry/test/algorithms/set_operations/union/ |
D | union_tupled.cpp | 62 boost::tuple<MPt, MLs, MPo> const& tup, in check() argument 67 check(wkt1, wkt2, boost::get<0>(tup), out_p_str); in check() 68 check(wkt1, wkt2, boost::get<1>(tup), out_l_str); in check() 69 check(wkt1, wkt2, boost::get<2>(tup), out_a_str); in check() 87 std::tuple<MPt, MLs, MPo> const& tup, in check() argument 92 check(wkt1, wkt2, std::get<0>(tup), out_p_str); in check() 93 check(wkt1, wkt2, std::get<1>(tup), out_l_str); in check() 94 check(wkt1, wkt2, std::get<2>(tup), out_a_str); in check()
|
/third_party/boost/libs/geometry/test/algorithms/set_operations/sym_difference/ |
D | sym_difference_tupled.cpp | 62 boost::tuple<MPt, MLs, MPo> const& tup, in check() argument 67 check(wkt1, wkt2, boost::get<0>(tup), out_p_str); in check() 68 check(wkt1, wkt2, boost::get<1>(tup), out_l_str); in check() 69 check(wkt1, wkt2, boost::get<2>(tup), out_a_str); in check() 87 std::tuple<MPt, MLs, MPo> const& tup, in check() argument 92 check(wkt1, wkt2, std::get<0>(tup), out_p_str); in check() 93 check(wkt1, wkt2, std::get<1>(tup), out_l_str); in check() 94 check(wkt1, wkt2, std::get<2>(tup), out_a_str); in check()
|
/third_party/typescript/tests/cases/conformance/expressions/contextualTyping/ |
D | arrayLiteralExpressionContextualTyping.ts | 6 var tup: [number, number, number] = [1, 2, 3, 4]; variable 13 var spr1 = [1, 2, 3, ...tup]; 14 var spr2:[number, number, number] = [1, 2, 3, ...tup]; // Error
|
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | iomgr.pyx.pxi | 54 tups_set = set((tup[4][0], tup[4][1]) for tup in tups) 59 for tup in set(tups_set): 60 hostname = str_to_bytes(tup[0]) 61 grpc_string_to_sockaddr(&addresses.addrs[i], hostname, tup[1])
|
/third_party/python/Lib/test/crashers/ |
D | gc_inspection.py | 27 [tup] = [x for x in gc.get_referrers(marker) if type(x) is tuple] 28 print(tup) 29 print(tup[1])
|
/third_party/boost/boost/fusion/tuple/detail/ |
D | tuple.hpp | 101 get(Tuple& tup) in get() argument 103 return at_c<N>(tup); in get() 109 get(Tuple const& tup) in get() argument 111 return at_c<N>(tup); in get()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/utility/ |
D | utility_test.cc | 106 auto ApplyFromTupleImpl(F f, const Tup& tup, absl::index_sequence<Is...>) in ApplyFromTupleImpl() argument 107 -> decltype(f(std::get<Is>(tup)...)) { in ApplyFromTupleImpl() 108 return f(std::get<Is>(tup)...); in ApplyFromTupleImpl() 115 auto ApplyFromTuple(F f, const Tup& tup) in ApplyFromTuple() argument 116 -> decltype(ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{})) { in ApplyFromTuple() 117 return ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{}); 137 std::vector<std::string> TupStringVecImpl(const Tup& tup, in TupStringVecImpl() argument 139 return {Fmt(std::get<Is>(tup))...}; in TupStringVecImpl() 143 std::vector<std::string> TupStringVec(const std::tuple<Ts...>& tup) { in TupStringVec() argument 144 return TupStringVecImpl(tup, absl::index_sequence_for<Ts...>()); in TupStringVec() [all …]
|
/third_party/abseil-cpp/absl/utility/ |
D | utility_test.cc | 106 auto ApplyFromTupleImpl(F f, const Tup& tup, absl::index_sequence<Is...>) in ApplyFromTupleImpl() argument 107 -> decltype(f(std::get<Is>(tup)...)) { in ApplyFromTupleImpl() 108 return f(std::get<Is>(tup)...); in ApplyFromTupleImpl() 115 auto ApplyFromTuple(F f, const Tup& tup) in ApplyFromTuple() argument 116 -> decltype(ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{})) { in ApplyFromTuple() 117 return ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{}); 137 std::vector<std::string> TupStringVecImpl(const Tup& tup, in TupStringVecImpl() argument 139 return {Fmt(std::get<Is>(tup))...}; in TupStringVecImpl() 143 std::vector<std::string> TupStringVec(const std::tuple<Ts...>& tup) { in TupStringVec() argument 144 return TupStringVecImpl(tup, absl::index_sequence_for<Ts...>()); in TupStringVec() [all …]
|
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/optimizer/ad/ |
D | ad_test.py | 81 tup = scala_add(x, y), x * y 82 z = scala_add(tup[0], tup[1]) 212 tup = scalar_add, scalar_mul 213 f, g = tup 224 tup = f, g 225 ff, gg = tup
|
/third_party/mindspore/mindspore/numpy/ |
D | array_ops.py | 478 def column_stack(tup): argument 507 if isinstance(tup, Tensor): 508 return tup 509 if not isinstance(tup, (list, tuple)): 510 _raise_type_error("Tensor or, list or tuple of tensors are required, but got ", tup) 513 for tensor in tup: 524 def vstack(tup): argument 553 if isinstance(tup, Tensor): 554 return tup 555 if not isinstance(tup, (list, tuple)): [all …]
|
D | utils_const.py | 432 def _tuple_setitem(tup, idx, value): argument 436 tup = list(tup) 437 tup[idx] = value 438 return tuple(tup) 471 def _tuple_slice(tup, start, end): argument 473 return tup[start:end]
|
/third_party/boost/boost/fusion/tuple/ |
D | tuple.hpp | 111 get(Tuple& tup) in get() argument 113 return at_c<N>(tup); in get() 119 get(Tuple const& tup) in get() argument 121 return at_c<N>(tup); in get()
|
/third_party/boost/libs/geometry/test/algorithms/detail/ |
D | tupled_output.cpp | 46 TupleM tup; in test_back_inserters() local 47 bgd::tupled_back_inserters<TupleM>::apply(tup); in test_back_inserters() 62 TupleLsMPt tup; in test_all() local 63 add_points(bgd::tupled_output_get<bg::multi_point_tag>(tup)); in test_all() 64 BOOST_CHECK_EQUAL((boost::size(bgt::get<1>(tup))), 3u); in test_all()
|
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/ |
D | cell_py.cc | 54 [](const py::tuple &tup) { // __setstate__ in __anon2f5d68d40102() argument 55 if (tup.size() != 1) { in __anon2f5d68d40102() 59 Cell data(tup[0].cast<std::string>()); in __anon2f5d68d40102()
|
/third_party/typescript/tests/cases/conformance/expressions/arrayLiterals/ |
D | arrayLiterals3.ts | 26 interface tup { interface 32 var c0: tup = [...temp2]; // Error
|
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pipeline/parse/ |
D | parser_integrate.py | 83 tup = scalar_add, scalar_mul 84 f, g = tup 95 tup = f, g 96 ff, gg = tup
|
/third_party/typescript/tests/cases/conformance/types/mapped/ |
D | recursiveMappedTypes.ts | 20 type tup = [number, number, number, number]; alias 22 function foo(arg: Circular<tup>): tup {
|