Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for foo207 (0.12 sec)

  1. test/escape2n.go

    // does not leak x but does leak content
    func foo105(x []*int) { // ERROR "leaking param content: x"
    	_ = append(y, x...)
    }
    
    // does leak x
    func foo106(x *int) { // ERROR "leaking param: x$"
    	_ = append(y, x)
    }
    
    func foo107(x *int) map[*int]*int { // ERROR "leaking param: x$"
    	return map[*int]*int{x: nil} // ERROR "map\[\*int\]\*int{...} escapes to heap$"
    }
    
    func foo108(x *int) map[*int]*int { // ERROR "leaking param: x$"
    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. 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)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsIntegrationTest.groovy

            }
        }
    
        void 'dependency updated through constraints has its transitive dependencies'() {
            given:
            def foo10 = mavenRepo.module('org', 'foo', '1.0').publish()
            mavenRepo.module('org', 'bar', '1.0').publish()
            mavenRepo.module('org', 'bar', '1.1').dependsOn(foo10).publish()
            writeSpec {
                rootProject {
                    dependencies {
                        conf 'org:bar:1.0'
    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. 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)
  5. 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)
  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. 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)
  8. 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)
  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. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/PlatformResolveIntegrationTest.groovy

            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)
Back to top