Searched refs:writeable (Results 1 - 9 of 9) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_eigen.py82 assert ('(arg0: numpy.ndarray[float32[5, 6], flags.writeable, flags.c_contiguous]) -> None'
86 assert ('(arg0: numpy.ndarray[float32[5, 6], flags.writeable, flags.f_contiguous]) -> None'
90 assert ('(arg0: numpy.ndarray[float32[5, 6], flags.writeable]) -> None'
92 zr.flags.writeable = False
124 z.flags.writeable = False
127 assert not m.fixed_r_const().flags.writeable
182 1. (arg0: numpy.ndarray[float32[1, 3], flags.writeable]) -> None
190 1. (arg0: numpy.ndarray[float32[3, 1], flags.writeable]) -> None
230 assert not a_get1.flags.owndata and a_get1.flags.writeable
233 assert not a_get2.flags.owndata and a_get2.flags.writeable
[all...]
H A Dtest_numpy_array.py41 assert m.writeable(a)
48 a.flags.writeable = False
62 assert not m.writeable(a)
114 arr.flags.writeable = False
118 assert str(excinfo.value) == 'array is not writeable'
173 assert a.flags.writeable == b.flags.writeable
182 if a.flags.writeable and a.ndim == 2:
197 a1.flags.writeable = False
H A Dtest_numpy_array.cpp165 sm.def("writeable", [](const arr& a) { return a.writeable(); });
/gem5/src/mem/
H A Dbackdoor.hh99 bool writeable() const { return _flags & Writeable; } function in class:MemBackdoor
101 writeable(bool w) function in class:MemBackdoor
/gem5/src/arch/arm/kvm/
H A Darmv8_cpu.cc381 const bool writeable(
391 if (implemented && writeable)
/gem5/src/systemc/tlm_bridge/
H A Dgem5_to_tlm.cc206 backdoor->writeable(dmi_data.is_write_allowed());
H A Dtlm_to_gem5.cc359 if (backdoor->writeable())
/gem5/ext/pybind11/include/pybind11/
H A Deigen.h200 // satisfied: writeable=True (for a mutable reference), and, depending on the map's stride
205 _<show_writeable>(", flags.writeable", "") +
212 // otherwise it'll make a copy. writeable lets you turn off the writeable flag for the array.
213 template <typename props> handle eigen_array_cast(typename props::Type const &src, handle base = handle(), bool writeable = true) {
222 if (!writeable)
231 // non-writeable if the given type is const.
437 if (aref && (!need_writeable || aref.writeable())) {
H A Dnumpy.h671 /// If set, the array is writeable (otherwise the buffer is read-only)
672 bool writeable() const {
689 /// May throw if the array is not writeable.
713 * dimensionality checking. Will throw if the array is missing the `writeable` flag. Use with
782 if (!writeable())
783 throw std::domain_error("array is not writeable");
901 * dimensionality checking. Will throw if the array is missing the `writeable` flag. Use with

Completed in 24 milliseconds