Searched refs:is_tracked (Results 1 – 20 of 20) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_gc.py | 490 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 …]
|
D | test_tuple.py | 91 self.assertFalse(gc.is_tracked(t), t) 94 self.assertTrue(gc.is_tracked(t), t) 97 self.assertTrue(gc.is_tracked(t), t)
|
D | test_dict.py | 593 self.assertFalse(gc.is_tracked(t), t) 596 self.assertTrue(gc.is_tracked(t), t) 599 self.assertTrue(gc.is_tracked(t), t)
|
D | test_sys.py | 788 if gc.is_tracked(obj) and not gc.is_tracked(base):
|
/external/python/cpython3/Lib/test/ |
D | test_gc.py | 547 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 …]
|
D | test_tuple.py | 270 self.assertFalse(gc.is_tracked(t), t) 273 self.assertTrue(gc.is_tracked(t), t) 276 self.assertTrue(gc.is_tracked(t), t)
|
D | test_dict.py | 362 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)))
|
D | test_finalization.py | 202 self.assertFalse(gc.is_tracked(s)) 216 self.assertFalse(gc.is_tracked(s))
|
D | test_enumerate.py | 148 self.assertTrue(gc.is_tracked(next(it)))
|
D | test_itertools.py | 1590 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)))
|
D | test_sys.py | 1456 if gc.is_tracked(obj) and not gc.is_tracked(base):
|
D | test_ordered_dict.py | 713 self.assertTrue(gc.is_tracked(next(it)))
|
D | test_builtin.py | 1730 self.assertTrue(gc.is_tracked(next(it)))
|
/external/python/cpython2/Doc/library/ |
D | gc.rst | 143 .. 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/ |
D | gc.rst | 161 .. 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/ |
D | side_effect_analysis.cc | 684 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/ |
D | gcsupport.rst | 97 This is analogous to the Python function :func:`gc.is_tracked`.
|
/external/python/cpython3/Lib/test/test_zoneinfo/ |
D | test_zoneinfo.py | 1791 self.assertTrue(gc.is_tracked(py_zoneinfo.ZoneInfo)) 1792 self.assertFalse(gc.is_tracked(c_zoneinfo.ZoneInfo))
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.7.rst | 1283 * New function: the :mod:`gc` module's :func:`~gc.is_tracked` returns
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.7.rst | 1268 * New function: the :mod:`gc` module's :func:`~gc.is_tracked` returns
|