Lines Matching +refs:check +refs:flags
18 for check in m.get_concrete_dtype_checks():
19 print(check)
20 assert check.numpy == check.pybind11, check
21 if check.numpy.num != check.pybind11.num:
24 check, check.numpy.num, check.pybind11.num
52 a.flags.writeable = False
135 arr.flags.writeable = False
180 assert m.make_c_array().flags.c_contiguous
181 assert not m.make_c_array().flags.f_contiguous
182 assert m.make_f_array().flags.f_contiguous
183 assert not m.make_f_array().flags.c_contiguous
205 assert a.flags.c_contiguous == b.flags.c_contiguous
206 assert a.flags.f_contiguous == b.flags.f_contiguous
207 assert a.flags.writeable == b.flags.writeable
208 assert a.flags.aligned == b.flags.aligned
210 assert a.flags.writebackifcopy == b.flags.writebackifcopy
212 assert a.flags.updateifcopy == b.flags.updateifcopy
214 assert not b.flags.owndata
216 if a.flags.writeable and a.ndim == 2:
221 assert a1.flags.owndata and a1.base is None
226 assert a1.flags.owndata and a1.base is None
231 a1.flags.writeable = False