METHOD_0 ( ) { final int IDENT_0 = INT_0 ; java . lang . Thread [ ] pool = new java . lang . Thread [ IDENT_0 ] ; final java . util . concurrent . IDENT_1 map = new java . util . concurrent . METHOD_1 ( ) ; for ( int i = 0 ; i < IDENT_0 ; i ++ ) { final int IDENT_2 = i ; pool [ i ] = new java . lang . Thread ( ) { @ com . IDENT_3 . db . engine . METHOD_2 ( STRING_0 ) public void run ( ) { setName ( ( STRING_1 + IDENT_2 ) ) ; com . IDENT_3 . db . common . IDENT_4 . IDENT_5 IDENT_6 = com . IDENT_3 . db . common . IDENT_4 . METHOD_3 ( IDENT_7 . IDENT_8 ) ; map . put ( getName ( ) , IDENT_6 ) ; } } ; pool [ i ] . start ( ) ; } long IDENT_9 = 0 ; do { java . lang . Thread . sleep ( INT_1 ) ; IDENT_9 += INT_1 ; if ( IDENT_9 > INT_2 ) { throw new java . lang . RuntimeException ( STRING_2 ) ; } } while ( ( map . METHOD_4 ( ) . size ( ) ) < IDENT_0 ) ; java . util . Set < java . lang . Integer > IDENT_10 = new java . util . HashSet < java . lang . Integer > ( ) ; for ( java . lang . Object entry : map . entrySet ( ) ) { com . IDENT_3 . db . common . IDENT_4 . IDENT_5 IDENT_11 = ( ( com . IDENT_3 . db . common . IDENT_4 . IDENT_5 ) ( ( ( java . util . Map . Entry ) ( entry ) ) . getValue ( ) ) ) ; IDENT_10 . add ( IDENT_11 . METHOD_5 ( ) ) ; IDENT_11 . METHOD_6 ( ) ; } "<AssertPlaceHolder>" ; } METHOD_6 ( ) { try { IDENT_12 . METHOD_6 ( ) ; } catch ( java . io . IOException e ) { } file . delete ( ) ; }
org . junit . Assert . assertEquals ( IDENT_10 . size ( ) , map . METHOD_4 ( ) . size ( ) )