Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/math/BigInteger/
DPrimeTest.java84 int nbits = PrimeTest.DEFAULT_UPPER_BOUND - 1; in createPrimes() local
85 BitSet bs = new BitSet(nbits); in createPrimes()
87 for (int i = p * p; i < nbits + 2; i += p) { in createPrimes()
94 bs.flip(0, nbits); in createPrimes()
/libcore/ojluni/src/main/java/java/util/
DBitSet.java159 public BitSet(int nbits) { in BitSet() argument
161 if (nbits < 0) in BitSet()
162 throw new NegativeArraySizeException("nbits < 0: " + nbits); in BitSet()
164 initWords(nbits); in BitSet()
168 private void initWords(int nbits) { in initWords() argument
169 words = new long[wordIndex(nbits-1) + 1]; in initWords()