OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:basesize
(Results
1 - 8
of
8
) sorted by null
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_deque.py
526
basesize
= test_support.calcobjsize('2P4PlP')
528
self.assertEqual(object.__sizeof__(deque()),
basesize
)
530
check(deque(),
basesize
+ blocksize)
531
check(deque('a'),
basesize
+ blocksize)
532
check(deque('a' * (BLOCKLEN // 2)),
basesize
+ blocksize)
533
check(deque('a' * (BLOCKLEN // 2 + 1)),
basesize
+ 2 * blocksize)
534
check(deque('a' * (42 * BLOCKLEN)),
basesize
+ 43 * blocksize)
test_parser.py
616
basesize
= support.calcobjsize('Pii')
633
self.check_sizeof(st,
basesize
+ nodesize +
test_memoryio.py
645
basesize
= support.calcobjsize(b'P2PP2P')
647
self.assertEqual(object.__sizeof__(io.BytesIO()),
basesize
)
648
check(io.BytesIO(),
basesize
)
649
check(io.BytesIO(b'a'),
basesize
+ 1 + 1 )
650
check(io.BytesIO(b'a' * 1000),
basesize
+ 1000 + 1 )
test_array.py
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_deque.py
526
basesize
= test_support.calcobjsize('2P4PlP')
528
self.assertEqual(object.__sizeof__(deque()),
basesize
)
530
check(deque(),
basesize
+ blocksize)
531
check(deque('a'),
basesize
+ blocksize)
532
check(deque('a' * (BLOCKLEN // 2)),
basesize
+ blocksize)
533
check(deque('a' * (BLOCKLEN // 2 + 1)),
basesize
+ 2 * blocksize)
534
check(deque('a' * (42 * BLOCKLEN)),
basesize
+ 43 * blocksize)
test_parser.py
616
basesize
= support.calcobjsize('Pii')
633
self.check_sizeof(st,
basesize
+ nodesize +
test_memoryio.py
645
basesize
= support.calcobjsize(b'P2PP2P')
647
self.assertEqual(object.__sizeof__(io.BytesIO()),
basesize
)
648
check(io.BytesIO(),
basesize
)
649
check(io.BytesIO(b'a'),
basesize
+ 1 + 1 )
650
check(io.BytesIO(b'a' * 1000),
basesize
+ 1000 + 1 )
test_array.py
[
all
...]
Completed in 774 milliseconds