METHOD_0 ( ) { org . apache . hadoop . hdfs . util . IDENT_0 s = new org . apache . hadoop . hdfs . util . METHOD_1 ( org . apache . hadoop . hdfs . util . IDENT_1 . METHOD_2 ( STRING_0 ) , 5 ) ; byte [ ] buf = new byte [ 10 ] ; "<AssertPlaceHolder>" ; try { s . read ( buf , 2 , 3 ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . io . IDENT_2 e ) { } } read ( byte [ ] , int , int ) { if ( b == null ) { throw new java . lang . METHOD_3 ( ) ; } else if ( ( ( IDENT_3 < 0 ) || ( len < 0 ) ) || ( len > ( ( b . length ) - IDENT_3 ) ) ) { throw new java . lang . METHOD_4 ( ) ; } else if ( len == 0 ) { return 0 ; } METHOD_5 ( ) ; if ( ( pos ) < ( length ) ) { int n = ( ( int ) ( java . lang . Math . min ( len , ( ( length ) - ( pos ) ) ) ) ) ; java . lang . System . METHOD_6 ( data , pos , b , IDENT_3 , n ) ; pos += n ; return n ; } return - 1 ; }
org . junit . Assert . assertEquals ( 2 , s . read ( buf , 0 , 5 ) )