Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for foo_2 (0.09 sec)

  1. test/escape2n.go

    func foo10(xx, yy *int) { // ERROR "xx does not escape$" "yy does not escape$"
    	*xx = *yy
    }
    
    func foo11() int {
    	x, y := 0, 42
    	xx := &x
    	yy := &y
    	*xx = *yy
    	return x
    }
    
    var xxx **int
    
    func foo12(yyy **int) { // ERROR "leaking param: yyy$"
    	xxx = yyy
    }
    
    // Must treat yyy as leaking because *yyy leaks, and the escape analysis
    // summaries in exported metadata do not distinguish these two cases.
    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 foo10(xx, yy *int) { // ERROR "xx does not escape$" "yy does not escape$"
    	*xx = *yy
    }
    
    func foo11() int {
    	x, y := 0, 42
    	xx := &x
    	yy := &y
    	*xx = *yy
    	return x
    }
    
    var xxx **int
    
    func foo12(yyy **int) { // ERROR "leaking param: yyy$"
    	xxx = yyy
    }
    
    // Must treat yyy as leaking because *yyy leaks, and the escape analysis
    // summaries in exported metadata do not distinguish these two cases.
    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. pkg/adsc/adsc_test.go

    				{"foo2", "foo2.bar.com", "192.1.1.2"},
    				{"foo3", "foo3.bar.com", "192.1.1.3"},
    			},
    		},
    		{
    			desc: "update-delete-and-create-resources",
    			resources: []*anypb.Any{
    				constructResource("foo2", "foo2.bar.com", "192.1.1.222", "4"),
    				constructResource("foo4", "foo4.bar.com", "192.1.1.4", "1"),
    			},
    			expectedResources: [][]string{
    				{"foo2", "foo2.bar.com", "192.1.1.222"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/StronglyTypedConfigurationAttributesResolveIntegrationTest.groovy

                           assert files.collect { it.name } == ['b-foo2.jar']
                        }
                    }
                }
                project(':b') {
                    configurations {
                        foo {
                            attributes { $debug; attribute(flavor, objects.named(Flavor, "ONE")) }
                        }
                        foo2 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 48.1K bytes
    - Viewed (0)
  5. src/net/http/pattern_test.go

    				segments: []segment{lit("foo"), wild("w")},
    			},
    		},
    		{
    			"/{$}",
    			pattern{segments: []segment{lit("/")}},
    		},
    		{
    			"DELETE example.com/a/{foo12}/{$}",
    			pattern{method: "DELETE", host: "example.com", segments: []segment{lit("a"), wild("foo12"), lit("/")}},
    		},
    		{
    			"/foo/{$}",
    			pattern{segments: []segment{lit("foo"), lit("/")}},
    		},
    		{
    			"/{a}/foo/{rest...}",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":secondTest")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":test")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest")
            if (supportsEfficientClassFiltering()) {
                assert events.tests.size() == 10
                assertTestNotExecuted(className: "example2.MyOtherTest")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    			},
    		},
    		{
    			name: "invalid request",
    			errorExpressions: map[string]string{
    				"request.foo1 == 'nope'":                 "undefined field 'foo1'",
    				"request.resource.foo2 == 'nope'":        "undefined field 'foo2'",
    				"request.requestKind.foo3 == 'nope'":     "undefined field 'foo3'",
    				"request.requestResource.foo4 == 'nope'": "undefined field 'foo4'",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    				makeGCContainer("foo1", "baz", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo2", "bar", 2, 2, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo2", "bar", 1, 1, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo2", "bar", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED),
    			},
    			remain:               []int{0, 1, 3, 4, 6, 7},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTestSpecCrossVersionSpec.groovy

            then:
            events.testClassesAndMethods.size() == 5
            assertTestExecuted(className: 'example.MyTest', methodName: 'foo', task: ':secondTest')
            assertTestExecuted(className: 'example.MyTest', methodName: 'foo2', task: ':secondTest')
            assertTestExecuted(className: 'example2.MyOtherTest2', methodName: 'baz', task: ':secondTest')
        }
    
        def "can select test methods"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_test.go

    	set := newStatefulSet(3)
    	pod := newStatefulSetPod(set, 0)
    	pod.OwnerReferences = nil
    	set2 := newStatefulSet(3)
    	set2.Name = "foo2"
    	om.setsIndexer.Add(set)
    	om.setsIndexer.Add(set2)
    	clone := *pod
    	clone.Labels = map[string]string{"foo2": "bar2"}
    	fakeResourceVersion(&clone)
    	ssc.updatePod(logger, &clone, pod)
    	if got, want := ssc.queue.Len(), 2; got != want {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top