Searched refs:writeable (Results 1 - 9 of 9) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_eigen.py | 82 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 D | test_numpy_array.py | 41 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 D | test_numpy_array.cpp | 165 sm.def("writeable", [](const arr& a) { return a.writeable(); });
|
/gem5/src/mem/ |
H A D | backdoor.hh | 99 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 D | armv8_cpu.cc | 381 const bool writeable( 391 if (implemented && writeable)
|
/gem5/src/systemc/tlm_bridge/ |
H A D | gem5_to_tlm.cc | 206 backdoor->writeable(dmi_data.is_write_allowed());
|
H A D | tlm_to_gem5.cc | 359 if (backdoor->writeable())
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | eigen.h | 200 // 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 D | numpy.h | 671 /// 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