Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for foo110 (0.18 sec)

  1. test/escape2n.go

    func foo111(x *int) *int { // ERROR "leaking param: x to result ~r0 level=0"
    	m := []*int{x} // ERROR "\[\]\*int{...} does not escape$"
    	return m[0]
    }
    
    func foo112(x *int) *int { // ERROR "leaking param: x to result ~r0 level=0$"
    	m := [1]*int{x}
    	return m[0]
    }
    
    func foo113(x *int) *int { // ERROR "leaking param: x to result ~r0 level=0$"
    	m := Bar{ii: x}
    	return m.ii
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  2. test/escape2.go

    func foo111(x *int) *int { // ERROR "leaking param: x to result ~r0 level=0"
    	m := []*int{x} // ERROR "\[\]\*int{...} does not escape$"
    	return m[0]
    }
    
    func foo112(x *int) *int { // ERROR "leaking param: x to result ~r0 level=0$"
    	m := [1]*int{x}
    	return m[0]
    }
    
    func foo113(x *int) *int { // ERROR "leaking param: x to result ~r0 level=0$"
    	m := Bar{ii: x}
    	return m.ii
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsIntegrationTest.groovy

            def bar20 = mavenRepo.module('org', 'bar', '2.0').publish()
            def foo10 = mavenRepo.module('org', 'foo', '1.0').dependsOn(bar10).publish()
            def foo13 = mavenRepo.module('org', 'foo', '1.3').dependsOn(bar10).publish()
            def bar15 = mavenRepo.module('org', 'bar', '1.5').publish()
            def foo15 = mavenRepo.module('org', 'foo', '1.5').dependsOn(bar15).publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/PlatformResolveIntegrationTest.groovy

            checkConfiguration("compileClasspath")
    
            when:
            platform.pom.expectGet()
            platform.moduleMetadata.expectGet()
            foo11.pom.expectGet()
            foo11.moduleMetadata.expectGet()
            foo10.pom.expectGet()
            foo10.moduleMetadata.expectGet()
            foo10.artifact.expectGet()
    
            run ":checkDeps"
    
            then:
            resolve.expectGraph {
                root(":", "org.test:test:1.9") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. src/strings/replace_test.go

    	// and 1- or 2- byte extensions from the common prefix.
    	foo1 := NewReplacer(
    		"foo1", "A",
    		"foo2", "B",
    		"foo3", "C",
    	)
    	foo2 := NewReplacer(
    		"foo1", "A",
    		"foo2", "B",
    		"foo31", "C",
    		"foo32", "D",
    	)
    	foo3 := NewReplacer(
    		"foo11", "A",
    		"foo12", "B",
    		"foo31", "C",
    		"foo32", "D",
    	)
    	foo4 := NewReplacer(
    		"foo12", "B",
    		"foo32", "D",
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 22:53:05 UTC 2017
    - 14.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types.go

    	// major version, then minor version. An example sorted list of versions:
    	// v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.
    	Versions []CustomResourceDefinitionVersion
    	// AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column.
    	// Optional, the global columns for all versions.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. src/text/scanner/scanner_test.go

    		}
    	}
    }
    
    func TestIssue30320(t *testing.T) {
    	for _, test := range []struct {
    		in, want string
    		mode     uint
    	}{
    		{"foo01.bar31.xx-0-1-1-0", "01 31 0 1 1 0", ScanInts},
    		{"foo0/12/0/5.67", "0 12 0 5 67", ScanInts},
    		{"xxx1e0yyy", "1 0", ScanInts},
    		{"1_2", "1_2", ScanInts},
    		{"xxx1.0yyy2e3ee", "1 0 2 3", ScanInts},
    		{"xxx1.0yyy2e3ee", "1.0 2e3", ScanFloats},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  8. src/strings/example_test.go

    }
    
    func ExampleFieldsFunc() {
    	f := func(c rune) bool {
    		return !unicode.IsLetter(c) && !unicode.IsNumber(c)
    	}
    	fmt.Printf("Fields are: %q", strings.FieldsFunc("  foo1;bar2,baz3...", f))
    	// Output: Fields are: ["foo1" "bar2" "baz3"]
    }
    
    func ExampleHasPrefix() {
    	fmt.Println(strings.HasPrefix("Gopher", "Go"))
    	fmt.Println(strings.HasPrefix("Gopher", "C"))
    	fmt.Println(strings.HasPrefix("Gopher", ""))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:05:38 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  9. src/net/http/request_test.go

    		}
    	}
    }
    
    func TestMultipartReader(t *testing.T) {
    	tests := []struct {
    		shouldError bool
    		contentType string
    	}{
    		{false, `multipart/form-data; boundary="foo123"`},
    		{false, `multipart/mixed; boundary="foo123"`},
    		{true, `text/plain`},
    	}
    
    	for i, test := range tests {
    		req := &Request{
    			Method: "POST",
    			Header: Header{"Content-Type": {test.contentType}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go

    	// major version, then minor version. An example sorted list of versions:
    	// v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.
    	// +listType=atomic
    	Versions []CustomResourceDefinitionVersion `json:"versions" protobuf:"bytes,7,rep,name=versions"`
    
    	// conversion defines conversion settings for the CRD.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top