METHOD_0 ( ) { final int IDENT_0 = INT_0 ; final int size = INT_0 * IDENT_0 ; final com . IDENT_1 . IDENT_2 . IDENT_3 < com . IDENT_1 . IDENT_2 . IDENT_4 > queue = new com . IDENT_1 . IDENT_2 . METHOD_1 ( IDENT_4 . IDENT_5 , IDENT_0 ) ; final com . IDENT_1 . IDENT_2 . IDENT_6 IDENT_7 = new com . IDENT_1 . IDENT_2 . METHOD_2 ( IDENT_0 ) ; final com . IDENT_1 . IDENT_2 . IDENT_8 IDENT_9 = new com . IDENT_1 . IDENT_2 . METHOD_3 ( ) ; IDENT_7 . METHOD_4 ( IDENT_9 ) . METHOD_4 ( IDENT_7 ) ; java . util . concurrent . IDENT_10 IDENT_11 = new java . util . concurrent . METHOD_5 ( 2 ) ; new java . lang . Thread ( ( ) -> { try { IDENT_11 . METHOD_6 ( ) ; com . IDENT_1 . IDENT_12 . IDENT_13 IDENT_14 = new com . IDENT_1 . IDENT_12 . METHOD_7 ( ) ; for ( int i = 0 ; i < size ; ) { long IDENT_15 = IDENT_7 . next ( ) ; if ( IDENT_15 > ( - 1 ) ) { long IDENT_16 = IDENT_7 . METHOD_8 ( ) ; while ( ( IDENT_15 < METHOD_8 ) && ( i < size ) ) { com . IDENT_1 . IDENT_2 . IDENT_4 event = queue . get ( ( IDENT_15 ++ ) ) ; event . value = IDENT_14 . METHOD_9 ( ) ; i ++ ; } IDENT_7 . METHOD_10 ( ( IDENT_15 - 1 ) ) ; } } } catch ( e ) { com . IDENT_1 . IDENT_2 . e . printStackTrace ( ) ; } } ) . start ( ) ; IDENT_11 . METHOD_6 ( ) ; int IDENT_17 = 0 ; final com . IDENT_1 . IDENT_12 . METHOD_7 IDENT_18 = new com . IDENT_1 . IDENT_12 . METHOD_7 ( ) ; while ( IDENT_17 < size ) { long IDENT_15 = IDENT_9 . next ( ) ; if ( IDENT_15 > ( - 1 ) ) { long METHOD_8 = IDENT_9 . METHOD_8 ( ) ; while ( IDENT_15 < METHOD_8 ) { "<AssertPlaceHolder>" ; IDENT_17 ++ ; } IDENT_9 . METHOD_10 ( ( METHOD_8 - 1 ) ) ; } } } METHOD_9 ( ) { return ( ( int ) ( METHOD_11 ( ) ) ) ; }
org . junit . Assert . assertEquals ( IDENT_18 . METHOD_9 ( ) , queue . get ( ( IDENT_15 ++ ) ) . value )