Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for xxxabc (0.04 sec)

  1. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("", Strings.commonSuffix("xyz", "abcde"));
        assertEquals("", Strings.commonSuffix("xyz", "xyzabc"));
        assertEquals("c", Strings.commonSuffix("abc", "ccccc"));
        assertEquals("aa", Strings.commonSuffix("aa", "aaaaa"));
        assertEquals("abc", Strings.commonSuffix(new StringBuilder("xyzabc"), "xxxabc"));
    
        // Identical valid surrogate pairs.
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("", Strings.commonSuffix("xyz", "abcde"));
        assertEquals("", Strings.commonSuffix("xyz", "xyzabc"));
        assertEquals("c", Strings.commonSuffix("abc", "ccccc"));
        assertEquals("aa", Strings.commonSuffix("aa", "aaaaa"));
        assertEquals("abc", Strings.commonSuffix(new StringBuilder("xyzabc"), "xxxabc"));
    
        // Identical valid surrogate pairs.
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    		tests: []testFnc{
    			testRead{100, "\x00abc\x00\x00", errMissData},
    		},
    	}, {
    		maker: makeSparse{makeReg{"abc", 8}, sparseDatas{{1, 3}, {6, 5}}, 15},
    		tests: []testFnc{
    			testRead{100, "\x00abc\x00\x00", io.ErrUnexpectedEOF},
    		},
    	}, {
    		maker: makeSparse{makeReg{"abcde", 5}, sparseDatas{{1, 3}, {6, 5}}, 15},
    		tests: []testFnc{
    			testRead{100, "\x00abc\x00\x00de", errMissData},
    		},
    	}, {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    			testRemaining{5, 5},
    			testWrite{"abc", 3, nil},
    			testRemaining{2, 2},
    			testReadFrom{fileOps{"\x00\x00"}, 2, nil},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeReg{5, "\x00\x00abc"},
    		tests: []testFnc{
    			testRemaining{5, 5},
    			testWrite{"\x00\x00", 2, nil},
    			testRemaining{3, 3},
    			testWrite{"abc", 3, nil},
    			testReadFrom{fileOps{"z"}, 0, ErrWriteTooLong},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. src/bufio/scan_test.go

    		}
    	}
    }
    
    var scanTests = []string{
    	"",
    	"a",
    	"¼",
    	"☹",
    	"\x81",   // UTF-8 error
    	"\uFFFD", // correctly encoded RuneError
    	"abcdefgh",
    	"abc def\n\t\tgh    ",
    	"abc¼☹\x81\uFFFD日本語\x82abc",
    }
    
    func TestScanByte(t *testing.T) {
    	for n, test := range scanTests {
    		buf := strings.NewReader(test)
    		s := NewScanner(buf)
    		s.Split(ScanBytes)
    		var i int
    		for i = 0; s.Scan(); i++ {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThrows(IllegalArgumentException.class, () -> cli.calculateDegreeOfConcurrency("CXXX"));
            assertThrows(IllegalArgumentException.class, () -> cli.calculateDegreeOfConcurrency("XXXC"));
    
            int cpus = Runtime.getRuntime().availableProcessors();
            assertEquals((int) (cpus * 2.2), cli.calculateDegreeOfConcurrency("2.2C"));
            assertEquals(1, cli.calculateDegreeOfConcurrency("0.0001C"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top