Searched refs:BITS_PER_WORD (Results 1 – 1 of 1) sorted by relevance
72 private final static int BITS_PER_WORD = 1 << ADDRESS_BITS_PER_WORD; field in BitSet73 private final static int BIT_INDEX_MASK = BITS_PER_WORD - 1;143 initWords(BITS_PER_WORD); in BitSet()715 return (u * BITS_PER_WORD) + Long.numberOfTrailingZeros(word); in nextSetBit()747 return (u * BITS_PER_WORD) + Long.numberOfTrailingZeros(word); in nextClearBit()749 return wordsInUse * BITS_PER_WORD; in nextClearBit()793 return (u+1) * BITS_PER_WORD - 1 - Long.numberOfLeadingZeros(word); in previousSetBit()831 return (u+1) * BITS_PER_WORD -1 - Long.numberOfLeadingZeros(word); in previousClearBit()850 return BITS_PER_WORD * (wordsInUse - 1) + in length()851 (BITS_PER_WORD - Long.numberOfLeadingZeros(words[wordsInUse - 1])); in length()[all …]