Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for foo31 (0.04 sec)

  1. test/escape2n.go

    package foo
    
    import (
    	"fmt"
    	"unsafe"
    )
    
    var gxx *int
    
    func foo1(x int) { // ERROR "moved to heap: x$"
    	gxx = &x
    }
    
    func foo2(yy *int) { // ERROR "leaking param: yy$"
    	gxx = yy
    }
    
    func foo3(x int) *int { // ERROR "moved to heap: x$"
    	return &x
    }
    
    type T *T
    
    func foo3b(t T) { // ERROR "leaking param: t$"
    	*t = t
    }
    
    // xx isn't going anywhere, so use of yy is ok
    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

    package foo
    
    import (
    	"fmt"
    	"unsafe"
    )
    
    var gxx *int
    
    func foo1(x int) { // ERROR "moved to heap: x$"
    	gxx = &x
    }
    
    func foo2(yy *int) { // ERROR "leaking param: yy$"
    	gxx = yy
    }
    
    func foo3(x int) *int { // ERROR "moved to heap: x$"
    	return &x
    }
    
    type T *T
    
    func foo3b(t T) { // ERROR "leaking param: t$"
    	*t = t
    }
    
    // xx isn't going anywhere, so use of yy is ok
    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

    				}),
    				constructResourceWithOptions("foo3", "foo3.bar.com", "192.1.1.3", "1", func(resource *mcp.Resource) {
    					resource.Metadata.Labels = patchLabel(resource.Metadata.Labels, label.IoIstioRev.Name, rev) // to add
    				}),
    			},
    			expectedResources: [][]string{
    				{"foo1", "foo1.bar.com", "192.1.1.1"},
    				{"foo3", "foo3.bar.com", "192.1.1.3"},
    			},
    		},
    		{
    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. 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)
  5. 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)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsIntegrationTest.groovy

            given:
            def foo11 = mavenRepo.module("org", "foo", '1.0').artifact(classifier: 'shaded').publish()
            mavenRepo.module("org", "foo", '1.1').artifact(classifier: 'shaded').publish()
            mavenRepo.module("org", "bar", '1.0').dependsOn(classifier: 'shaded', foo11).publish()
            writeSpec {
                rootProject {
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedConfigurationIntegrationTest.groovy

                        assert artifacts.collect { it.file.name } == ['bar-1.jar', 'foo-2.jar']
    
                    }
                }
            """
    
            foo1.rootMetaData.allowGetOrHead()
            foo1.allowAll()
            foo2.allowAll()
            foo3.allowAll()
            bar1.allowAll()
    
            expect:
            //TODO: fix dependency resolution results usage in this test and remove this flag
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 26.1K 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. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ConcurrentToolingApiIntegrationSpec.groovy

            given:
            buildTestFixture.withBuildInSubDir()
            def build1 = singleProjectBuild("build1") {
                buildFile << "task foo1"
            }
            def build2 = singleProjectBuild("build2") {
                buildFile << "task foo2"
            }
    
            when:
            def allProgress = new CopyOnWriteArrayList<String>()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/LocalComponentGraphResolveStateFactoryTest.groovy

            conf1.artifacts.add(Mock(PublishArtifact))
            ConfigurationVariant variant1 = conf1.outgoing.getVariants().create("variant1")
            variant1.attributes.attribute(Attribute.of("foo1", String), "bar1")
            variant1.artifacts.add(Stub(PublishArtifact))
    
            conf2.artifacts.add(Mock(PublishArtifact))
            ConfigurationVariant variant2 = conf2.outgoing.getVariants().create("variant2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top