Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for aAbB (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top