Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for foo23c (0.13 sec)

  1. test/escape2n.go

    		return x
    	}()
    }
    
    func foo23(x int) func() int {
    	return func() int { // ERROR "func literal escapes to heap$"
    		return x
    	}
    }
    
    func foo23a(x int) func() int {
    	f := func() int { // ERROR "func literal escapes to heap$"
    		return x
    	}
    	return f
    }
    
    func foo23b(x int) *(func() int) {
    	f := func() int { return x } // ERROR "func literal escapes to heap$" "moved to heap: f$"
    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

    		return x
    	}()
    }
    
    func foo23(x int) func() int {
    	return func() int { // ERROR "func literal escapes to heap$"
    		return x
    	}
    }
    
    func foo23a(x int) func() int {
    	f := func() int { // ERROR "func literal escapes to heap$"
    		return x
    	}
    	return f
    }
    
    func foo23b(x int) *(func() int) {
    	f := func() int { return x } // ERROR "func literal escapes to heap$" "moved to heap: f$"
    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/adsc/adsc_test.go

    				constructResource("foo1", "foo1.bar.com", "192.1.1.11", "2"),
    				constructResource("foo2", "foo2.bar.com", "192.1.1.22", "1"),
    				constructResource("foo3", "foo3.bar.com", "192.1.1.3", ""),
    			},
    			expectedResources: [][]string{
    				{"foo1", "foo1.bar.com", "192.1.1.11"},
    				{"foo2", "foo2.bar.com", "192.1.1.2"},
    				{"foo3", "foo3.bar.com", "192.1.1.3"},
    			},
    		},
    		{
    			desc: "update-delete-and-create-resources",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  5. 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'",
    				"request.userInfo.foo5 == 'nope'":        "undefined field 'foo5'",
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/StronglyTypedConfigurationAttributesResolveIntegrationTest.groovy

      - foo2
      - foo3
    All of them match the consumer attributes:
      - Variant 'foo2' capability test:b:unspecified declares attribute 'buildType' with value 'debug', attribute 'flavor' with value 'ONE'
      - Variant 'foo3' capability test:b:unspecified declares attribute 'buildType' with value 'debug', attribute 'flavor' with value 'ONE'"""
        }
    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. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    				makeGCContainer("foo2", "bar2", 1, 1, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo2", "bar2", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo3", "bar3", 1, 1, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo3", "bar3", 0, 0, 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)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedConfigurationIntegrationTest.groovy

            def foo1 = mavenHttpRepo.module('org', 'foo', '1').publish()
            def foo2 = mavenHttpRepo.module('org', 'foo', '2').publish()
            def foo3 = mavenHttpRepo.module('org', 'foo', '3').publish()
            def bar1 = mavenHttpRepo.module('org', 'bar', '1')
                .dependsOn(foo2).publish()
    
            buildFile << """
                dependencies {
                    implementation 'org:foo:[1,3]'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. 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)
  10. pkg/util/taints/taints_test.go

    			name: "match two taints",
    			taintsToCheck: []v1.Taint{
    				{
    					Key:    "foo_2",
    					Effect: v1.TaintEffectNoSchedule,
    				},
    				{
    					Key:    "foo_3",
    					Effect: v1.TaintEffectNoSchedule,
    				},
    			},
    			expectedResult: "foo_2,foo_3",
    		},
    	}
    
    	for _, c := range cases {
    		result := CheckIfTaintsAlreadyExists(oldTaints, c.taintsToCheck)
    		if result != c.expectedResult {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 09:23:35 UTC 2022
    - 22.6K bytes
    - Viewed (0)
Back to top