576
576
public static long[] shiftRightI(long[] v, int off) {
581
581
return shiftLeftI(v, -off);
583
583
// Break shift into integers to shift and bits to shift
584
584
final int shiftWords = off >>> LONG_LOG2_SIZE;
585
585
final int shiftBits = off & LONG_LOG2_MASK;
590
590
// Simple case - multiple of word size
593
593
System.arraycopy(v, shiftWords, v, 0, v.length - shiftWords);
594
594
// Fill top words with zeros