Lines Matching defs:aChristmasCarol

74 		final String aChristmasCarol = new String(aChristmasCarol_RAW);

77 System.out.println("Read " + aChristmasCarol.length() + " bytes in " + PerformanceTest.time(x,y));
96 stats0[j] = PerformanceTest.stringDeleteTest(aChristmasCarol, deletePlan);
97 stats1[j] = PerformanceTest.stringBufferDeleteTest(aChristmasCarol, deletePlan);
98 stats2[j] = PerformanceTest.ropeDeleteTest(aChristmasCarol, deletePlan);
121 stats0[j] = PerformanceTest.stringPrependTest(aChristmasCarol, prependPlan, k);
122 stats1[j] = PerformanceTest.stringBufferPrependTest(aChristmasCarol, prependPlan, k);
123 stats2[j] = PerformanceTest.ropePrependTest(aChristmasCarol, prependPlan, k);
147 stats0[j] = PerformanceTest.stringAppendTest(aChristmasCarol, appendPlan, k);
148 stats1[j] = PerformanceTest.stringBufferAppendTest(aChristmasCarol, appendPlan, k);
149 stats2[j] = PerformanceTest.ropeAppendTest(aChristmasCarol, appendPlan, k);
201 stats0[j] = PerformanceTest.stringInsertTest2(aChristmasCarol, bensAuto, insertPlan2);
202 stats1[j] = PerformanceTest.stringBufferInsertTest2(aChristmasCarol, bensAuto, insertPlan2);
203 stats2[j] = PerformanceTest.ropeInsertTest2(aChristmasCarol, bensAuto, insertPlan2);
368 private static long stringFindTest(char[] aChristmasCarol, String toFind) {
371 String b = new String(aChristmasCarol);
379 private static long stringBufferFindTest(char[] aChristmasCarol, String toFind) {
382 StringBuffer b = new StringBuffer(aChristmasCarol.length); b.append(aChristmasCarol);
390 private static long ropeFindTest(char[] aChristmasCarol, String toFind) {
393 Rope b = Rope.BUILDER.build(aChristmasCarol);
401 private static long stringFindTest2(String aChristmasCarol, String toFind) {
405 int loc = aChristmasCarol.indexOf(toFind);
411 private static long stringBufferFindTest2(StringBuffer aChristmasCarol, String toFind) {
415 int loc = aChristmasCarol.indexOf(toFind);
421 private static long ropeFindTest2(Rope aChristmasCarol, String toFind) {
425 int loc = aChristmasCarol.indexOf(toFind);
487 private static long ropeAppendTest(final String aChristmasCarol, final int[][] appendPlan, final int planLength) {
491 Rope result=Rope.BUILDER.build(aChristmasCarol);
503 private static long ropeDeleteTest(final String aChristmasCarol, final int[][] prependPlan) {
507 Rope result=Rope.BUILDER.build(aChristmasCarol);
519 private static long ropeInsertTest(final char[] aChristmasCarol, final int[][] insertPlan, int planLength) {
521 Rope result=Rope.BUILDER.build(aChristmasCarol);
537 private static long ropeInsertTest2(final String aChristmasCarol, final String bensAuto, final int[][] insertPlan) {
541 Rope result=Rope.BUILDER.build(aChristmasCarol);
554 private static long ropePrependTest(final String aChristmasCarol, final int[][] prependPlan, int planLength) {
558 Rope result=Rope.BUILDER.build(aChristmasCarol);
570 private static long ropeTraverseTest_1(final char[] aChristmasCarol) {
572 final Rope r=Rope.BUILDER.build(aChristmasCarol);
583 private static long ropeTraverseTest_2(final char[] aChristmasCarol) {
585 final Rope r=Rope.BUILDER.build(aChristmasCarol);
596 private static long ropeTraverseTest2_1(Rope aChristmasCarol) {
599 Rope result=aChristmasCarol;
609 private static long ropeTraverseTest2_2(Rope aChristmasCarol) {
612 Rope result=aChristmasCarol;
622 private static long stringAppendTest(final String aChristmasCarol, final int[][] appendPlan, final int planLength) {
626 String result=aChristmasCarol;
638 private static long stringBufferAppendTest(final String aChristmasCarol, final int[][] appendPlan, final int planLength) {
642 final StringBuffer result=new StringBuffer(aChristmasCarol);
654 private static long stringBufferDeleteTest(final String aChristmasCarol, final int[][] prependPlan) {
658 final StringBuffer result=new StringBuffer(aChristmasCarol);
670 private static long stringBufferInsertTest(final char[] aChristmasCarol, final int[][] insertPlan, int planLength) {
672 final StringBuffer result=new StringBuffer(aChristmasCarol.length); result.append(aChristmasCarol);
688 private static long stringBufferInsertTest2(final String aChristmasCarol, final String bensAuto, final int[][] insertPlan) {
692 final StringBuffer result=new StringBuffer(aChristmasCarol);
705 private static long stringBufferPrependTest(final String aChristmasCarol, final int[][] prependPlan, int planLength) {
709 final StringBuffer result=new StringBuffer(aChristmasCarol);
721 private static long stringBufferTraverseTest(final char[] aChristmasCarol) {
723 final StringBuffer b=new StringBuffer(aChristmasCarol.length); b.append(aChristmasCarol);
735 private static long stringBufferTraverseTest2(final StringBuffer aChristmasCarol) {
738 final StringBuffer result=aChristmasCarol;
748 private static long stringDeleteTest(final String aChristmasCarol, final int[][] prependPlan) {
752 String result=aChristmasCarol;
764 private static long stringInsertTest(final char[] aChristmasCarol, final int[][] insertPlan, int planLength) {
766 String result=new String(aChristmasCarol);
783 private static long stringInsertTest2(final String aChristmasCarol, final String bensAuto, final int[][] insertPlan) {
787 String result=aChristmasCarol;
800 private static long stringPrependTest(final String aChristmasCarol, final int[][] prependPlan, int planLength) {
804 String result=aChristmasCarol;
816 private static long stringTraverseTest(final char[] aChristmasCarol) {
818 String s = new String(aChristmasCarol);
829 private static long stringTraverseTest2(final String aChristmasCarol) {
832 String result=aChristmasCarol;
842 private static long stringRegexpTest(final char[] aChristmasCarol, Pattern pattern) {
844 String s = new String(aChristmasCarol);
857 private static long stringBufferRegexpTest(final char[] aChristmasCarol, Pattern pattern) {
859 StringBuffer buffer = new StringBuffer(aChristmasCarol.length); buffer.append(aChristmasCarol);
872 private static long ropeRegexpTest(final char[] aChristmasCarol, Pattern pattern) {
874 Rope rope = Rope.BUILDER.build(aChristmasCarol);
887 private static long ropeMatcherRegexpTest(final char[] aChristmasCarol, Pattern pattern) {
889 Rope rope = Rope.BUILDER.build(aChristmasCarol);
904 private static long stringRegexpTest2(final String aChristmasCarol, Pattern pattern) {
910 Matcher m = pattern.matcher(aChristmasCarol);
918 private static long stringBufferRegexpTest2(final StringBuffer aChristmasCarol, Pattern pattern) {
924 Matcher m = pattern.matcher(aChristmasCarol);
932 private static long ropeRegexpTest2(final Rope aChristmasCarol, Pattern pattern) {
938 Matcher m = pattern.matcher(aChristmasCarol);
946 private static long ropeRebalancedRegexpTest2(final Rope aChristmasCarol, Pattern pattern) {
951 CharSequence adaptedRope = aChristmasCarol.rebalance(); //Rope.BUILDER.buildForRegexpSearching(aChristmasCarol);
961 private static long ropeMatcherRegexpTest2(final Rope aChristmasCarol, Pattern pattern) {
967 Matcher m = aChristmasCarol.matcher(pattern);