Home
last modified time | relevance | path

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

/third_party/node/deps/v8/third_party/jinja2/
Ddebug.py248 ("PyObject_HEAD", ctypes.c_byte * object().__sizeof__()),
/third_party/skia/third_party/externals/jinja2/
Ddebug.py248 ("PyObject_HEAD", ctypes.c_byte * object().__sizeof__()),
/third_party/python/Lib/test/
Dtest_pickle.py280 self.assertEqual(object.__sizeof__(p), basesize)
304 self.assertEqual(object.__sizeof__(u), basesize)
Dtest_sys.py1160 def __sizeof__(self): member in SizeofTest.test_errors.BadSizeof
1165 def __sizeof__(self): member in SizeofTest.test_errors.InvalidSizeof
1172 def __sizeof__(self): member in SizeofTest.test_errors.FloatSizeof
1178 def __sizeof__(self): member in SizeofTest.test_errors.OverflowSizeof
Dtest_memoryio.py760 self.assertEqual(object.__sizeof__(io.BytesIO()), basesize)
Dtest_deque.py747 self.assertEqual(object.__sizeof__(deque()), basesize)
Dtest_decimal.py5491 self.assertGreater(Decimal(0).__sizeof__(), 0)
5493 x = Decimal(10**(19*24)).__sizeof__()
5494 y = Decimal(10**(19*25)).__sizeof__()
5497 x = Decimal(10**(9*24)).__sizeof__()
5498 y = Decimal(10**(9*25)).__sizeof__()
/third_party/python/Misc/NEWS.d/
D3.5.0a3.rst56 Fix the default __sizeof__ implementation for variable-sized objects.
D3.5.2rc1.rst283 __sizeof__ methods of builtin types now use dynamic basic size. This allows
1397 Fixed and simplified OrderedDict.__sizeof__.
D3.6.0a1.rst488 __sizeof__ methods of builtin types now use dynamic basic size. This allows
2191 Fixed and simplified OrderedDict.__sizeof__.
D3.5.0a1.rst1187 Added a __sizeof__ implementation for pickle classes.
2595 Add a __sizeof__ implementation for mmap objects on Windows.
/third_party/python/Lib/collections/
D__init__.py206 def __sizeof__(self): member in OrderedDict
/third_party/python/Doc/faq/
Dgeneral.rst418 '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear',
/third_party/python/Python/
Dsysmodule.c56 _Py_IDENTIFIER(__sizeof__);
/third_party/python/Lib/unittest/
Dmock.py1995 '__sizeof__': lambda self: object.__sizeof__(self),
/third_party/python/Doc/library/
Dunittest.mock.rst2012 * ``__hash__``, ``__sizeof__``, ``__repr__`` and ``__str__``
2109 * ``__sizeof__``: default sizeof for the mock
Dsys.rst721 :func:`getsizeof` calls the object's ``__sizeof__`` method and adds an
/third_party/python/Tools/c-analyzer/
DTODO589 Python/sysmodule.c:PyId___sizeof__ _Py_IDENTIFIER(__sizeof__)
/third_party/python/Misc/
DHISTORY240 - Issue #23629: Fix the default __sizeof__ implementation for variable-sized
1079 - Issue #15513: Added a __sizeof__ implementation for pickle classes.
1491 - Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.
2996 - Issue #15475: Add __sizeof__ implementations for itertools objects.
6785 - Issue #15456: Fix code `__sizeof__()` after #12399 change. Patch by Serhiy
6838 - Issue #15424: Add a `__sizeof__()` implementation for array objects. Patch by
7064 - Issue #15467: Move helpers for `__sizeof__()` tests into test_support. Patch
7176 - Issue #15512: Add a __sizeof__ implementation for parser.
7179 - Issue #15469: Add a __sizeof__ implementation for deque objects.
7182 - Issue #15489: Add a __sizeof__ implementation for BytesIO objects.
[all …]
/third_party/python/Doc/whatsnew/
D2.6.rst2433 but can define a :meth:`__sizeof__` method to return the