Searched refs:alive (Results 1 - 19 of 19) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_smart_ptr.py33 assert cstats.alive() == 0
53 assert cstats.alive() == 1
55 assert cstats.alive() == 0
74 assert cstats.alive() == 1
76 assert cstats.alive() == 0
86 assert cstats.alive() == 0
96 assert cstats.alive() == 0
113 assert cstats.alive() == 1
115 assert cstats.alive() == 1 # Leak, but that's intentional
122 assert cstats.alive()
[all...]
H A Dtest_copy_move.py30 assert c_mc.alive() == 0
34 assert c_c.alive() == 0
37 assert c_m.alive() + c_mc.alive() + c_c.alive() == 0
65 assert c_m.alive() + c_mc.alive() + c_c.alive() == 0
93 assert c_m.alive() + c_mc.alive()
[all...]
H A Dtest_modules.py32 assert astats.alive() == 2
33 assert bstats.alive() == 1
35 assert astats.alive() == 0
36 assert bstats.alive() == 0
H A Dtest_buffers.py25 assert cstats.alive() == 1
27 assert cstats.alive() == 0
58 assert cstats.alive() == 1
61 assert cstats.alive() == 1
64 assert cstats.alive() == 0
H A Dtest_factory_constructors.py13 cstats[0].alive() # force gc
45 assert [i.alive() for i in cstats] == [3, 3, 3]
49 assert [i.alive() for i in cstats] == [2, 2, 1]
52 assert [i.alive() for i in cstats] == [0, 0, 0]
94 cstats[0].alive() # force gc
114 assert [i.alive() for i in cstats] == [5, 3, 2]
117 assert [i.alive() for i in cstats] == [4, 2, 2]
121 assert [i.alive() for i in cstats] == [1, 0, 1]
125 assert [i.alive() for i in cstats] == [0, 0, 0]
139 cstats[0].alive() # forc
[all...]
H A Dtest_opaque_types.py27 living_before = ConstructorStats.get(UserType).alive()
30 assert ConstructorStats.get(UserType).alive() == living_before
H A Dtest_sequences_and_iterators.py85 assert cstats.alive() == 4
87 assert cstats.alive() == 3
89 assert cstats.alive() == 2
91 assert cstats.alive() == 1
93 assert cstats.alive() == 0
H A Dtest_methods_and_attributes.py56 assert cstats.alive() == 2
58 assert cstats.alive() == 0
283 assert cstats.alive() == 1
285 assert cstats.alive() == 0
296 assert cstats.alive() == 1
298 assert cstats.alive() == 0
309 assert cstats.alive() == 1
311 assert cstats.alive() == 0
319 assert cstats.alive() == 2
321 assert cstats.alive()
[all...]
H A Dtest_operator_overloading.py43 assert cstats.alive() == 2
45 assert cstats.alive() == 1
47 assert cstats.alive() == 0
103 del a # Shouldn't delete while abase is still alive
H A Dtest_virtual_functions.py68 assert cstats.alive() == 3
70 assert cstats.alive() == 0
197 assert nc_stats.alive() == 1
198 assert mv_stats.alive() == 1
200 assert nc_stats.alive() == 0
201 assert mv_stats.alive() == 0
H A Dpybind11_tests.cpp47 .def("alive", &ConstructorStats::alive)
H A Dtest_stl.py225 assert cstats.alive() == 0
229 assert cstats.alive() == 0
H A Dtest_class.py21 assert cstats.alive() == 1
23 assert cstats.alive() == 0
H A Dtest_eigen.py339 start_with = cstats.alive()
341 assert cstats.alive() == start_with + 1
343 assert cstats.alive() == start_with + 1
345 # Here's the keep alive in action:
346 assert cstats.alive() == start_with + 1
348 # Keep alive should have expired:
349 assert cstats.alive() == start_with
355 assert cstats.alive() == 1
360 assert cstats.alive() == 0
579 The `Ref` caster sometimes creates a copy which needs to stay alive
[all...]
H A Dtest_callbacks.py77 assert cstats.alive() == 0
H A Dconstructor_stats.h46 print(cstats.alive())
49 Note that `.alive()` should usually be the first thing you call as it invokes Python's garbage
127 int alive() { function in class:ConstructorStats
/gem5/src/cpu/o3/
H A Dlsq_unit.hh402 using LSQSenderState::alive;
413 //if (alive())
421 using LSQSenderState::alive;
431 //if (alive())
H A Dlsq.hh115 inline bool alive() { return !deleted; } function in class:LSQ::LSQSenderState
H A Dlsq_unit_impl.hh101 /* Check that the request is still alive before any further action. */
102 if (senderState->alive()) {

Completed in 34 milliseconds