Searched refs:random (Results 1 - 1 of 1) sorted by relevance

/ropes-1.2.5/src/org/ahmadsoft/ropes/test/
H A DPerformanceTest.java50 private static Random random = new Random(PerformanceTest.seed); field in class:PerformanceTest
89 deletePlan[j][0] = PerformanceTest.random.nextInt(newSize);
90 deletePlan[j][1] = PerformanceTest.random.nextInt(Math.min(100, newSize - deletePlan[j][0]));
115 prependPlan[j][0] = PerformanceTest.random.nextInt(PerformanceTest.lenCC);
116 prependPlan[j][1] = PerformanceTest.random.nextInt(PerformanceTest.lenCC - prependPlan[j][0]);
142 appendPlan[j][0] = PerformanceTest.random.nextInt(PerformanceTest.lenCC);
143 appendPlan[j][1] = PerformanceTest.random.nextInt(PerformanceTest.lenCC - appendPlan[j][0]);
169 insertPlan[j][0] = PerformanceTest.random.nextInt(PerformanceTest.lenCC); //location to insert
170 insertPlan[j][1] = PerformanceTest.random.nextInt(PerformanceTest.lenCC); //clip from
171 insertPlan[j][2] = PerformanceTest.random
[all...]

Completed in 3 milliseconds