/third_party/boost/libs/fusion/test/algorithm/ |
D | transform.cpp | 129 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/ |
D | utils_const.py | 335 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/ |
D | arrayLiteralExpressionContextualTyping.symbols | 14 var tup1: [number|string, number|string, number|string] = [1, 2, 3, "string"]; 15 >tup1 : Symbol(tup1, Decl(arrayLiteralExpressionContextualTyping.ts, 6, 3))
|
D | arrayLiteralExpressionContextualTyping.js | 8 var tup1: [number|string, number|string, number|string] = [1, 2, 3, "string"]; variable 30 var tup1 = [1, 2, 3, "string"]; variable
|
D | arrayLiteralExpressionContextualTyping.types | 27 var tup1: [number|string, number|string, number|string] = [1, 2, 3, "string"]; 28 >tup1 : [string | number, string | number, string | number]
|
D | arrayLiteralExpressionContextualTyping.errors.txt | 21 var tup1: [number|string, number|string, number|string] = [1, 2, 3, "string"];
|
/third_party/typescript/tests/cases/conformance/expressions/contextualTyping/ |
D | arrayLiteralExpressionContextualTyping.ts | 7 var tup1: [number|string, number|string, number|string] = [1, 2, 3, "string"]; variable
|