예제 #1
0
 private static long timeRep2(String str, String os, String ns) {
   Date start = new Date();
   for (int ix = 0; ix < RPT; ix++) {
     replaceString2(str, os, ns);
   }
   return TimerUtil.timeSince(start);
 }
 void doSizeCalc(RepositoryNode node) {
   TimerUtil.guaranteedSleep(10);
   nodes.add(node);
   sem.give();
 }