Searched refs:basesize (Results 1 - 6 of 6) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_pickle.py | 301 basesize = support.calcobjsize('7P2n3i2n3i2P') 303 self.assertEqual(object.__sizeof__(p), basesize) 307 check(p, basesize + 312 check(p, basesize + 318 basesize = support.calcobjsize('2P2n2P 2P2n2i5P 2P3n8P2n2i') 327 self.assertEqual(object.__sizeof__(u), basesize) 328 check(u, basesize + 332 stdsize = basesize + len('ASCII') + 1 + len('strict') + 1
|
H A D | test_itertools.py | 2327 basesize = support.calcobjsize('3Pi') 2329 check(product('ab', '12'), basesize + 2 * self.ssize_t) 2330 check(product(*(('abc',) * 10)), basesize + 10 * self.ssize_t) 2333 basesize = support.calcobjsize('3Pni') 2335 check(combinations('abcd', 3), basesize + 3 * self.ssize_t) 2336 check(combinations(range(10), 4), basesize + 4 * self.ssize_t) 2340 basesize = support.calcobjsize('3Pni') 2342 check(cwr('abcd', 3), basesize + 3 * self.ssize_t) 2343 check(cwr(range(10), 4), basesize + 4 * self.ssize_t) 2346 basesize [all...] |
H A D | test_deque.py | 747 basesize = support.calcvobjsize('2P5n%dPP' % MAXFREEBLOCKS) 749 self.assertEqual(object.__sizeof__(deque()), basesize) 751 check(deque(), basesize + blocksize) 752 check(deque('a'), basesize + blocksize) 753 check(deque('a' * (BLOCKLEN - 1)), basesize + blocksize) 754 check(deque('a' * BLOCKLEN), basesize + 2 * blocksize) 755 check(deque('a' * (42 * BLOCKLEN)), basesize + 43 * blocksize)
|
H A D | test_memoryio.py | 758 basesize = support.calcobjsize('P2n2Pn') 760 self.assertEqual(object.__sizeof__(io.BytesIO()), basesize) 761 check(io.BytesIO(), basesize ) 763 check(io.BytesIO(b'a' * n), basesize + sys.getsizeof(b'a' * n))
|
H A D | test_array.py | 1127 basesize = support.calcvobjsize('Pn2Pi') 1129 support.check_sizeof(self, a, basesize + buffer_size) 1134 basesize = support.calcvobjsize('Pn2Pi') 1135 support.check_sizeof(self, a, basesize)
|
/third_party/ffmpeg/libavcodec/ |
H A D | lcldec.c | 494 unsigned int basesize = avctx->width * avctx->height; in decode_init() local 515 c->decomp_size = basesize * 3; in decode_init() 541 c->decomp_size = basesize * 2; in decode_init() 547 c->decomp_size = basesize / 2 * 3; in decode_init()
|
Completed in 11 milliseconds