Searched refs:nbits (Results 1 – 2 of 2) sorted by relevance
84 int nbits = PrimeTest.DEFAULT_UPPER_BOUND - 1; in createPrimes() local85 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()
159 public BitSet(int nbits) { in BitSet() argument161 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() argument169 words = new long[wordIndex(nbits-1) + 1]; in initWords()