void function ( int [ ] arg0 , int arg1 , int arg2 , int arg3 ) { int loc0 = arg2 ; while ( loc0 != arg1 ) { int loc1 = arg0 [ arg1 ] ; arg0 [ arg1 ] = arg0 [ loc0 ] ; arg0 [ loc0 ] = loc1 ; arg1 ++ ; loc0 ++ ; if ( loc0 == arg3 ) { loc0 = arg2 ; } else if ( arg1 == arg2 ) { arg2 = loc0 ; } } }
rotate an array , see std : : rotate concode_field_sep PlaceHolder placeHolder concode_field_sep T[] reallocateBuffer concode_elem_sep int[] reallocateBuffer concode_elem_sep float[] reallocateBuffer concode_elem_sep T[] reallocateBuffer concode_elem_sep int[] reallocateBuffer concode_elem_sep float[] reallocateBuffer