METHOD_0 ( ) { final java . util . concurrent . atomic . IDENT_0 IDENT_1 = new java . util . concurrent . atomic . METHOD_1 ( ) ; final org . apache . IDENT_2 . api . IDENT_3 . IDENT_4 IDENT_5 = METHOD_2 ( IDENT_1 ) ; final org . apache . IDENT_2 . net . tests . IDENT_6 . IDENT_7 IDENT_8 = new org . apache . IDENT_2 . net . tests . IDENT_6 . METHOD_3 ( org . apache . IDENT_2 . net . tests . IDENT_6 . IDENT_9 , org . apache . IDENT_2 . net . tests . IDENT_6 . IDENT_10 ) ; final org . apache . IDENT_2 . net . IDENT_11 . IDENT_12 . IDENT_13 IDENT_14 = new org . apache . IDENT_2 . net . IDENT_11 . IDENT_12 . METHOD_4 ( IDENT_5 ) ; final java . util . concurrent . IDENT_15 < java . nio . ByteBuffer > IDENT_16 = new java . util . concurrent . METHOD_5 ( ) ; IDENT_14 . METHOD_6 ( new org . apache . IDENT_2 . net . tests . IDENT_6 . METHOD_7 ( IDENT_16 ) ) ; IDENT_14 . METHOD_8 ( IDENT_8 , org . apache . IDENT_2 . net . tests . IDENT_6 . IDENT_9 , org . apache . IDENT_2 . net . tests . IDENT_6 . IDENT_10 ) ; "<AssertPlaceHolder>" ; final org . apache . IDENT_2 . api . network . IDENT_17 IDENT_18 = METHOD_9 ( IDENT_5 ) ; final java . lang . Thread IDENT_19 = new java . lang . Thread ( ( ) -> { try { int IDENT_20 = org . apache . IDENT_2 . net . tests . IDENT_6 . IDENT_21 ; while ( IDENT_20 > 0 ) { while ( ( IDENT_1 . get ( ) ) == 0 ) { MOD_0 ( IDENT_1 ) { IDENT_1 . METHOD_10 ( INT_0 ) ; if ( ( IDENT_1 . get ( ) ) == 0 ) { System . err . println ( STRING_0 ) ; java . lang . System . METHOD_11 ( 1 ) ; } } } IDENT_14 . read ( IDENT_18 , org . apache . IDENT_2 . net . tests . IDENT_6 . IDENT_10 ) ; IDENT_20 OP_0 ; } } catch ( e ) { org . apache . IDENT_2 . net . tests . e . printStackTrace ( ) ; } } ) ; final java . lang . Thread IDENT_22 = new java . lang . Thread ( ( ) -> { int IDENT_23 = 0 ; try { while ( true ) { final java . nio . ByteBuffer IDENT_24 = IDENT_16 . METHOD_12 ( ) ; IDENT_24 . METHOD_13 ( ) ; IDENT_14 . METHOD_14 ( ) . accept ( IDENT_24 ) ; IDENT_23 ++ ; if ( IDENT_23 == ( org . apache . IDENT_2 . net . tests . IDENT_6 . IDENT_21 ) ) { return ; } } } catch ( e ) { org . apache . IDENT_2 . net . tests . e . printStackTrace ( ) ; } } ) ; IDENT_19 . start ( ) ; IDENT_22 . start ( ) ; IDENT_19 . join ( ) ; IDENT_22 . join ( ) ; if ( ( IDENT_1 . get ( ) ) != ( org . apache . IDENT_2 . net . tests . IDENT_6 . IDENT_25 ) ) { System . err . println ( ( ( ( STRING_1 + ( org . apache . IDENT_2 . net . tests . IDENT_6 . IDENT_25 ) ) + STRING_2 ) + ( IDENT_1 . get ( ) ) ) ) ; java . lang . System . METHOD_11 ( 1 ) ; } } get ( ) { return IDENT_26 ; }
org . junit . Assert . assertEquals ( org . apache . IDENT_2 . net . tests . IDENT_6 . IDENT_25 , IDENT_1 . get ( ) )