Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for foo298 (0.12 sec)

  1. test/escape2n.go

    // does not leak m but does leak content
    func foo96(m []*int) *int { // ERROR "leaking param: m to result ~r0 level=1"
    	return m[0]
    }
    
    // does leak m
    func foo97(m [1]*int) *int { // ERROR "leaking param: m to result ~r0 level=0$"
    	return m[0]
    }
    
    // does not leak m
    func foo98(m map[int]*int) *int { // ERROR "m does not escape$"
    	return m[0]
    }
    
    // does leak m
    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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/strings/replace_test.go

    	// foo{1,2,3,4} have multiple old strings with an overall common prefix
    	// and 1- or 2- byte extensions from the common prefix.
    	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",
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 22:53:05 UTC 2017
    - 14.1K bytes
    - Viewed (0)
Back to top