Searched refs:halfsize (Results 1 – 2 of 2) sorted by relevance
472 def make_mmap_file (self, f, halfsize): argument474 f.write (b'\0' * halfsize)476 f.write (b'\0' * (halfsize - 3))493 halfsize = mmap.ALLOCATIONGRANULARITY494 m = self.make_mmap_file (f, halfsize)498 mapsize = halfsize * 2513 m = mmap.mmap(f.fileno(), mapsize - halfsize, offset=halfsize)533 self.assertEqual(f.tell(), halfsize + 512)535 self.assertEqual(m.size(), halfsize + 512)
891 int halfsize = LinearKernelWidth(radius); in Compute1DLinearGaussianKernel() local892 int halfradius = halfsize / 2; in Compute1DLinearGaussianKernel()923 for (int i = halfradius + 1; i < halfsize; index += 2, i++, low_index--) { in Compute1DLinearGaussianKernel()