Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for aaabb (0.18 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. 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)
  5. 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)
  6. 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)
  7. src/bytes/bytes_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"},
    }
    
    type TrimNilTest struct {
    	f   string
    	in  []byte
    	arg string
    	out []byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    	buffer   string
    	delim    byte
    	expected []string
    	err      error
    }{
    	{"", 0, []string{""}, io.EOF},
    	{"a\x00", 0, []string{"a\x00"}, nil},
    	{"abbbaaaba", 'b', []string{"ab", "b", "b", "aaab"}, nil},
    	{"hello\x01world", 1, []string{"hello\x01"}, nil},
    	{"foo\nbar", 0, []string{"foo\nbar"}, io.EOF},
    	{"alpha\nbeta\ngamma\n", '\n', []string{"alpha\n", "beta\n", "gamma\n"}, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/testing/testing.go

    		// do a good job of ensuring that writes to the same pipe through
    		// different file descriptors are delivered whole, so that writing
    		// AAA to stdout and BBB to stderr simultaneously produces
    		// AAABBB or BBBAAA on the pipe, not something like AABBBA.
    		// However, the exception to this is when the pipe fills: in that
    		// case, Go's use of non-blocking I/O means that writing AAA
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top