METHOD_0 ( ) { java . io . IDENT_0 IDENT_1 = new java . io . METHOD_1 ( ) ; java . io . IDENT_2 IDENT_3 = new java . io . METHOD_2 ( IDENT_1 ) ; IDENT_4 . io . IDENT_5 IDENT_6 = new IDENT_4 . io . METHOD_3 ( IDENT_1 ) ; java . lang . Thread writer = new java . lang . Thread ( new IDENT_4 . io . METHOD_3 . IDENT_7 . METHOD_4 ( IDENT_3 ) ) ; java . lang . Thread reader = new java . lang . Thread ( IDENT_6 ) ; writer . start ( ) ; reader . start ( ) ; java . lang . Thread . sleep ( 10 ) ; for ( int i = 0 ; i < ( IDENT_4 . io . METHOD_3 . IDENT_7 . IDENT_8 . length ) ; i ++ ) { byte [ ] bytes = IDENT_6 . getBytes ( ) ; if ( ( bytes . length ) > 0 ) { "<AssertPlaceHolder>" ; } else { java . lang . Thread . sleep ( 10 ) ; } } writer . join ( ) ; reader . join ( ) ; } start ( ) { long IDENT_9 ; long start ; int IDENT_10 = 0 ; do { if ( ( ++ IDENT_10 ) > ( com . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_14 . IDENT_15 ) ) { throw new java . lang . IllegalStateException ( STRING_0 ) ; } METHOD_5 ( ) ; IDENT_16 = false ; start = java . lang . System . currentTimeMillis ( ) ; IDENT_9 = 0 ; com . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_17 IDENT_18 = new com . IDENT_11 . IDENT_12 . IDENT_13 . METHOD_6 ( ) ; IDENT_18 . METHOD_7 ( new com . IDENT_11 . IDENT_12 . IDENT_13 . METHOD_8 ( ) { public void run ( ) { IDENT_16 = true ; } } , IDENT_19 ) ; while ( ! ( IDENT_16 ) ) { METHOD_9 ( ) . run ( ) ; IDENT_9 ++ ; } start = ( java . lang . System . currentTimeMillis ( ) ) - start ; IDENT_18 . METHOD_10 ( ) ; } while ( ( java . lang . Math . METHOD_11 ( ( start - ( IDENT_19 ) ) ) ) > ( com . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_14 . IDENT_20 ) ) ; METHOD_5 ( ) ; return IDENT_9 ; }
org . junit . Assert . assertArrayEquals ( IDENT_4 . io . METHOD_3 . IDENT_7 . IDENT_8 [ i ] , bytes )