Home
last modified time | relevance | path

Searched refs:basesize (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/test/
Dtest_pickle.py278 basesize = support.calcobjsize('7P2n3i2n3i2P')
280 self.assertEqual(object.__sizeof__(p), basesize)
284 check(p, basesize +
289 check(p, basesize +
295 basesize = support.calcobjsize('2P2n2P 2P2n2i5P 2P3n8P2n2i')
304 self.assertEqual(object.__sizeof__(u), basesize)
305 check(u, basesize +
309 stdsize = basesize + len('ASCII') + 1 + len('strict') + 1
Dtest_deque.py745 basesize = support.calcvobjsize('2P4nP')
747 self.assertEqual(object.__sizeof__(deque()), basesize)
749 check(deque(), basesize + blocksize)
750 check(deque('a'), basesize + blocksize)
751 check(deque('a' * (BLOCKLEN - 1)), basesize + blocksize)
752 check(deque('a' * BLOCKLEN), basesize + 2 * blocksize)
753 check(deque('a' * (42 * BLOCKLEN)), basesize + 43 * blocksize)
Dtest_itertools.py2251 basesize = support.calcobjsize('3Pi')
2253 check(product('ab', '12'), basesize + 2 * self.ssize_t)
2254 check(product(*(('abc',) * 10)), basesize + 10 * self.ssize_t)
2257 basesize = support.calcobjsize('3Pni')
2259 check(combinations('abcd', 3), basesize + 3 * self.ssize_t)
2260 check(combinations(range(10), 4), basesize + 4 * self.ssize_t)
2264 basesize = support.calcobjsize('3Pni')
2266 check(cwr('abcd', 3), basesize + 3 * self.ssize_t)
2267 check(cwr(range(10), 4), basesize + 4 * self.ssize_t)
2270 basesize = support.calcobjsize('4Pni')
[all …]
Dtest_memoryio.py758 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))
Dtest_array.py1126 basesize = support.calcvobjsize('Pn2Pi')
1128 support.check_sizeof(self, a, basesize + buffer_size)
1133 basesize = support.calcvobjsize('Pn2Pi')
1134 support.check_sizeof(self, a, basesize)
/third_party/ffmpeg/libavcodec/
Dlcldec.c476 unsigned int basesize = avctx->width * avctx->height; in decode_init() local
496 c->decomp_size = basesize * 3; in decode_init()
502 c->decomp_size = basesize * 2; in decode_init()
512 c->decomp_size = basesize * 3; in decode_init()
518 c->decomp_size = basesize / 2 * 3; in decode_init()
524 c->decomp_size = basesize * 2; in decode_init()
530 c->decomp_size = basesize / 2 * 3; in decode_init()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h33796 unsigned char basesize; member