Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 82 for foo31 (0.04 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. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy

    apply plugin: "java"
    apply plugin: "idea"
    
    configurations {
      bar
      foo
      foo.extendsFrom(bar)
      baz
    }
    
    dependencies {
      bar files('bar.jar')
      foo files('foo.jar', 'foo2.jar', 'foo3.jar')
      baz files('foo3.jar')
    }
    
    idea {
        module {
            scopes.COMPILE.plus << configurations.foo
            scopes.COMPILE.minus += [configurations.bar, configurations.baz]
        }
    }
    '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/go/internal/fsys/fsys_test.go

    		}
    	}
    }
    
    func TestWalkSkipAll(t *testing.T) {
    	initOverlay(t, `
    {
    	"Replace": {
    		"dir/subdir1/foo1": "dummy.txt",
    		"dir/subdir1/foo2": "dummy.txt",
    		"dir/subdir1/foo3": "dummy.txt",
    		"dir/subdir2/foo4": "dummy.txt",
    		"dir/zzlast": "dummy.txt"
    	}
    }
    -- dummy.txt --
    `)
    
    	var seen []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:52:11 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	preset := []struct {
    		key       string
    		obj       *example.Pod
    		storedObj *example.Pod
    	}{
    		{
    			key: computePodKey(foo1),
    			obj: foo1,
    		},
    		{
    			key: computePodKey(bar2),
    			obj: bar2,
    		},
    		{
    			key: computePodKey(foo3),
    			obj: foo3,
    		},
    		{
    			key: computePodKey(foo4),
    			obj: foo4,
    		},
    	}
    
    	var currentRV string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  9. 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)
  10. pilot/pkg/model/service_test.go

    					},
    				},
    			},
    			shouldEq: false,
    			name:     "different internal traffic policies",
    		},
    		{
    			first:    &Service{Hostname: host.Name("foo.com")},
    			other:    &Service{Hostname: host.Name("foo1.com")},
    			shouldEq: false,
    			name:     "different hostname",
    		},
    		{
    			first:    &Service{DefaultAddress: constants.UnspecifiedIPv6},
    			other:    &Service{DefaultAddress: constants.UnspecifiedIP},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top