Home
last modified time | relevance | path

Searched refs:tup1 (Results 1 – 7 of 7) sorted by relevance

/third_party/boost/libs/fusion/test/algorithm/
Dtransform.cpp129 vector<int, int, int> tup1(1, 2, 3); 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()
137 vector<int, int, int> tup1(1, 2, 3); in main() local
138 … BOOST_TEST(at_c<0>(boost::fusion::transform(tup1, unary_lvalue_transform())) == &at_c<0>(tup1)); in main()
139 … BOOST_TEST(*begin(boost::fusion::transform(tup1, unary_lvalue_transform())) == &at_c<0>(tup1)); in main()
143 vector<int, int, int> tup1(1, 2, 3); 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()
150 vector<int, int, int> tup1(1, 2, 3); in main() local
[all …]
/third_party/mindspore/mindspore/numpy/
Dutils_const.py335 def _broadcast_tuples(tup1, tup2): argument
340 tup1 = (tup1,) if isinstance(tup1, int) else tup1
342 if not isinstance(tup1, (tuple, list)) or not isinstance(tup2, (tuple, list)):
344 if len(tup1) == len(tup2):
345 return tup1, tup2
346 if len(tup1) == 1:
347 tup1 *= len(tup2)
349 tup2 *= len(tup1)
352 return tup1, tup2
/third_party/typescript/tests/baselines/reference/
DarrayLiteralExpressionContextualTyping.symbols14 var tup1: [number|string, number|string, number|string] = [1, 2, 3, "string"];
15 >tup1 : Symbol(tup1, Decl(arrayLiteralExpressionContextualTyping.ts, 6, 3))
DarrayLiteralExpressionContextualTyping.js8 var tup1: [number|string, number|string, number|string] = [1, 2, 3, "string"]; variable
30 var tup1 = [1, 2, 3, "string"]; variable
DarrayLiteralExpressionContextualTyping.types27 var tup1: [number|string, number|string, number|string] = [1, 2, 3, "string"];
28 >tup1 : [string | number, string | number, string | number]
DarrayLiteralExpressionContextualTyping.errors.txt21 var tup1: [number|string, number|string, number|string] = [1, 2, 3, "string"];
/third_party/typescript/tests/cases/conformance/expressions/contextualTyping/
DarrayLiteralExpressionContextualTyping.ts7 var tup1: [number|string, number|string, number|string] = [1, 2, 3, "string"]; variable