Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for foo115 (0.3 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. 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)
  5. 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)
  6. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    				makeGCContainer("foo", "bar", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo1", "baz", 2, 2, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo1", "baz", 1, 1, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo1", "baz", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo2", "bar", 2, 2, runtimeapi.ContainerState_CONTAINER_EXITED),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. pkg/adsc/adsc_test.go

    				constructResource("foo1", "foo1.bar.com", "192.1.1.1", "1"),
    				constructResource("foo2", "foo2.bar.com", "192.1.1.2", "1"),
    			},
    			expectedResources: [][]string{
    				{"foo1", "foo1.bar.com", "192.1.1.1"},
    				{"foo2", "foo2.bar.com", "192.1.1.2"},
    			},
    		},
    		{
    			desc: "create-resources-rev-1",
    			resources: []*anypb.Any{
    				constructResource("foo1", "foo1.bar.com", "192.1.1.1", "1"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  8. pkg/kube/krt/collection_test.go

    	cc.Create(&corev1.ConfigMap{ObjectMeta: metav1.ObjectMeta{Name: "foo1", Labels: lblFoo}})
    	assert.EventuallyEqual(t, fetcherSorted(Results), []Result{{NewNamed(pod), []string{"foo1"}}})
    
    	cc.Create(&corev1.ConfigMap{ObjectMeta: metav1.ObjectMeta{Name: "switch", Labels: lblFoo}})
    	assert.EventuallyEqual(t, fetcherSorted(Results), []Result{{NewNamed(pod), []string{"foo1", "switch"}}})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top