Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/
Dtest_pickle.py277 self.assertEqual(object.__sizeof__(p), basesize)
301 self.assertEqual(object.__sizeof__(u), basesize)
Dtest_sys.py1066 def __sizeof__(self): member in SizeofTest.test_errors.BadSizeof
1071 def __sizeof__(self): member in SizeofTest.test_errors.InvalidSizeof
1078 def __sizeof__(self): member in SizeofTest.test_errors.FloatSizeof
1084 def __sizeof__(self): member in SizeofTest.test_errors.OverflowSizeof
Dtest_memoryio.py760 self.assertEqual(object.__sizeof__(io.BytesIO()), basesize)
Dtest_decimal.py5441 self.assertGreater(Decimal(0).__sizeof__(), 0)
5443 x = Decimal(10**(19*24)).__sizeof__()
5444 y = Decimal(10**(19*25)).__sizeof__()
5447 x = Decimal(10**(9*24)).__sizeof__()
5448 y = Decimal(10**(9*25)).__sizeof__()
Dtest_deque.py767 self.assertEqual(object.__sizeof__(deque()), basesize)
/external/python/cpython2/Lib/test/
Dtest_sys.py512 def __sizeof__(self): member in SizeofTest.test_errors.BadSizeof
517 def __sizeof__(self): member in SizeofTest.test_errors.InvalidSizeof
524 def __sizeof__(self): member in SizeofTest.test_errors.OverflowSizeof
Dtest_deque.py528 self.assertEqual(object.__sizeof__(deque()), basesize)
Dtest_memoryio.py705 self.assertEqual(object.__sizeof__(io.BytesIO()), basesize)
D_mock_backport.py1712 '__sizeof__': lambda self: object.__sizeof__(self),
/external/tensorflow/tensorflow/python/training/tracking/
Ddata_structures.py389 def __sizeof__(self): member in List
390 return super(List, self).__sizeof__() + sys.getsizeof(self._storage)
/external/python/cpython3/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__.
/external/python/cpython2/Misc/NEWS.d/
D2.7.4rc1.rst1719 Add a __sizeof__ implementation for array objects. Patch by Ludwig Hähne.
1747 Add a __sizeof__ implementation for BytesIO objects. Patch by Serhiy
1757 Add a __sizeof__ implementation for deque objects. Patch by Serhiy
1767 Add a __sizeof__ implementation for buffered I/O objects. Patch by Serhiy
1777 Add a __sizeof__ implementation for parser. Patch by Serhiy Storchaka.
D2.7.10rc1.rst26 Fix the default __sizeof__ implementation for variable-sized objects.
D2.7.9rc1.rst621 Add a __sizeof__ implementation for mmap objects on Windows.
D2.7.12rc1.rst183 __sizeof__ methods of builtin types now use dynamic basic size. This allows
D2.7.3rc1.rst1672 Move helpers for __sizeof__ tests into test_support. Patch by Serhiy
/external/python/cpython3/Lib/collections/
D__init__.py209 def __sizeof__(self): member in OrderedDict
/external/python/cpython3/Doc/faq/
Dgeneral.rst417 '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear',
/external/python/cpython2/Doc/faq/
Dgeneral.rst425 '__setattr__', '__setitem__', '__setslice__', '__sizeof__', '__str__',
/external/python/cpython3/Python/
Dsysmodule.c51 _Py_IDENTIFIER(__sizeof__);
/external/pdfium/third_party/pymock/
Dmock.py1768 '__sizeof__': lambda self: object.__sizeof__(self),
/external/python/mock/mock/
Dmock.py1908 '__sizeof__': lambda self: object.__sizeof__(self),
/external/python/pyasn1/
DCHANGES.rst283 - Missing support for NoValue.__sizeof__ added.
/external/python/cpython3/Lib/unittest/
Dmock.py1934 '__sizeof__': lambda self: object.__sizeof__(self),

12