Lines Matching defs:aChristmasCarol

77 		final String aChristmasCarol = new String(aChristmasCarol_RAW);

80 System.out.println("Read " + aChristmasCarol.length() + " bytes in " + PerformanceTest.time(x,y));
99 stats0[j] = PerformanceTest.stringDeleteTest(aChristmasCarol, deletePlan);
100 stats1[j] = PerformanceTest.stringBufferDeleteTest(aChristmasCarol, deletePlan);
101 stats2[j] = PerformanceTest.ropeDeleteTest(aChristmasCarol, deletePlan);
124 stats0[j] = PerformanceTest.stringPrependTest(aChristmasCarol, prependPlan, k);
125 stats1[j] = PerformanceTest.stringBufferPrependTest(aChristmasCarol, prependPlan, k);
126 stats2[j] = PerformanceTest.ropePrependTest(aChristmasCarol, prependPlan, k);
127 stats3[j] = PerformanceTest.textPrependTest(aChristmasCarol, prependPlan, k);
152 stats0[j] = PerformanceTest.stringAppendTest(aChristmasCarol, appendPlan, k);
153 stats1[j] = PerformanceTest.stringBufferAppendTest(aChristmasCarol, appendPlan, k);
154 stats2[j] = PerformanceTest.ropeAppendTest(aChristmasCarol, appendPlan, k);
208 stats0[j] = PerformanceTest.stringInsertTest2(aChristmasCarol, bensAuto, insertPlan2);
209 stats1[j] = PerformanceTest.stringBufferInsertTest2(aChristmasCarol, bensAuto, insertPlan2);
210 stats2[j] = PerformanceTest.ropeInsertTest2(aChristmasCarol, bensAuto, insertPlan2);
381 private static long stringFindTest(char[] aChristmasCarol, String toFind) {
384 String b = new String(aChristmasCarol);
392 private static long stringBufferFindTest(char[] aChristmasCarol, String toFind) {
395 StringBuffer b = new StringBuffer(aChristmasCarol.length); b.append(aChristmasCarol);
403 private static long ropeFindTest(char[] aChristmasCarol, String toFind) {
406 Rope b = Rope.BUILDER.build(aChristmasCarol);
414 private static long stringFindTest2(String aChristmasCarol, String toFind) {
418 int loc = aChristmasCarol.indexOf(toFind);
424 private static long stringBufferFindTest2(StringBuffer aChristmasCarol, String toFind) {
428 int loc = aChristmasCarol.indexOf(toFind);
434 private static long ropeFindTest2(Rope aChristmasCarol, String toFind) {
438 int loc = aChristmasCarol.indexOf(toFind);
500 private static long ropeAppendTest(final String aChristmasCarol, final int[][] appendPlan, final int planLength) {
504 Rope result=Rope.BUILDER.build(aChristmasCarol);
516 private static long ropeDeleteTest(final String aChristmasCarol, final int[][] prependPlan) {
520 Rope result=Rope.BUILDER.build(aChristmasCarol);
532 private static long ropeInsertTest(final char[] aChristmasCarol, final int[][] insertPlan, int planLength) {
534 Rope result=Rope.BUILDER.build(aChristmasCarol);
550 private static long textInsertTest(final char[] aChristmasCarol, final int[][] insertPlan, int planLength) {
552 Text result=new Text(new String(aChristmasCarol));
568 private static long ropeInsertTest2(final String aChristmasCarol, final String bensAuto, final int[][] insertPlan) {
572 Rope result=Rope.BUILDER.build(aChristmasCarol);
585 private static long ropePrependTest(final String aChristmasCarol, final int[][] prependPlan, int planLength) {
589 Rope result=Rope.BUILDER.build(aChristmasCarol);
601 private static long textPrependTest(final String aChristmasCarol, final int[][] prependPlan, int planLength) {
605 Text result=new Text(aChristmasCarol);
617 private static long ropeTraverseTest_1(final char[] aChristmasCarol) {
619 final Rope r=Rope.BUILDER.build(aChristmasCarol);
630 private static long ropeTraverseTest_2(final char[] aChristmasCarol) {
632 final Rope r=Rope.BUILDER.build(aChristmasCarol);
643 private static long ropeTraverseTest2_1(Rope aChristmasCarol) {
646 Rope result=aChristmasCarol;
656 private static long textTraverseTest2(Text aChristmasCarol) {
659 Text result=aChristmasCarol;
669 private static long ropeTraverseTest2_2(Rope aChristmasCarol) {
672 Rope result=aChristmasCarol;
682 private static long stringAppendTest(final String aChristmasCarol, final int[][] appendPlan, final int planLength) {
686 String result=aChristmasCarol;
698 private static long stringBufferAppendTest(final String aChristmasCarol, final int[][] appendPlan, final int planLength) {
702 final StringBuffer result=new StringBuffer(aChristmasCarol);
714 private static long stringBufferDeleteTest(final String aChristmasCarol, final int[][] prependPlan) {
718 final StringBuffer result=new StringBuffer(aChristmasCarol);
730 private static long stringBufferInsertTest(final char[] aChristmasCarol, final int[][] insertPlan, int planLength) {
732 final StringBuffer result=new StringBuffer(aChristmasCarol.length); result.append(aChristmasCarol);
748 private static long stringBufferInsertTest2(final String aChristmasCarol, final String bensAuto, final int[][] insertPlan) {
752 final StringBuffer result=new StringBuffer(aChristmasCarol);
765 private static long stringBufferPrependTest(final String aChristmasCarol, final int[][] prependPlan, int planLength) {
769 final StringBuffer result=new StringBuffer(aChristmasCarol);
781 private static long stringBufferTraverseTest(final char[] aChristmasCarol) {
783 final StringBuffer b=new StringBuffer(aChristmasCarol.length); b.append(aChristmasCarol);
795 private static long stringBufferTraverseTest2(final StringBuffer aChristmasCarol) {
798 final StringBuffer result=aChristmasCarol;
808 private static long stringDeleteTest(final String aChristmasCarol, final int[][] prependPlan) {
812 String result=aChristmasCarol;
824 private static long stringInsertTest(final char[] aChristmasCarol, final int[][] insertPlan, int planLength) {
826 String result=new String(aChristmasCarol);
843 private static long stringInsertTest2(final String aChristmasCarol, final String bensAuto, final int[][] insertPlan) {
847 String result=aChristmasCarol;
860 private static long stringPrependTest(final String aChristmasCarol, final int[][] prependPlan, int planLength) {
864 String result=aChristmasCarol;
876 private static long stringTraverseTest(final char[] aChristmasCarol) {
878 String s = new String(aChristmasCarol);
889 private static long stringTraverseTest2(final String aChristmasCarol) {
892 String result=aChristmasCarol;
902 private static long stringRegexpTest(final char[] aChristmasCarol, Pattern pattern) {
904 String s = new String(aChristmasCarol);
917 private static long textRegexpTest(final char[] aChristmasCarol, Pattern pattern) {
919 Text s = new Text(new String(aChristmasCarol));
932 private static long stringBufferRegexpTest(final char[] aChristmasCarol, Pattern pattern) {
934 StringBuffer buffer = new StringBuffer(aChristmasCarol.length); buffer.append(aChristmasCarol);
947 private static long ropeRegexpTest(final char[] aChristmasCarol, Pattern pattern) {
949 Rope rope = Rope.BUILDER.build(aChristmasCarol);
962 private static long ropeMatcherRegexpTest(final char[] aChristmasCarol, Pattern pattern) {
964 Rope rope = Rope.BUILDER.build(aChristmasCarol);
979 private static long stringRegexpTest2(final String aChristmasCarol, Pattern pattern) {
985 Matcher m = pattern.matcher(aChristmasCarol);
995 private static long textRegexpTest2(final Text aChristmasCarol, Pattern pattern) {
1001 Matcher m = pattern.matcher(aChristmasCarol);
1009 private static long stringBufferRegexpTest2(final StringBuffer aChristmasCarol, Pattern pattern) {
1015 Matcher m = pattern.matcher(aChristmasCarol);
1023 private static long ropeRegexpTest2(final Rope aChristmasCarol, Pattern pattern) {
1029 Matcher m = pattern.matcher(aChristmasCarol);
1037 private static long ropeRebalancedRegexpTest2(final Rope aChristmasCarol, Pattern pattern) {
1042 CharSequence adaptedRope = aChristmasCarol.rebalance(); //Rope.BUILDER.buildForRegexpSearching(aChristmasCarol);
1052 private static long ropeMatcherRegexpTest2(final Rope aChristmasCarol, Pattern pattern) {
1058 Matcher m = aChristmasCarol.matcher(pattern);