Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for foo22 (0.04 sec)

  1. test/escape2n.go

    	buf = b.i[0:]
    	b.ii = buf
    }
    
    func foo21() func() int {
    	x := 42
    	return func() int { // ERROR "func literal escapes to heap$"
    		return x
    	}
    }
    
    func foo21a() func() int {
    	x := 42             // ERROR "moved to heap: x$"
    	return func() int { // ERROR "func literal escapes to heap$"
    		x++
    		return x
    	}
    }
    
    func foo22() int {
    	x := 42
    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

    	buf = b.i[0:]
    	b.ii = buf
    }
    
    func foo21() func() int {
    	x := 42
    	return func() int { // ERROR "func literal escapes to heap$"
    		return x
    	}
    }
    
    func foo21a() func() int {
    	x := 42             // ERROR "moved to heap: x$"
    	return func() int { // ERROR "func literal escapes to heap$"
    		x++
    		return x
    	}
    }
    
    func foo22() int {
    	x := 42
    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. src/strings/replace_test.go

    	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",
    	)
    	testCases = append(testCases,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 22:53:05 UTC 2017
    - 14.1K bytes
    - Viewed (0)
  4. pkg/util/taints/taints_test.go

    		},
    		{
    			name: "match one taint",
    			taintsToCheck: []v1.Taint{
    				{
    					Key:    "foo_2",
    					Effect: v1.TaintEffectNoSchedule,
    				},
    			},
    			expectedResult: "foo_2",
    		},
    		{
    			name: "match two taints",
    			taintsToCheck: []v1.Taint{
    				{
    					Key:    "foo_2",
    					Effect: v1.TaintEffectNoSchedule,
    				},
    				{
    					Key:    "foo_3",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 09:23:35 UTC 2022
    - 22.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/kubelet/token/token_manager_test.go

    				{
    					name:      "foo-sa",
    					namespace: "foo-ns",
    					tr: &authenticationv1.TokenRequest{
    						Spec: authenticationv1.TokenRequestSpec{
    							Audiences:         []string{"foo1", "foo2"},
    							ExpirationSeconds: getInt64Point(2000),
    							BoundObjectRef: &authenticationv1.BoundObjectReference{
    								Kind: "pod",
    								Name: "foo-pod",
    								UID:  "foo-uid",
    							},
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 04 00:16:47 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  10. 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)
Back to top