Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_mmap.py458 def make_mmap_file (self, f, halfsize): argument
460 f.write ('\0' * halfsize)
462 f.write ('\0' * (halfsize - 3))
479 halfsize = mmap.ALLOCATIONGRANULARITY
480 m = self.make_mmap_file (f, halfsize)
484 mapsize = halfsize * 2
499 m = mmap.mmap(f.fileno(), mapsize - halfsize, offset=halfsize)
519 self.assertEqual(f.tell(), halfsize + 512)
521 self.assertEqual(m.size(), halfsize + 512)
/external/python/cpython3/Lib/test/
Dtest_mmap.py471 def make_mmap_file (self, f, halfsize): argument
473 f.write (b'\0' * halfsize)
475 f.write (b'\0' * (halfsize - 3))
492 halfsize = mmap.ALLOCATIONGRANULARITY
493 m = self.make_mmap_file (f, halfsize)
497 mapsize = halfsize * 2
512 m = mmap.mmap(f.fileno(), mapsize - halfsize, offset=halfsize)
532 self.assertEqual(f.tell(), halfsize + 512)
534 self.assertEqual(m.size(), halfsize + 512)
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2CellId.java597 int halfsize = 1 << (MAX_LEVEL - (level + 1)); in getVertexNeighbors() local
598 int size = halfsize << 1; in getVertexNeighbors()
601 if ((i.intValue() & halfsize) != 0) { in getVertexNeighbors()
608 if ((j.intValue() & halfsize) != 0) { in getVertexNeighbors()
/external/skia/src/core/
DSkGpuBlurUtils.cpp874 int halfsize = LinearKernelWidth(radius); in Compute1DLinearGaussianKernel() local
875 int halfradius = halfsize / 2; in Compute1DLinearGaussianKernel()
906 for (int i = halfradius + 1; i < halfsize; index += 2, i++, low_index--) { in Compute1DLinearGaussianKernel()