Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 177 for foo0 (0.74 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    			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'",
    				"request.userInfo.foo5 == 'nope'":        "undefined field 'foo5'",
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. src/text/scanner/scanner_test.go

    		}
    	}
    }
    
    func TestIssue30320(t *testing.T) {
    	for _, test := range []struct {
    		in, want string
    		mode     uint
    	}{
    		{"foo01.bar31.xx-0-1-1-0", "01 31 0 1 1 0", ScanInts},
    		{"foo0/12/0/5.67", "0 12 0 5 67", ScanInts},
    		{"xxx1e0yyy", "1 0", ScanInts},
    		{"1_2", "1_2", ScanInts},
    		{"xxx1.0yyy2e3ee", "1 0 2 3", ScanInts},
    		{"xxx1.0yyy2e3ee", "1.0 2e3", ScanFloats},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/lookup2.go

    //
    // misspelled     x.foo   !=    Foo    type X has no field or method foo, but does have field Foo
    // missing        x.foo   !=    FoO    type X has no field or method foo
    // inaccessible   x.foo   !=    foo    cannot refer to unexported field foo
    // missing        x.foo   !=    foO    type X has no field or method foo
    
    type S struct {
    	Foo1 int
    	FoO2 int
    	foo3 int
    	foO4 int
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/labels_test.go

    			want:   labels,
    		},
    		{
    			labels:     labels,
    			labelKey:   "foo4",
    			labelValue: "89",
    			want: map[string]string{
    				"foo1": "bar1",
    				"foo2": "bar2",
    				"foo3": "bar3",
    				"foo4": "89",
    			},
    		},
    		{
    			labels:     nil,
    			labelKey:   "foo4",
    			labelValue: "12",
    			want: map[string]string{
    				"foo4": "12",
    			},
    		},
    	}
    
    	for _, tc := range cases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 11:09:05 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    				makeGCContainer("foo2", "bar2", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo3", "bar3", 1, 1, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo3", "bar3", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo4", "bar4", 1, 1, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo4", "bar4", 0, 0, 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. pkg/adsc/adsc_test.go

    				constructResource("foo1", "foo1.bar.com", "192.1.1.11", "2"),
    				constructResource("foo2", "foo2.bar.com", "192.1.1.22", "1"),
    				constructResource("foo3", "foo3.bar.com", "192.1.1.3", ""),
    			},
    			expectedResources: [][]string{
    				{"foo1", "foo1.bar.com", "192.1.1.11"},
    				{"foo2", "foo2.bar.com", "192.1.1.2"},
    				{"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)
  7. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    	expectResourceDeviceInstances(t, resp, expected)
    
    	cond = map[string]sets.Set[string]{
    		"foo": sets.New[string]("dev-foo1", "dev-foo2", "dev-foo3", "dev-foo4"),
    		"bar": sets.New[string]("dev-bar1", "dev-bar2", "dev-bar3", "dev-bar4"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue4215.go

    package main
    
    func foo() (int, int) {
    	return 2.3 // ERROR "not enough return values\n\thave \(number\)\n\twant \(int, int\)|not enough arguments to return"
    }
    
    func foo2() {
    	return int(2), 2 // ERROR "too many (arguments to return|return values)\n\thave \(int, number\)\n\twant \(\)|return with value in function with no return type"
    }
    
    func foo3(v int) (a, b, c, d int) {
    	if v >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 18 21:43:02 UTC 2022
    - 2K bytes
    - Viewed (0)
  9. pkg/kubelet/util/queue/work_queue_test.go

    	}
    }
    
    func TestGetWork(t *testing.T) {
    	q, clock := newTestBasicWorkQueue()
    	q.Enqueue(types.UID("foo1"), -1*time.Minute)
    	q.Enqueue(types.UID("foo2"), -1*time.Minute)
    	q.Enqueue(types.UID("foo3"), 1*time.Minute)
    	q.Enqueue(types.UID("foo4"), 1*time.Minute)
    	expected := []types.UID{types.UID("foo1"), types.UID("foo2")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. pkg/kubelet/config/config_test.go

    	// should register an add
    	podUpdate := CreatePodUpdate(kubetypes.ADD, TestSource, CreateValidPod("foo", "new"), CreateValidPod("foo2", "new"), CreateValidPod("foo3", "new"))
    	channel <- podUpdate
    	expectPodUpdate(t, ch, CreatePodUpdate(kubetypes.ADD, TestSource, CreateValidPod("foo", "new"), CreateValidPod("foo2", "new"), CreateValidPod("foo3", "new")))
    
    	// should ignore ADDs that are identical
    	expectNoPodUpdate(t, ch)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top