Home
last modified time | relevance | path

Searched refs:tup2 (Results 1 – 12 of 12) sorted by relevance

/third_party/boost/libs/fusion/test/algorithm/
Dtransform.cpp130 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/
Dutils_const.py335 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/
DarrayLiteralExpressionContextualTyping.symbols17 var tup2: [number, number, number] = [1, 2, 3, "string"]; // Error
18 >tup2 : Symbol(tup2, Decl(arrayLiteralExpressionContextualTyping.ts, 7, 3))
DarrayLiteralExpressionContextualTyping.js9 var tup2: [number, number, number] = [1, 2, 3, "string"]; // Error variable
31 var tup2 = [1, 2, 3, "string"]; // Error variable
DarrayLiteralExpressionContextualTyping.types35 var tup2: [number, number, number] = [1, 2, 3, "string"]; // Error
36 >tup2 : [number, number, number]
DarrayLiteralExpressionContextualTyping.errors.txt25 var tup2: [number, number, number] = [1, 2, 3, "string"]; // Error
DvariadicTuples1.js21 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,…
DvariadicTuples1.types41 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, .…
DvariadicTuples1.symbols58 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))
DvariadicTuples1.errors.txt69 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/
DarrayLiteralExpressionContextualTyping.ts8 var tup2: [number, number, number] = [1, 2, 3, "string"]; // Error variable
/third_party/typescript/tests/cases/conformance/types/tuple/
DvariadicTuples1.ts23 function tup2<T extends unknown[], U extends unknown[]>(t: [...T], u: [...U]) { function
27 const t2 = tup2(['hello'], [10, true]);