Searched refs:arr3d (Results 1 – 3 of 3) sorted by relevance
/external/Microsoft-GSL/tests/ |
D | multi_span_tests.cpp | 393 int arr3d[2][3][2] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; variable 396 multi_span<int> s{arr3d}; 397 CHECK((s.length() == 12 && s.data() == &arr3d[0][0][0])); 402 multi_span<int, 0> s{arr3d}; 403 CHECK((s.length() == 0 && s.data() == &arr3d[0][0][0])); 408 multi_span<int, 11> s{arr3d}; 413 multi_span<int, 12> s{arr3d}; 414 CHECK((s.length() == 12 && s.data() == &arr3d[0][0][0])); 420 multi_span<int, 13> s{arr3d}; 425 multi_span<int[3][2]> s{arr3d[0]}; [all …]
|
D | span_tests.cpp | 363 int arr3d[2][3][2] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; variable 367 span<int> s{arr3d}; 368 CHECK((s.size() == 12 && s.data() == &arr3d[0][0][0])); 373 span<int, 0> s{arr3d}; 374 CHECK((s.size() == 0 && s.data() == &arr3d[0][0][0])); 378 span<int, 11> s{arr3d}; 382 span<int, 12> s{arr3d}; 383 CHECK((s.size() == 12 && s.data() == &arr3d[0][0][0])); 388 const span<int[3][2]> s{std::addressof(arr3d[0]), 1}; 389 CHECK((s.size() == 1 && s.data() == std::addressof(arr3d[0]))); [all …]
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | literal_test.cc | 769 Array3D<int> arr3d( in TEST_F() local 782 arr3d, layout_r3_dim0minor_); in TEST_F() 797 arr3d, layout_r3_dim0major_); in TEST_F()
|