Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 59 for foo211 (0.12 sec)

  1. test/escape_indir.go

    	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
    	}
    	x := new(int) // ERROR "moved to heap: x" "new\(int\) escapes to heap"
    	sink = &x
    	var z Z
    	z.f = &x
    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. pkg/kubelet/util/sliceutils/sliceutils_test.go

    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",
    				Namespace: v1.NamespaceDefault,
    				CreationTimestamp: metav1.Time{
    					Time: time.Now().Add(time.Hour * 1),
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 08:27:42 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. 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 {
    		rows, err := printNode(&test.node, printers.GenerateOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K 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. pilot/pkg/model/gateway_test.go

    	"testing"
    
    	networking "istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // nolint lll
    func TestMergeGateways(t *testing.T) {
    	gwHTTPFoo := makeConfig("foo1", "not-default", "foo.bar.com", "name1", "http", 7, "ingressgateway", "", networking.ServerTLSSettings_SIMPLE)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. test/escape2.go

    func foo13(yyy **int) { // ERROR "leaking param content: yyy$"
    	*xxx = *yyy
    }
    
    func foo14(yyy **int) { // ERROR "yyy does not escape$"
    	**xxx = **yyy
    }
    
    func foo15(yy *int) { // ERROR "moved to heap: yy$"
    	xxx = &yy
    }
    
    func foo16(yy *int) { // ERROR "leaking param: yy$"
    	*xxx = yy
    }
    
    func foo17(yy *int) { // ERROR "yy does not escape$"
    	**xxx = *yy
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  7. test/fixedbugs/bug441.go

    // in inlined functions.  Issue 3593.
    
    package main
    
    var did int
    
    func main() {
    	foo(side())
    	foo2(side(), side())
    	foo3(side(), side())
    	T.m1(T(side()))
    	T(1).m2(side())
    	const want = 7
    	if did != want {
    		println("BUG: missing", want-did, "calls")
    	}
    }
    
    func foo(_ int) {}
    func foo2(_, _ int) {}
    func foo3(int, int) {}
    type T int
    func (_ T) m1() {}
    func (t T) m2(_ int) {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 641 bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy

            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestMethods(':secondTest', "example.MyTest", ["foo2"])
            }
            then:
            assertTaskNotExecuted(":test")
            assertTaskExecuted(":secondTest")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest")
            assertTestNotExecuted(className: "example.MyTest", methodName: "foo")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/fsys/fsys_test.go

    		seen = append(seen, filepath.ToSlash(path))
    		if info.Name() == "foo2" {
    			return filepath.SkipAll
    		}
    		return nil
    	})
    
    	wantSeen := []string{"dir", "dir/subdir1", "dir/subdir1/foo1", "dir/subdir1/foo2"}
    
    	if len(seen) != len(wantSeen) {
    		t.Errorf("paths seen in walk: got %v entries; want %v entries", len(seen), len(wantSeen))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:52:11 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  10. pkg/controller/daemon/update_test.go

    	addNodes(manager.nodeStore, 0, 5, nil)
    	manager.dsStore.Add(ds)
    	expectSyncDaemonSets(t, manager, ds, podControl, 5, 0, 0)
    	markPodsReady(podControl.podStore)
    
    	ds.Spec.Template.Spec.Containers[0].Image = "foo2/bar2"
    	ds.Spec.UpdateStrategy.Type = apps.RollingUpdateDaemonSetStrategyType
    	intStr := intstr.FromInt32(int32(maxUnavailable))
    	ds.Spec.UpdateStrategy.RollingUpdate = &apps.RollingUpdateDaemonSet{MaxUnavailable: &intStr}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 10 21:10:35 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top