Home
last modified time | relevance | path

Searched refs:is_tracked (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_gc.py490 self.assertFalse(gc.is_tracked(None))
491 self.assertFalse(gc.is_tracked(1))
492 self.assertFalse(gc.is_tracked(1.0))
493 self.assertFalse(gc.is_tracked(1.0 + 5.0j))
494 self.assertFalse(gc.is_tracked(True))
495 self.assertFalse(gc.is_tracked(False))
496 self.assertFalse(gc.is_tracked("a"))
497 self.assertFalse(gc.is_tracked(u"a"))
498 self.assertFalse(gc.is_tracked(bytearray("a")))
499 self.assertFalse(gc.is_tracked(type))
[all …]
Dtest_tuple.py91 self.assertFalse(gc.is_tracked(t), t)
94 self.assertTrue(gc.is_tracked(t), t)
97 self.assertTrue(gc.is_tracked(t), t)
Dtest_dict.py593 self.assertFalse(gc.is_tracked(t), t)
596 self.assertTrue(gc.is_tracked(t), t)
599 self.assertTrue(gc.is_tracked(t), t)
Dtest_sys.py788 if gc.is_tracked(obj) and not gc.is_tracked(base):
/external/python/cpython3/Lib/test/
Dtest_gc.py547 self.assertFalse(gc.is_tracked(None))
548 self.assertFalse(gc.is_tracked(1))
549 self.assertFalse(gc.is_tracked(1.0))
550 self.assertFalse(gc.is_tracked(1.0 + 5.0j))
551 self.assertFalse(gc.is_tracked(True))
552 self.assertFalse(gc.is_tracked(False))
553 self.assertFalse(gc.is_tracked(b"a"))
554 self.assertFalse(gc.is_tracked("a"))
555 self.assertFalse(gc.is_tracked(bytearray(b"a")))
556 self.assertFalse(gc.is_tracked(type))
[all …]
Dtest_tuple.py270 self.assertFalse(gc.is_tracked(t), t)
273 self.assertTrue(gc.is_tracked(t), t)
276 self.assertTrue(gc.is_tracked(t), t)
Dtest_dict.py362 self.assertEqual(gc.is_tracked(d), gc.is_tracked(d2))
886 self.assertFalse(gc.is_tracked(t), t)
889 self.assertTrue(gc.is_tracked(t), t)
892 self.assertTrue(gc.is_tracked(t), t)
1465 self.assertTrue(gc.is_tracked(next(it)))
1472 self.assertTrue(gc.is_tracked(next(it)))
Dtest_finalization.py202 self.assertFalse(gc.is_tracked(s))
216 self.assertFalse(gc.is_tracked(s))
Dtest_enumerate.py148 self.assertTrue(gc.is_tracked(next(it)))
Dtest_itertools.py1590 self.assertTrue(gc.is_tracked(next(it)))
1598 self.assertTrue(gc.is_tracked(next(it)))
1606 self.assertTrue(gc.is_tracked(next(it)))
1614 self.assertTrue(gc.is_tracked(next(it)))
1621 self.assertTrue(gc.is_tracked(next(it)))
Dtest_sys.py1456 if gc.is_tracked(obj) and not gc.is_tracked(base):
Dtest_ordered_dict.py713 self.assertTrue(gc.is_tracked(next(it)))
Dtest_builtin.py1730 self.assertTrue(gc.is_tracked(next(it)))
/external/python/cpython2/Doc/library/
Dgc.rst143 .. function:: is_tracked(obj)
152 >>> gc.is_tracked(0)
154 >>> gc.is_tracked("a")
156 >>> gc.is_tracked([])
158 >>> gc.is_tracked({})
160 >>> gc.is_tracked({"a": 1})
162 >>> gc.is_tracked({"a": []})
/external/python/cpython3/Doc/library/
Dgc.rst161 .. function:: is_tracked(obj)
170 >>> gc.is_tracked(0)
172 >>> gc.is_tracked("a")
174 >>> gc.is_tracked([])
176 >>> gc.is_tracked({})
178 >>> gc.is_tracked({"a": 1})
180 >>> gc.is_tracked({"a": []})
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/
Dside_effect_analysis.cc684 bool is_tracked = read_only ? in IsUnknownAccessIndirectlyTrackedByResource() local
688 if (is_tracked) { in IsUnknownAccessIndirectlyTrackedByResource()
692 return is_tracked; in IsUnknownAccessIndirectlyTrackedByResource()
/external/python/cpython3/Doc/c-api/
Dgcsupport.rst97 This is analogous to the Python function :func:`gc.is_tracked`.
/external/python/cpython3/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py1791 self.assertTrue(gc.is_tracked(py_zoneinfo.ZoneInfo))
1792 self.assertFalse(gc.is_tracked(c_zoneinfo.ZoneInfo))
/external/python/cpython3/Doc/whatsnew/
D2.7.rst1283 * New function: the :mod:`gc` module's :func:`~gc.is_tracked` returns
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1268 * New function: the :mod:`gc` module's :func:`~gc.is_tracked` returns