Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for bar_ (0.09 sec)

  1. pkg/kubelet/pod/mirror_client_test.go

    		Name      string
    		Namespace string
    	}
    	successfulCases := map[string]nameTuple{
    		"bar_foo":         {Name: "bar", Namespace: "foo"},
    		"bar.org_foo.com": {Name: "bar.org", Namespace: "foo.com"},
    		"bar-bar_foo":     {Name: "bar-bar", Namespace: "foo"},
    	}
    	failedCases := []string{"barfoo", "bar_foo_foo", "", "bar_", "_foo"}
    
    	for podFullName, expected := range successfulCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 08 12:44:09 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. pkg/util/labels/labels_test.go

    package labels
    
    import (
    	"reflect"
    	"testing"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    func TestCloneAndAddLabel(t *testing.T) {
    	labels := map[string]string{
    		"foo1": "bar1",
    		"foo2": "bar2",
    		"foo3": "bar3",
    	}
    
    	cases := []struct {
    		labels     map[string]string
    		labelKey   string
    		labelValue string
    		want       map[string]string
    	}{
    		{
    			labels: labels,
    			want:   labels,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 17:34:12 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/labels_test.go

    limitations under the License.
    */
    
    package v1
    
    import (
    	"reflect"
    	"testing"
    )
    
    func TestCloneSelectorAndAddLabel(t *testing.T) {
    	labels := map[string]string{
    		"foo1": "bar1",
    		"foo2": "bar2",
    		"foo3": "bar3",
    	}
    	matchExpressions := []LabelSelectorRequirement{
    		{Key: "foo", Operator: LabelSelectorOpIn, Values: []string{"foo"}},
    	}
    
    	cases := []struct {
    		labels     map[string]string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 11:09:05 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/env_test.go

    				{
    					EnvVar: v1.EnvVar{Name: "Foo1", Value: "Bar1"},
    				},
    				{
    					EnvVar: v1.EnvVar{Name: "Foo2", Value: "Bar2"},
    				},
    			},
    			extraEnv: []kubeadmapi.EnvVar{
    				{
    					EnvVar: v1.EnvVar{Name: "Foo3", Value: "Bar3"},
    				},
    			},
    			mergedEnv: []v1.EnvVar{
    				{Name: "Foo1", Value: "Bar1"},
    				{Name: "Foo2", Value: "Bar2"},
    				{Name: "Foo3", Value: "Bar3"},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 09:09:19 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultImmutableAttributesFactoryTest.groovy

            then:
            attributes.getAttribute(FOO) == "foo"
            attributes.findEntry(FOO).get() == "foo"
            attributes.findEntry("foo").get() == "foo"
    
            attributes.getAttribute(BAR) == "bar"
            attributes.findEntry(BAR).get() == "bar"
            attributes.findEntry("bar").get() == "bar"
    
            attributes.getAttribute(BAZ) == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 07 17:59:06 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/argument_test.go

    			args:         []Arg{{Name: "foo", Value: "bar1"}, {Name: "foo", Value: "bar2"}},
    			name:         "foo",
    			value:        "zz",
    			nArgs:        1,
    			expectedArgs: []Arg{{Name: "foo", Value: "bar1"}, {Name: "foo", Value: "zz"}},
    		},
    		{
    			testName:     "update all arguments",
    			args:         []Arg{{Name: "foo", Value: "bar1"}, {Name: "foo", Value: "bar2"}},
    			name:         "foo",
    			value:        "zz",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, const FloatConst = 1.5  // 3/2
    pkg p1, const FloatConst ideal-float
    pkg p1, const StrConst = "foo"
    pkg p1, const StrConst ideal-string
    pkg p1, func Bar(int8, int16, int64)
    pkg p1, func Bar1(int8, int16, int64) uint64
    pkg p1, func Bar2(int8, int16, int64) (uint8, uint64)
    pkg p1, func BarE() Error
    pkg p1, func Now() Time
    pkg p1, func PlainFunc(int, int, string) (*B, error)
    pkg p1, func TakesFunc(func(int) int)
    pkg p1, method (*B) JustOnB()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/preserve-entry-func-names.mlir

    attributes {tf.entry_function = {inputs = "foo,bar", outputs = "Add"}} {
      %graph = tf_executor.graph {
        // This node would be renamed to bar1 [note: if imported from TF graphdef this would not be possible]
        %2:2 = tf_executor.island wraps "tf.Identity"(%arg1) {device = "", dtype = "tfdtype$DT_INT32"} : (tensor<10xi32>) -> tensor<10xi32> loc ("bar")
        // The following node would be renamed to bar2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. pkg/filewatcher/fakefilewatcher_test.go

    		}
    	}
    
    	// verify Close()
    	for _, file := range []string{"foo3", "bar3", "baz3"} {
    		watcher.Add(file)
    	}
    	if err := watcher.Close(); err != nil {
    		t.Fatalf("Close() failed: %v", err)
    	}
    
    	for _, file := range []string{"foo2", "bar2", "baz2"} {
    		wantEvent := fsnotify.Event{Name: file, Op: fsnotify.Write}
    		fakeWatcher.InjectEvent(file, wantEvent)
    		select {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/internal/impl/PropertiesAsMapTest.java

    class PropertiesAsMapTest {
    
        @Test
        void testPropertiesAsMap() {
            Properties props = new Properties();
            props.setProperty("foo1", "bar1");
            props.setProperty("foo2", "bar2");
            PropertiesAsMap pam = new PropertiesAsMap(props);
            assertEquals(2, pam.size());
            Set<Entry<String, String>> set = pam.entrySet();
            assertNotNull(set);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top