METHOD_0 ( ) { long length = ( ( alluxio . client . block . stream . IDENT_0 . IDENT_1 ) * INT_0 ) + ( ( alluxio . client . block . stream . IDENT_0 . IDENT_1 ) / 3 ) ; long offset = 10 ; long IDENT_2 = 100 ; long IDENT_3 = length / 3 ; try ( alluxio . client . block . stream . IDENT_4 reader = create ( offset , length ) ) { long IDENT_5 = METHOD_1 ( IDENT_6 , length , IDENT_2 , ( IDENT_3 - 1 ) ) ; long IDENT_7 = METHOD_2 ( reader , IDENT_2 , IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( IDENT_6 , offset , length , true , alluxio . client . block . stream . IDENT_0 . IDENT_1 ) ; } METHOD_2 ( alluxio . client . block . stream . IDENT_4 , long , long ) { long pos = 0 ; long IDENT_5 = 0 ; while ( true ) { alluxio . network . protocol . IDENT_8 . IDENT_9 IDENT_10 = reader . METHOD_4 ( ) ; if ( IDENT_10 == null ) { break ; } try { org . junit . Assert . assertTrue ( ( IDENT_10 instanceof alluxio . network . protocol . IDENT_8 . IDENT_11 ) ) ; io . netty . buffer . IDENT_12 buf = ( ( io . netty . buffer . IDENT_12 ) ( IDENT_10 . METHOD_5 ( ) ) ) ; byte [ ] bytes = new byte [ buf . METHOD_6 ( ) ] ; buf . METHOD_7 ( bytes ) ; for ( int i = 0 ; i < ( bytes . length ) ; i ++ ) { if ( pos >= IDENT_2 ) { IDENT_5 += alluxio . util . io . IDENT_13 . METHOD_8 ( bytes [ i ] ) ; } pos ++ ; if ( pos >= IDENT_3 ) { return IDENT_5 ; } } } finally { IDENT_10 . METHOD_9 ( ) ; } } return IDENT_5 ; }
org . junit . Assert . assertEquals ( IDENT_5 , IDENT_7 )