Searched refs:wordIndex (Results 1 – 2 of 2) sorted by relevance
111 private static int wordIndex(int bitIndex) { in wordIndex() method in BitSet166 words = new long[wordIndex(nbits-1) + 1]; in initWords()343 private void expandTo(int wordIndex) { in expandTo() argument344 int wordsRequired = wordIndex+1; in expandTo()376 int wordIndex = wordIndex(bitIndex); in flip() local377 expandTo(wordIndex); in flip()379 words[wordIndex] ^= (1L << bitIndex); in flip()403 int startWordIndex = wordIndex(fromIndex); in flip()404 int endWordIndex = wordIndex(toIndex - 1); in flip()440 int wordIndex = wordIndex(bitIndex); in set() local[all …]
178 int wordIndex = index >>2; in updateHash() local191 intArray[wordIndex] |= ( byteInput[i] & 0xFF ) << ((3 - byteIndex)<<3) ; in updateHash()195 wordIndex++; in updateHash()196 if ( wordIndex == 16 ) { // intArray is full, computing hash in updateHash()199 wordIndex = 0; in updateHash()212 intArray[wordIndex] = ( ((int) byteInput[i ] & 0xFF) <<24 ) | in updateHash()217 wordIndex++; in updateHash()219 if ( wordIndex < 16 ) { // buffer is not full yet in updateHash()223 wordIndex = 0; in updateHash()240 intArray[wordIndex] = w; in updateHash()