Searched refs:copy (Results 26 - 50 of 77) sorted by relevance

1234

/gem5/ext/pybind11/tests/
H A Dtest_smart_ptr.cpp243 .def_property_readonly("copy", [](const SharedPtrRef &s) { return s.value; },
244 py::return_value_policy::copy)
247 py::return_value_policy::copy)
269 .def_property_readonly("copy", [](const SharedFromThisRef &s) { return s.value; },
270 py::return_value_policy::copy)
273 py::return_value_policy::copy)
H A Dtest_eigen.cpp56 // Returns element 2,1 from a matrix (used to test copy/nocopy)
203 .def("copy_get", &ReturnTester::get) // Default rvp: copy
209 .def("copy_ref", &ReturnTester::ref, rvp::copy)
210 .def("copy_ref_const", &ReturnTester::refConst, rvp::copy)
214 .def("copy_block", &ReturnTester::block, rvp::copy)
279 // Test that we can prevent copying into an argument that would normally copy: First a version
282 // Now this alternative that calls the tells pybind to fail rather than copy:
285 // Also test a row-major-only no-copy const ref:
292 // requiring a copy!) because the stride value can be safely ignored on a size-1 dimension.
298 // eigen Vector or RowVector, the argument would fail to load because the numpy copy woul
[all...]
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbfriends.inc8 License. You may obtain a copy of the License at
H A Dsc_signed_bitref.inc8 License. You may obtain a copy of the License at
H A Dsc_unsigned_bitref.inc8 License. You may obtain a copy of the License at
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_report.cpp8 License. You may obtain a copy of the License at
124 sc_report copy(other);
125 swap( copy );
H A Dsc_hash.cpp8 License. You may obtain a copy of the License at
243 sc_phash_base::copy( const sc_phash_base* b ) function in class:sc_core::sc_phash_base
252 sc_phash_base::copy(const sc_phash_base& b, void* (*kdup)(const void*), void (*kfree)(void*)) function in class:sc_core::sc_phash_base
/gem5/src/systemc/dt/int/
H A Dsc_nbfriends.inc8 License. You may obtain a copy of the License at
H A Dsc_signed_bitref.inc8 License. You may obtain a copy of the License at
H A Dsc_unsigned_bitref.inc8 License. You may obtain a copy of the License at
H A Dsc_nbcommon.inc8 License. You may obtain a copy of the License at
71 // Create a copy of v with sgn s. v is of the same type.
83 // Create a copy of v where v is of the different type.
100 // Create a copy of v where v is an sign-less instance.
2186 // it on buf. Thus, we have to do the complementation on a copy of
2242 // Create a copy of v with sgn s.
2253 // Create a copy of v where v is of the different type.
/gem5/src/python/m5/util/
H A Dsorteddict.py106 def copy(self): member in class:SortedDict
211 print(d.copy())
/gem5/util/batch/
H A Dsend.py34 from shutil import copy
72 print 'copy %s %s' % (dest, src)
73 copy(src, dest)
/gem5/util/pbs/
H A Dsend.py35 from shutil import copy
73 print 'copy %s %s' % (dest, src)
74 copy(src, dest)
/gem5/src/base/stats/
H A Dhdf5.cc240 std::copy(dims, dims + rank, max_dims.begin());
245 std::copy(dims, dims + rank, chunk_dims.begin());
/gem5/ext/pybind11/include/pybind11/
H A Deigen.h21 // Eigen generates a bunch of implicit-copy-constructor-is-deprecated warnings with -Wdeprecated
40 // move constructors that break things. We could detect this an explicitly copy, but an extra copy
212 // otherwise it'll make a copy. writeable lets you turn off the writeable flag for the array.
234 // none here is to get past array's should-we-copy detection, which currently always
261 // Coerce into an array, but don't do type conversion yet; the copy below handles it.
302 case return_value_policy::copy:
324 // lvalue reference return; default (automatic) becomes copy
327 policy = return_value_policy::copy;
330 // const lvalue reference return; default (automatic) becomes copy
[all...]
H A Dpytypes.h622 It operator++(int) { auto copy = *this; Policy::increment(); return copy; } local
624 It operator--(int) { auto copy = *this; Policy::decrement(); return copy; } local
628 friend It operator+(const It &a, difference_type n) { auto copy = a; return copy += n; } local
630 friend It operator-(const It &a, difference_type n) { auto copy = a; return copy -= n; } local
/gem5/src/systemc/tests/tlm/endian_conv/
H A Dtestall.py9 License. You may obtain a copy of the License at
154 def copy(self): member in class:memory_state_cl
426 memory_state = initial_memory.copy()
434 golden_memory_state = memory_state.copy()
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-more-actions.h54 // The c'tor makes a copy of function_impl (either a function
93 // An internal replacement for std::copy which mimics its behavior. This is
94 // necessary because Visual Studio deprecates ::std::copy, issuing warning 4996.
205 // Visual Studio deprecates ::std::copy, so we use our own copy in that case.
209 ::std::copy(first, last, ::testing::get<k>(args));
/gem5/ext/googletest/googletest/test/
H A Dgtest_output_test.py215 environ = os.environ.copy()
234 environ = dict(environ) # Ensures we are modifying a copy.
H A Dgtest_filter_unittest.py169 environ = os.environ.copy()
210 original_env = environ.copy()
/gem5/util/
H A Dgen_arm_fs_files.py45 env = os.environ.copy()
163 run_cmd("copy arm64 vmlinux",
176 run_cmd("copy arm vmlinux",
200 run_cmd("copy vmlinux",
203 run_cmd("copy DTB",
227 run_cmd("copy vmlinux",
234 run_cmd("copy DTBs",
244 run_cmd("copy DTBs",
253 run_cmd("copy arm64 bootloader",
262 run_cmd("copy ar
[all...]
H A Do3-pipeview.py45 import copy
161 l_copy = copy.deepcopy(inst)
/gem5/src/gpu-compute/
H A Dbrig_object.cc230 std::copy(str.begin(), str.end() , temp);
234 std::copy(str.begin(), str.end() - 1 , temp);
306 // copy the old data and add the new data
/gem5/ext/testlib/
H A Dconfig.py70 import copy
398 def copy(self): member in class:Argument
400 return copy.deepcopy(self)

Completed in 55 milliseconds

1234