Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for foo51 (0.05 sec)

  1. test/escape_indir.go

    	p1.p = &i
    	*p = *p1
    	return p
    }
    
    func foo(p **int) { // ERROR "p does not escape"
    	i := 0 // ERROR "moved to heap: i"
    	y := p
    	*y = &i
    }
    
    func foo1(p *int) { // ERROR "p does not escape"
    	i := 0 // ERROR "moved to heap: i"
    	y := &p
    	*y = &i
    }
    
    func foo2() {
    	type Z struct {
    		f **int
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  2. src/strings/example_test.go

    }
    
    func ExampleFieldsFunc() {
    	f := func(c rune) bool {
    		return !unicode.IsLetter(c) && !unicode.IsNumber(c)
    	}
    	fmt.Printf("Fields are: %q", strings.FieldsFunc("  foo1;bar2,baz3...", f))
    	// Output: Fields are: ["foo1" "bar2" "baz3"]
    }
    
    func ExampleHasPrefix() {
    	fmt.Println(strings.HasPrefix("Gopher", "Go"))
    	fmt.Println(strings.HasPrefix("Gopher", "C"))
    	fmt.Println(strings.HasPrefix("Gopher", ""))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:05:38 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputsTest.kt

            val instance = createFromPaths(listOf("foo*/*bar*/*baz/*.xml"))
            assertTrue(instance.isFileSystemCheckIgnoredFor(File("foo/bar/baz/.xml")))
            assertTrue(instance.isFileSystemCheckIgnoredFor(File("foo1/2bar3/4baz/abc.xml")))
        }
    
        @Test
        fun `recognizes double-asterisk wildcards across path segments`() {
            val instance = createFromPaths(listOf("foo/**/bar/**"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. pkg/kubelet/util/sliceutils/sliceutils_test.go

    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    func buildPodsByCreationTime() PodsByCreationTime {
    	return []*v1.Pod{
    		{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "foo1",
    				Namespace: v1.NamespaceDefault,
    				CreationTimestamp: metav1.Time{
    					Time: time.Now(),
    				},
    			},
    		},
    		{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "foo2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 08:27:42 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. 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)
  6. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    			Containers: []v1.Container{
    				{
    					Name:  "foo1",
    					Image: "busybox",
    				},
    				{
    					Name:  "foo2",
    					Image: "busybox",
    				},
    				{
    					Name:  "foo3",
    					Image: "busybox",
    				},
    			},
    		},
    		Status: v1.PodStatus{
    			ContainerStatuses: []v1.ContainerStatus{
    				{
    					ContainerID: "://id1",
    					Name:        "foo1",
    					Image:       "busybox",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    		},
    		{
    			node: api.Node{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:   "foo11",
    					Labels: map[string]string{"kubernetes.io/role": "node"},
    				},
    			},
    			// Columns: Name, Status, Roles, Age, KubeletVersion
    			expected: []metav1.TableRow{{Cells: []interface{}{"foo11", "Unknown", "node", "<unknown>", ""}}},
    		},
    	}
    
    	for i, test := range table {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	simpleStorage := SimpleRESTStorage{
    		item: genericapitesting.Simple{
    			ObjectMeta: metav1.ObjectMeta{Name: "foo1", Namespace: "ns1", CreationTimestamp: now, UID: types.UID("abcdef0123")},
    			Other:      "foo",
    		},
    		list: []genericapitesting.Simple{
    			{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo1", Namespace: "ns1", CreationTimestamp: now, UID: types.UID("newer")},
    				Other:      "foo",
    			},
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  9. pkg/api/pod/warnings_test.go

    			},
    		},
    		{
    			name: "create duplicate container ports in two containers",
    			template: &api.PodTemplateSpec{Spec: api.PodSpec{
    				Containers: []api.Container{
    					{
    						Name: "foo1",
    						Ports: []api.ContainerPort{
    							{ContainerPort: 80, HostPort: 80, Protocol: api.ProtocolUDP},
    							{ContainerPort: 180, HostPort: 80, Protocol: api.ProtocolUDP},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/podtopologyspread/plugin_test.go

    			pod: st.MakePod().Name("p").Label("foo", "").
    				SpreadConstraint(1, "zone", v1.DoNotSchedule, fooSelector, nil, nil, nil, nil).
    				Obj(),
    			oldPod:       st.MakePod().Node("fake-node").Label("foo", "foo1").Obj(),
    			newPod:       st.MakePod().Node("fake-node").Label("foo", "foo2").Obj(),
    			expectedHint: framework.QueueSkip,
    		},
    		{
    			name: "change pod's label that doesn't match topologySpreadConstraints selector",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 17 06:30:53 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top