int function ( int arg0 ) { if ( arg0 < 0 ) throw new IllegalArgumentException ( ) ; if ( arg0 > ( 1 << 30 ) ) return Integer . MAX_VALUE ; if ( arg0 == 0 ) { return 1 ; } int loc0 = arg0 ; loc0 -- ; loc0 |= loc0 >> 1 ; loc0 |= loc0 >> 2 ; loc0 |= loc0 >> 4 ; loc0 |= loc0 >> 8 ; loc0 |= loc0 >> 16 ; loc0 ++ ; return loc0 ; }
determines what next array size should be by rounding up to next power of two . concode_field_sep int offset concode_elem_sep int offset concode_elem_sep byte data[] concode_field_sep void add concode_elem_sep void add concode_elem_sep long readLong concode_elem_sep int readVInt concode_elem_sep void writeVInt concode_elem_sep void writeVLong concode_elem_sep void reserve concode_elem_sep byte[] toArray concode_elem_sep void readBytes concode_elem_sep boolean readBoolean concode_elem_sep int readInt concode_elem_sep ByteBuffer toByteBuffer concode_elem_sep long readVLong