Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/math/
DBitSieve.java77 bits = new long[(unitIndex(length - 1) + 1)]; in BitSieve()
105 bits = new long[(unitIndex(searchLen-1) + 1)]; in BitSieve()
134 private static int unitIndex(int bitIndex) { in unitIndex() method in BitSieve
149 int unitIndex = unitIndex(bitIndex); in get() local
150 return ((bits[unitIndex] & bit(bitIndex)) != 0); in get()
157 int unitIndex = unitIndex(bitIndex); in set() local
158 bits[unitIndex] |= bit(bitIndex); in set()