Searched refs:c_contiguous (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_picklebuffer.py | 28 self.assertEqual(m.c_contiguous, expected.c_contiguous) 80 self.assertTrue(arr.c_contiguous) 86 self.assertFalse(arr.c_contiguous) 93 self.assertFalse(arr.c_contiguous)
|
D | pickletester.py | 196 c_contiguous = True variable in ZeroCopyBytes 224 c_contiguous = True variable in ZeroCopyBytearray 272 def c_contiguous(self): member in PicklableNDArray 273 return self.array.c_contiguous 2713 if obj.c_contiguous and proto >= 5: 2759 if obj.c_contiguous: 2851 if arr.flags.c_contiguous or arr.flags.f_contiguous:
|
D | test_buffer.py | 980 (match(req, PyBUF_C_CONTIGUOUS) and not ex.c_contiguous) or 986 (not match(req, PyBUF_STRIDES) and not ex.c_contiguous) or 2015 self.assertFalse(ex.c_contiguous) 2372 self.assertTrue(m.c_contiguous) 2487 self.assertTrue(ex.c_contiguous) 2573 self.assertFalse(ex.c_contiguous) 4076 self.assertTrue(m.c_contiguous)
|
/external/python/pybind11/tests/ |
D | test_numpy_vectorize.py | 199 assert m.vectorized_func(z1, z2, z3).flags.c_contiguous 201 assert m.vectorized_func(z1, 1, 1).flags.c_contiguous 204 assert m.vectorized_func(y1[1::4, 1::4], z2, 1).flags.c_contiguous
|
D | test_numpy_array.py | 180 assert m.make_c_array().flags.c_contiguous 183 assert not m.make_f_array().flags.c_contiguous 205 assert a.flags.c_contiguous == b.flags.c_contiguous
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_frombuffer.py | 63 self.assertFalse(array.c_contiguous)
|
/external/python/cpython3/Doc/library/ |
D | stdtypes.rst | 4061 .. attribute:: c_contiguous
|