METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . utils . IDENT_2 . IDENT_3 IDENT_4 = new org . IDENT_0 . IDENT_1 . utils . IDENT_2 . METHOD_1 ( ) { @ org . IDENT_0 . IDENT_1 . IDENT_5 . Override public java . nio . ByteBuffer METHOD_2 ( int IDENT_6 ) { java . nio . ByteBuffer result = java . nio . ByteBuffer . METHOD_2 ( ( IDENT_6 + 1 ) ) ; result . METHOD_3 ( 1 ) ; return result ; } } ; q . METHOD_4 ( IDENT_4 ) ; q . METHOD_5 ( 1 ) ; q . put ( IDENT_7 ) ; for ( java . nio . ByteBuffer buf : q . METHOD_6 ( len ) ) "<AssertPlaceHolder>" ; } METHOD_6 ( int ) { if ( len < 0 ) throw new java . lang . IllegalArgumentException ( ) ; if ( len > ( METHOD_7 ( ) ) ) throw new java . nio . METHOD_8 ( ) ; if ( len == 0 ) return org . IDENT_0 . IDENT_1 . utils . IDENT_2 . IDENT_8 . IDENT_9 ; java . nio . ByteBuffer [ ] result = new java . nio . ByteBuffer [ METHOD_9 ( len ) ] ; int index = 0 ; java . nio . ByteBuffer IDENT_10 = METHOD_10 ( ) ; while ( ( IDENT_10 != null ) && ( len > 0 ) ) { if ( len < ( IDENT_10 . METHOD_7 ( ) ) ) { java . nio . ByteBuffer buf = IDENT_11 . METHOD_11 ( ) ; buf . order ( order ) ; IDENT_11 . position ( ( ( IDENT_11 . position ( ) ) + len ) ) ; buf . METHOD_3 ( len ) ; result [ ( index ++ ) ] = buf ; len = 0 ; } else { IDENT_12 += ( IDENT_10 . METHOD_7 ( ) ) + ( IDENT_10 . position ( ) ) ; len OP_0 IDENT_10 . METHOD_7 ( ) ; IDENT_11 = null ; result [ ( index ++ ) ] = IDENT_10 . METHOD_11 ( ) . order ( order ) ; } IDENT_10 = METHOD_10 ( ) ; } return result ; }
org . junit . Assert . assertEquals ( 2 , buf . array ( ) . length )