question: public static long [ ] ones ( int bits ) { long [ ] v = new long [ ( ( bits - 1 ) > > > LONG_LOG2_SIZE ) + 1 ] ; final int fillWords = bits > > > LONG_LOG2_SIZE ; final int fillBits = bits & LONG_LOG2_MASK ; Arrays . fill ( v , 0 , fillWords , LONG_ALL_BITS ) ; if ( fillWords < v . length ) { v [ v . length - 1 ] = ( 1L << fillBits ) - 1 ; } return v ; }
target:  Create a vector initialized with "bits" ones.