Searched refs:BITS_PER_WORD (Results 1 – 1 of 1) sorted by relevance
73 private static final int BITS_PER_WORD = 1 << ADDRESS_BITS_PER_WORD; field in BitSet74 private static final int BIT_INDEX_MASK = BITS_PER_WORD - 1;146 initWords(BITS_PER_WORD); in BitSet()727 return (u * BITS_PER_WORD) + Long.numberOfTrailingZeros(word); in nextSetBit()759 return (u * BITS_PER_WORD) + Long.numberOfTrailingZeros(word); in nextClearBit()761 return wordsInUse * BITS_PER_WORD; in nextClearBit()805 return (u+1) * BITS_PER_WORD - 1 - Long.numberOfLeadingZeros(word); in previousSetBit()843 return (u+1) * BITS_PER_WORD -1 - Long.numberOfLeadingZeros(word); in previousClearBit()862 return BITS_PER_WORD * (wordsInUse - 1) + in length()863 (BITS_PER_WORD - Long.numberOfLeadingZeros(words[wordsInUse - 1])); in length()[all …]