Package org.neo4j.gds.core.utils.paged
Class HugeArrays
- java.lang.Object
-
- org.neo4j.gds.core.utils.paged.HugeArrays
-
public final class HugeArrays extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
PAGE_SIZE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
exclusiveIndexOfPage(long index)
static int
numberOfPages(long capacity)
static long
oversize(long minTargetSize, int bytesPerElement)
Huge version of Lucene oversize for arrays.static int
oversizeInt(int minTargetSize, int bytesPerElement)
-
-
-
Field Detail
-
PAGE_SIZE
public static final int PAGE_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
exclusiveIndexOfPage
public static int exclusiveIndexOfPage(long index)
-
numberOfPages
public static int numberOfPages(long capacity)
-
oversize
public static long oversize(long minTargetSize, int bytesPerElement)
Huge version of Lucene oversize for arrays. see org.apache.lucene.util.ArrayUtil#oversize(int, int)
-
oversizeInt
public static int oversizeInt(int minTargetSize, int bytesPerElement)
-
-