Home
last modified time | relevance | path

Searched refs:halfsize (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/test/
Dtest_mmap.py472 def make_mmap_file (self, f, halfsize): argument
474 f.write (b'\0' * halfsize)
476 f.write (b'\0' * (halfsize - 3))
493 halfsize = mmap.ALLOCATIONGRANULARITY
494 m = self.make_mmap_file (f, halfsize)
498 mapsize = halfsize * 2
513 m = mmap.mmap(f.fileno(), mapsize - halfsize, offset=halfsize)
533 self.assertEqual(f.tell(), halfsize + 512)
535 self.assertEqual(m.size(), halfsize + 512)
/third_party/skia/src/core/
DSkGpuBlurUtils.cpp891 int halfsize = LinearKernelWidth(radius); in Compute1DLinearGaussianKernel() local
892 int halfradius = halfsize / 2; in Compute1DLinearGaussianKernel()
923 for (int i = halfradius + 1; i < halfsize; index += 2, i++, low_index--) { in Compute1DLinearGaussianKernel()