/third_party/boost/libs/fusion/test/algorithm/ |
D | transform.cpp | 130 vector<int, int, int> tup2(4, 5, 6); in main() local 131 std::cout << boost::fusion::transform(tup1, tup2, add()) << std::endl; in main() 132 BOOST_TEST((boost::fusion::transform(tup1, tup2, add()) == make_vector(5, 7, 9))); in main() 144 vector<int, int, int> tup2(4, 5, 6); in main() local 145 …BOOST_TEST(at_c<0>(boost::fusion::transform(tup1, tup2, binary_lvalue_transform())) == &at_c<0>(tu… in main() 146 …BOOST_TEST(*begin(boost::fusion::transform(tup1, tup2, binary_lvalue_transform())) == &at_c<0>(tup… in main()
|
/third_party/mindspore/mindspore/numpy/ |
D | utils_const.py | 335 def _broadcast_tuples(tup1, tup2): argument 341 tup2 = (tup2,) if isinstance(tup2, int) else tup2 342 if not isinstance(tup1, (tuple, list)) or not isinstance(tup2, (tuple, list)): 344 if len(tup1) == len(tup2): 345 return tup1, tup2 347 tup1 *= len(tup2) 348 elif len(tup2) == 1: 349 tup2 *= len(tup1) 352 return tup1, tup2
|
/third_party/typescript/tests/baselines/reference/ |
D | arrayLiteralExpressionContextualTyping.symbols | 17 var tup2: [number, number, number] = [1, 2, 3, "string"]; // Error 18 >tup2 : Symbol(tup2, Decl(arrayLiteralExpressionContextualTyping.ts, 7, 3))
|
D | arrayLiteralExpressionContextualTyping.js | 9 var tup2: [number, number, number] = [1, 2, 3, "string"]; // Error variable 31 var tup2 = [1, 2, 3, "string"]; // Error variable
|
D | arrayLiteralExpressionContextualTyping.types | 35 var tup2: [number, number, number] = [1, 2, 3, "string"]; // Error 36 >tup2 : [number, number, number]
|
D | arrayLiteralExpressionContextualTyping.errors.txt | 25 var tup2: [number, number, number] = [1, 2, 3, "string"]; // Error
|
D | variadicTuples1.js | 21 function tup2<T extends unknown[], U extends unknown[]>(t: [...T], u: [...U]) { 25 const t2 = tup2(['hello'], [10, true]); 414 function tup2(t, u) { function 417 var t2 = tup2(['hello'], [10, true]); 636 declare function tup2<T extends unknown[], U extends unknown[]>(t: [...T], u: [...U]): readonly [1,…
|
D | variadicTuples1.types | 41 function tup2<T extends unknown[], U extends unknown[]>(t: [...T], u: [...U]) { 42 >tup2 : <T extends unknown[], U extends unknown[]>(t: [...T], u: [...U]) => readonly [1, ...T, 2, .… 58 const t2 = tup2(['hello'], [10, true]); 60 >tup2(['hello'], [10, true]) : readonly [1, string, 2, number, boolean, 3] 61 >tup2 : <T extends unknown[], U extends unknown[]>(t: [...T], u: [...U]) => readonly [1, ...T, 2, .…
|
D | variadicTuples1.symbols | 58 function tup2<T extends unknown[], U extends unknown[]>(t: [...T], u: [...U]) { 59 >tup2 : Symbol(tup2, Decl(variadicTuples1.ts, 15, 22)) 72 const t2 = tup2(['hello'], [10, true]); 74 >tup2 : Symbol(tup2, Decl(variadicTuples1.ts, 15, 22))
|
D | variadicTuples1.errors.txt | 69 function tup2<T extends unknown[], U extends unknown[]>(t: [...T], u: [...U]) { 73 const t2 = tup2(['hello'], [10, true]);
|
/third_party/typescript/tests/cases/conformance/expressions/contextualTyping/ |
D | arrayLiteralExpressionContextualTyping.ts | 8 var tup2: [number, number, number] = [1, 2, 3, "string"]; // Error variable
|
/third_party/typescript/tests/cases/conformance/types/tuple/ |
D | variadicTuples1.ts | 23 function tup2<T extends unknown[], U extends unknown[]>(t: [...T], u: [...U]) { function 27 const t2 = tup2(['hello'], [10, true]);
|