METHOD_0 ( ) { for ( long v : IDENT_0 ) { byte [ ] IDENT_1 = METHOD_1 ( v ) ; byte [ ] test = org . IDENT_2 . IDENT_3 . impl . support . IDENT_4 . METHOD_2 ( v ) ; "<AssertPlaceHolder>" ; } } METHOD_2 ( long ) { if ( 0 == value ) return org . IDENT_2 . IDENT_3 . impl . support . IDENT_4 . IDENT_5 ; if ( ( 0 <= value ) && ( value <= 255 ) ) { byte [ ] IDENT_6 = new byte [ 1 ] ; IDENT_6 [ 0 ] = ( ( byte ) ( value & 255 ) ) ; return IDENT_6 ; } byte [ ] out = null ; int offset = - 1 ; for ( int i = 7 ; i >= 0 ; OP_0 i ) { byte b = ( ( byte ) ( ( value > > ( i * 8 ) ) & 255 ) ) ; if ( ( out == null ) && ( b != 0 ) ) { out = new byte [ i + 1 ] ; offset = i ; } if ( out != null ) out [ ( offset - i ) ] = b ; } return out ; }
org . junit . Assert . assertArrayEquals ( IDENT_1 , test )