Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for acbb (0.5 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. 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)
  4. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.breadthFirst(charactersOf("bc")), "bcd");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("a")), "abcd");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("acdb")), "acdb");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("db")), "db");
      }
    
      @Test
      public void forGraph_breadthFirst_multiGraph() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.breadthFirst(charactersOf("bc")), "bcd");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("a")), "abcd");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("acdb")), "acdb");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("db")), "db");
      }
    
      @Test
      public void forGraph_breadthFirst_multiGraph() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K 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. 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)
  8. 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)
  9. subprojects/core-api/src/test/groovy/org/gradle/api/tasks/util/PatternSetTest.groovy

            then:
            included file('ac')
            included file('13')
            excluded file('a')
            excluded file('1')
            excluded file('c')
            excluded file('3')
            excluded file('acb')
            excluded file('acd')
            excluded file('132')
            excluded file('132')
    
            when:
            patternSet = new PatternSet().copyFrom(patternSet)
            then:
            included file('ac')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 12:37:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/einsum.mlir

    }
    
    func.func @einsum_fourdreducelast(%arg0: tensor<2x5x7x3xf32>, %arg1: tensor<2x3x5x13xf32>) -> tensor<2x7x5x13xf32> {
      %0 = "tf.Einsum"(%arg0, %arg1) {T = "tfdtype$DT_FLOAT", equation = "acbe,aecd->abcd"}: (tensor<2x5x7x3xf32>, tensor<2x3x5x13xf32>) -> tensor<2x7x5x13xf32>
      func.return %0 : tensor<2x7x5x13xf32>
      // CHECK-LABEL: einsum_fourdreducelast
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top