Searched defs:unitIndex (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/java/math/
H A DBitSieve.java77 bits = new long[(unitIndex(length - 1) + 1)];
105 bits = new long[(unitIndex(searchLen-1) + 1)];
134 private static int unitIndex(int bitIndex) { method in class:BitSieve
149 int unitIndex = unitIndex(bitIndex);
150 return ((bits[unitIndex] & bit(bitIndex)) != 0);
157 int unitIndex = unitIndex(bitIndex);
158 bits[unitIndex] |= bit(bitIndex);

Completed in 353 milliseconds