Home
last modified time | relevance | path

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

12

/external/python/jinja/src/jinja2/
Ddebug.py241 ("PyObject_HEAD", ctypes.c_byte * object().__sizeof__()),
/external/python/cpython3/Lib/test/
Dtest_pickle.py277 self.assertEqual(object.__sizeof__(p), basesize)
301 self.assertEqual(object.__sizeof__(u), basesize)
Dtest_sys.py1076 def __sizeof__(self): member in SizeofTest.test_errors.BadSizeof
1081 def __sizeof__(self): member in SizeofTest.test_errors.InvalidSizeof
1088 def __sizeof__(self): member in SizeofTest.test_errors.FloatSizeof
1094 def __sizeof__(self): member in SizeofTest.test_errors.OverflowSizeof
Dtest_memoryio.py760 self.assertEqual(object.__sizeof__(io.BytesIO()), basesize)
Dtest_decimal.py5443 self.assertGreater(Decimal(0).__sizeof__(), 0)
5445 x = Decimal(10**(19*24)).__sizeof__()
5446 y = Decimal(10**(19*25)).__sizeof__()
5449 x = Decimal(10**(9*24)).__sizeof__()
5450 y = Decimal(10**(9*25)).__sizeof__()
Dtest_deque.py779 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.py423 def __sizeof__(self): member in List
424 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
/external/python/cpython3/Lib/collections/
D__init__.py223 def __sizeof__(self): member in OrderedDict
/external/python/cpython3/Doc/faq/
Dgeneral.rst418 '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear',
/external/python/cpython2/Doc/faq/
Dgeneral.rst425 '__setattr__', '__setitem__', '__setslice__', '__sizeof__', '__str__',
/external/pdfium/third_party/pymock/
Dmock.py1768 '__sizeof__': lambda self: object.__sizeof__(self),
/external/python/cpython3/Python/
Dsysmodule.c53 _Py_IDENTIFIER(__sizeof__);
/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.py1947 '__sizeof__': lambda self: object.__sizeof__(self),

12