Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for badvalue2 (0.2 sec)

  1. pkg/kubelet/cm/cpumanager/policy_static_test.go

    		},
    		{
    			description: "bad single arg",
    			policyOptions: map[string]string{
    				"badValue1": "",
    			},
    			expectedError: true,
    		},
    		{
    			description: "bad multiple arg",
    			policyOptions: map[string]string{
    				"badValue1": "",
    				"badvalue2": "aaaa",
    			},
    			expectedError: true,
    		},
    		{
    			description: "good arg",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/validation/validation_test.go

    			t.Errorf("expected true for '%s': %v", val, msgs)
    		}
    	}
    
    	badValues := []string{
    		"", "A", "ABC", "aBc", "A1", "A-1", "1-A",
    		"-", "a-", "-a", "1-", "-1",
    		"_", "a_", "_a", "a_b", "1_", "_1", "1_2",
    		".", "a.", ".a", "a.b", "1.", ".1", "1.2",
    		" ", "a ", " a", "a b", "1 ", " 1", "1 2",
    		strings.Repeat("a", 64),
    	}
    	for _, val := range badValues {
    		if msgs := IsDNS1123Label(val); len(msgs) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 04:51:54 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. operator/cmd/mesh/testdata/manifest-generate/input/flag_force.yaml

    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    spec:
      profile: empty
      components:
        pilot:
          enabled: true
      values:
        global:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 07 02:36:43 UTC 2020
    - 171 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go

    				&field.Error{
    					Type:     field.ErrorTypeInvalid,
    					Field:    "values",
    					BadValue: []string{},
    				},
    			},
    		},
    		{
    			Key:  "x2",
    			Op:   selection.NotIn,
    			Vals: sets.NewString(),
    			WantErr: field.ErrorList{
    				&field.Error{
    					Type:     field.ErrorTypeInvalid,
    					Field:    "values",
    					BadValue: []string{},
    				},
    			},
    		},
    		{
    			Key:  "x3",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 29.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization_test.cc

        func.func @main() -> tensor<1xi32> {
          %0 = "tf.BadValue"() {value = dense<1000> : tensor<1xi32>} : () -> tensor<1xi32>
          func.return %0 : tensor<1xi32>
        }
      })";
      CellReader<int64_t> error(kFailedLegalizationStreamz);
      CreateModule(kMlirModuleStr);
    
      auto result = Run();
    
      EXPECT_TRUE(result.failed());
      EXPECT_EQ(error.Delta("tf.BadValue"), 1);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go

                `),
    			RootOldObject: mustUnstructured(`
                    foo:
                    - bar: fizz
                      val: fizzValue
                    - bar: baz
                      val: bazValue
                `),
    			Schema: mustSchema(`
                    properties:
                      foo:
                        type: array
                        items:
                          type: object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 21:36:46 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyExtraInfoTest.groovy

                    (new NamespaceId('http://my.extra.info', 'bar')): 'barValue'
            ])
    
            expect:
            extraInfo.asMap() == [
                    (new QName('http://my.extra.info', 'foo')): 'fooValue',
                    (new QName('http://some.extra.info', 'foo')): 'anotherValue',
                    (new QName('http://my.extra.info', 'bar')): 'barValue'
            ]
        }
    
        def "map view is immutable" () {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. pkg/registry/apps/daemonset/strategy_test.go

    			},
    			map[string]string{"a": "b"},
    			map[string]string{"c": "d"},
    			field.ErrorList{
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: field.NewPath("spec").Child("selector").String(),
    					BadValue: &metav1.LabelSelector{
    						MatchLabels:      map[string]string{"c": "d"},
    						MatchExpressions: []metav1.LabelSelectorRequirement{},
    					},
    					Detail: "field is immutable",
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/IvySpecificComponentMetadataRulesIntegrationTest.groovy

                'org.test:projectA:1.0' {
                    withModule {
                        withExtraInfo((IvySpecificComponentMetadataRulesIntegrationTest.ns('foo')): "fooValue", (IvySpecificComponentMetadataRulesIntegrationTest.ns('bar')): "barValue")
                        withBranch('someBranch')
                        withStatus('release')
                    }
                }
            }
    
            buildFile <<
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. pkg/apis/resource/validation/validation_resourceslice_test.go

    		},
    	}
    }
    
    func TestValidateResourceSlice(t *testing.T) {
    	goodName := "foo"
    	badName := "!@#$%^"
    	driverName := "test.example.com"
    	now := metav1.Now()
    	badValue := "spaces not allowed"
    
    	scenarios := map[string]struct {
    		slice        *resource.ResourceSlice
    		wantFailures field.ErrorList
    	}{
    		"good": {
    			slice: testResourceSlice(goodName, goodName, driverName),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top