String function ( long arg0 ) { if ( arg0 < 0 ) { return "srini_string" . concat ( formatBytes ( - arg0 ) ) ; } int loc0 = 1000 ; if ( arg0 < loc0 ) { return arg0 + "srini_string" ; } int loc1 = ( int ) ( Math . log ( arg0 ) / Math . log ( loc0 ) ) ; char loc2 = "srini_string" . charAt ( loc1 - 1 ) ; return format ( "srini_string" , arg0 / Math . pow ( loc0 , loc1 ) , loc2 ) ; }
formats bytes , e.g. 1000 - > 1kb , -2500 - > -2.5 kb concode_field_sep PlaceHolder placeHolder concode_field_sep int percentOf concode_elem_sep String ordinal