Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for foo4 (0.04 sec)

  1. pkg/util/labels/labels_test.go

    				"foo3": "bar3",
    				"foo4": "food",
    			},
    		},
    		{
    			labels:     nil,
    			labelKey:   "foo4",
    			labelValue: "food",
    			want: map[string]string{
    				"foo4": "food",
    			},
    		},
    	}
    
    	for _, tc := range cases {
    		got := AddLabel(tc.labels, tc.labelKey, tc.labelValue)
    		if !reflect.DeepEqual(got, tc.want) {
    			t.Errorf("got %v, want %v", got, tc.want)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 17:34:12 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-name-bug.pbtxt

        }
      }
      function {
        signature {
          name: "foo4"
        }
      }
      function {
        signature {
          name: "foo5"
        }
      }
      function {
        signature {
          name: "foo6"
        }
      }
      function {
        signature {
          name: "foo7"
        }
      }
      function {
        signature {
          name: "foo8"
        }
      }
      function {
        signature {
          name: "foo9"
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/lookup2.go

    	var x S
    	_ = x.Foo1 // OK
    	_ = x.Foo2 // ERROR "x.Foo2 undefined (type S has no field or method Foo2, but does have field FoO2)"
    	_ = x.Foo3 // ERROR "x.Foo3 undefined (type S has no field or method Foo3, but does have field foo3)"
    	_ = x.Foo4 // ERROR "x.Foo4 undefined (type S has no field or method Foo4, but does have field foO4)"
    
    	_ = x.foo1 // ERROR "x.foo1 undefined (type S has no field or method foo1, but does have field Foo1)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. test/fixedbugs/issue5755.dir/a.go

    package a
    
    type I interface {
    	F()
    }
    
    type foo1 []byte
    type foo2 []rune
    type foo3 []uint8
    type foo4 []int32
    type foo5 string
    type foo6 string
    type foo7 string
    type foo8 string
    type foo9 string
    
    func (f foo1) F() { return }
    func (f foo2) F() { return }
    func (f foo3) F() { return }
    func (f foo4) F() { return }
    func (f foo5) F() { return }
    func (f foo6) F() { return }
    func (f foo7) F() { return }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 28 21:29:13 UTC 2013
    - 1.3K bytes
    - Viewed (0)
  6. pkg/cache/cache_test.go

    	c.Set("foo5", "bar")
    	c.Set("foo6", "bar")
    	c.Set("foo7", "bar")
    
    	wg := new(sync.WaitGroup)
    	workers := runtime.NumCPU()
    	each := b.N / workers
    	wg.Add(workers)
    
    	b.ResetTimer()
    	for i := 0; i < workers; i++ {
    		go func() {
    			for j := 0; j < each; j++ {
    				c.Get("foo1")
    				c.Get("foo2")
    				c.Get("foo3")
    				c.Get("foo5")
    				c.Get("foo6")
    				c.Get("foo7")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. 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)
  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. pilot/pkg/model/gateway_test.go

    	gwHTTPWildcard := makeConfig("foo3", "not-default", "*", "name3", "http", 8, "ingressgateway", "", networking.ServerTLSSettings_SIMPLE)
    	gwTCPWildcard := makeConfig("foo4", "not-default-2", "*", "name4", "tcp", 8, "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)
  10. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope/subsitutionOverride.txt

    fun <S> foo1(t: Int): Int fromClass Y
      S from /Y.foo1
      t: Int from /Y.foo1
    
    fun <Q> foo2(t: Int) fromClass Y
      Q from /Y.foo2
      t: Int from /Y.foo2
    
    fun <U> foo3() fromClass X
      U from /X.foo3
    
    fun equals(other: Any?): Boolean fromClass kotlin/Any
      other: Any? from kotlin/Any.equals
    
    fun hashCode(): Int fromClass kotlin/Any
    
    fun toString(): String fromClass kotlin/Any
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Nov 22 17:25:30 UTC 2022
    - 400 bytes
    - Viewed (0)
Back to top