Lines Matching refs:insertPlan
162 final int[][] insertPlan=new int[PLAN_LENGTH][3];
163 for (int j=0;j<insertPlan.length;++j) {
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.nextInt(PerformanceTest.lenCC - insertPlan[j][1]); //clip length
171 for (int k=0; k<=insertPlan.length; k+=20) {
176 stats0[j] = PerformanceTest.stringInsertTest(aChristmasCarol_RAW, insertPlan, k);
177 stats1[j] = PerformanceTest.stringBufferInsertTest(aChristmasCarol_RAW, insertPlan, k);
178 stats2[j] = PerformanceTest.ropeInsertTest(aChristmasCarol_RAW, insertPlan, k);
519 private static long ropeInsertTest(final char[] aChristmasCarol, final int[][] insertPlan, int planLength) {
526 final int into = insertPlan[j][0];
527 final int offset = insertPlan[j][1];
528 final int length = insertPlan[j][2];
537 private static long ropeInsertTest2(final String aChristmasCarol, final String bensAuto, final int[][] insertPlan) {
543 for (int j=0; j<insertPlan.length; ++j) {
544 final int into = insertPlan[j][0];
545 final int offset = insertPlan[j][1];
546 final int length = insertPlan[j][2];
670 private static long stringBufferInsertTest(final char[] aChristmasCarol, final int[][] insertPlan, int planLength) {
677 final int into = insertPlan[j][0];
678 final int offset = insertPlan[j][1];
679 final int length = insertPlan[j][2];
688 private static long stringBufferInsertTest2(final String aChristmasCarol, final String bensAuto, final int[][] insertPlan) {
694 for (int j=0; j<insertPlan.length; ++j) {
695 final int into = insertPlan[j][0];
696 final int offset = insertPlan[j][1];
697 final int length = insertPlan[j][2];
764 private static long stringInsertTest(final char[] aChristmasCarol, final int[][] insertPlan, int planLength) {
771 final int into = insertPlan[j][0];
772 final int offset = insertPlan[j][1];
773 final int length = insertPlan[j][2];
783 private static long stringInsertTest2(final String aChristmasCarol, final String bensAuto, final int[][] insertPlan) {
789 for (int j=0; j<insertPlan.length; ++j) {
790 final int into = insertPlan[j][0];
791 final int offset = insertPlan[j][1];
792 final int length = insertPlan[j][2];