Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for aaabb (0.04 sec)

  1. src/regexp/all_test.go

    	re.Match(long)     // triggers standard matcher
    	re.Match(long[:1]) // triggers backtracker
    }
    
    func BenchmarkFind(b *testing.B) {
    	b.StopTimer()
    	re := MustCompile("a+b+")
    	wantSubs := "aaabb"
    	s := []byte("acbb" + wantSubs + "dd")
    	b.StartTimer()
    	b.ReportAllocs()
    	for i := 0; i < b.N; i++ {
    		subs := re.Find(s)
    		if string(subs) != wantSubs {
    			b.Fatalf("Find(%q) = %q; want %q", s, subs, wantSubs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskExecutionIntegrationTest.groovy

        }
    
        def "reports candidates when task path cannot be resolved"() {
            createDirs("aaBb", "aaaBbb", "aaaaBbbb", "aaBb/ccDD", "aaBb/cccDDD")
            settingsFile << """
                rootProject.name = 'broken'
                includeBuild("aaBb")
                include("aaaBbb")
                include("aaaaBbbb")
            """
            file("aaBb/settings.gradle") << """
                include("ccDD")
                include("cccDDD")
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/ParamMapTest.java

            assertEquals("111", paramMap.get("aaa"));
            assertEquals("222", paramMap.get("aaa_bbb"));
            assertEquals("222", paramMap.get("aaaBbb"));
            assertEquals("222", paramMap.get("AaaBbb"));
            assertNull(paramMap.get("aaabbb"));
            assertEquals("333", paramMap.get("aaa_bbb_ccc"));
            assertEquals("333", paramMap.get("aaaBbbCcc"));
            assertEquals("333", paramMap.get("AaaBbbCcc"));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. test/fixedbugs/bug236.go

    var v1 = f(1) + f(2)
    var v2 = g(f(3), f(4))
    var v3 = f(5) + f(6) + f(7) + f(8) + f(9)
    
    func main() {
    	gen = 'a'
    
    	if v1 != "aAbB" {
    		panic("BUG: bug236a")
    	}
    	if v2 != "cCdD" {
    		panic("BUG: bug236b")
    	}
    	if v3 != "eEfFgGhHiI" {
    		panic("BUG: bug236c")
    	}
    
    	switch "aAbB" {
    	case f(1) + f(2):
    	default:
    		panic("BUG: bug236d")
    	}
    
    	switch "cCdD" {
    	case g(f(3), f(4)):
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 831 bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertNull(StringUtil.decamelize(null));
            assertEquals("EMP", StringUtil.decamelize("Emp"));
            assertEquals("AAA_BBB", StringUtil.decamelize("aaaBbb"));
            assertEquals("AAA_BBB", StringUtil.decamelize("AaaBbb"));
            assertEquals("AAA_BBB_C", StringUtil.decamelize("aaaBbbC"));
            assertEquals("USER_ID", StringUtil.decamelize("UserId"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. test/fixedbugs/bug221.go

    var gen = 'a'
    
    func f(n int) string {
    	s := string(gen) + string(n+'A'-1)
    	gen++
    	return s
    }
    
    func g(x, y string) string {
    	return x + y
    }
    
    func main() {
    	s := f(1) + f(2)
    	if s != "aAbB" {
    		println("BUG: bug221a: ", s)
    		panic("fail")
    	}
    	s = g(f(3), f(4))
    	if s != "cCdD" {
    		println("BUG: bug221b: ", s)
    		panic("fail")
    	}
    	s = f(5) + f(6) + f(7) + f(8) + f(9)
    	if s != "eEfFgGhHiI" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 820 bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/TrieTest.groovy

        }
    
        def "can find prefix match"() {
            def trie = Trie.from("aaa", "bbb")
            expect:
            !trie.find("a")
            !trie.find("aa")
            trie.find("aaaa")
            trie.find("aaab")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

      public void testWriteBytes_discardHighOrderBytes() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.writeBytes("\uAAAA\uAABB\uAACC");
    
        byte[] data = baos.toByteArray();
    
        /* Setup input streams */
        DataInput in = new DataInputStream(new ByteArrayInputStream(data));
    
        /* Read in various values NORMALLY */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

      public void testWriteBytes_discardHighOrderBytes() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.writeBytes("\uAAAA\uAABB\uAACC");
    
        byte[] data = baos.toByteArray();
    
        /* Setup input streams */
        DataInput in = new DataInputStream(new ByteArrayInputStream(data));
    
        /* Read in various values NORMALLY */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  10. src/strings/strings_test.go

    	{"TrimRight", "abba", "", "abba"},
    	{"TrimRight", "", "123", ""},
    	{"TrimRight", "", "", ""},
    	{"TrimRight", "☺\xc0", "☺", "☺\xc0"},
    	{"TrimPrefix", "aabb", "a", "abb"},
    	{"TrimPrefix", "aabb", "b", "aabb"},
    	{"TrimSuffix", "aabb", "a", "aabb"},
    	{"TrimSuffix", "aabb", "b", "aab"},
    }
    
    func TestTrim(t *testing.T) {
    	for _, tc := range trimTests {
    		name := tc.f
    		var f func(string, string) string
    		switch name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top