METHOD_0 ( ) { IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; final java . nio . ByteBuffer buffer = java . nio . ByteBuffer . METHOD_2 ( INT_0 ) ; for ( int i = 0 ; i < 10 ; i ++ ) { boolean IDENT_3 = false ; try { IDENT_4 . read ( buffer ) ; } catch ( java . io . IOException expected ) { IDENT_3 = true ; } "<AssertPlaceHolder>" ; } } read ( java . nio . ByteBuffer ) { if ( ! ( IDENT_5 . METHOD_3 ( ) ) ) { return 0 ; } final org . IDENT_6 . IDENT_7 . IDENT_8 delegate = this . delegate ; int res ; if ( ( res = delegate . read ( IDENT_5 ) ) == 0 ) { long start = java . lang . System . METHOD_4 ( ) ; long IDENT_9 = 0L ; long IDENT_10 ; do { IDENT_10 = this . IDENT_10 ; if ( ( IDENT_10 == 0L ) || ( IDENT_10 == ( Long . MAX_VALUE ) ) ) { delegate . METHOD_5 ( ) ; } else if ( IDENT_10 <= IDENT_9 ) { throw msg . METHOD_6 ( ) ; } else { delegate . METHOD_5 ( ( METHOD_6 - IDENT_9 ) , TimeUnit . IDENT_11 ) ; } IDENT_9 = ( java . lang . System . METHOD_4 ( ) ) - start ; } while ( ( res = delegate . read ( IDENT_5 ) ) == 0 ) ; } return res ; }
org . junit . Assert . assertTrue ( IDENT_3 )