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

/ropes-1.1.3/src/org/ahmadsoft/ropes/test/
H A DPerformanceTest.java48 private static Random random = new Random(PerformanceTest.seed); field in class:PerformanceTest
86 deletePlan[j][0] = PerformanceTest.random.nextInt(newSize);
87 deletePlan[j][1] = PerformanceTest.random.nextInt(Math.min(100, newSize - deletePlan[j][0]));
112 prependPlan[j][0] = PerformanceTest.random.nextInt(PerformanceTest.lenCC);
113 prependPlan[j][1] = PerformanceTest.random.nextInt(PerformanceTest.lenCC - prependPlan[j][0]);
137 appendPlan[j][0] = PerformanceTest.random.nextInt(PerformanceTest.lenCC);
138 appendPlan[j][1] = PerformanceTest.random.nextInt(PerformanceTest.lenCC - appendPlan[j][0]);
164 insertPlan[j][0] = PerformanceTest.random.nextInt(PerformanceTest.lenCC); //location to insert
165 insertPlan[j][1] = PerformanceTest.random.nextInt(PerformanceTest.lenCC); //clip from
166 insertPlan[j][2] = PerformanceTest.random
[all...]

Completed in 2 milliseconds