Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for badvals (0.19 sec)

  1. src/cmd/go/testdata/script/env_write.txt

    ! go env -w GOOS
    stderr 'arguments must be KEY=VALUE: invalid argument: GOOS'
    
    # go env -w rejects invalid GO111MODULE values, as otherwise cmd/go would break
    ! go env -w GO111MODULE=badvalue
    stderr 'invalid GO111MODULE value "badvalue"'
    
    # go env -w rejects invalid GOPATH values
    ! go env -w GOPATH=~/go
    stderr 'GOPATH entry cannot start with shell metacharacter'
    
    ! go env -w GOPATH=./go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go

    	case v.Type == ErrorTypeForbidden:
    		s = v.Type.String()
    	case v.Type == ErrorTypeTooLong:
    		s = v.Type.String()
    	case v.Type == ErrorTypeInternal:
    		s = v.Type.String()
    	case v.BadValue == omitValue:
    		s = v.Type.String()
    	default:
    		value := v.BadValue
    		valueType := reflect.TypeOf(value)
    		if value == nil || valueType == nil {
    			value = "null"
    		} else if valueType.Kind() == reflect.Pointer {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/inference/inference_metrics_pass_test.cc

      static constexpr char kMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
        func.func @main() -> tensor<1xi32> {
          %0 = "tf.BadValue"() {value = dense<1000> : tensor<1xi32>} : () -> tensor<1xi32>
          func.return %0 : tensor<1xi32>
        }
      })";
      CellReader<int64_t> error(kHasTpuPartitionedCallStreamzName);
      CreateModule(kMlirModuleStr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/nn_grad_test.cc

        GTEST_SKIP() << "SetAttrString has not been implemented yet.\n";
      }
    
      // A
      float A_vals[] = {1.0f, 2.0f, 3.0f, 4.0f};
      int64_t A_dims[] = {2, 2};
      AbstractTensorHandlePtr A;
      {
        AbstractTensorHandle* A_raw;
        status_ = TestTensorHandleWithDims<float, TF_FLOAT>(
            immediate_execution_ctx_.get(), A_vals, A_dims, 2, &A_raw);
        ASSERT_EQ(errors::OK, status_.code()) << status_.message();
        A.reset(A_raw);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. pkg/registry/apps/replicaset/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: Mon Aug 09 21:04:31 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  6. pkg/apis/resource/validation/validation_resourceclaim_test.go

    	goodName := "foo"
    	badName := "!@#$%^"
    	goodNS := "ns"
    	goodClaimSpec := resource.ResourceClaimSpec{
    		ResourceClassName: goodName,
    		AllocationMode:    validMode,
    	}
    	now := metav1.Now()
    	badValue := "spaces not allowed"
    	badAPIGroup := "example.com/v1"
    	goodAPIGroup := "example.com"
    
    	scenarios := map[string]struct {
    		claim        *resource.ResourceClaim
    		wantFailures field.ErrorList
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. pkg/registry/apps/deployment/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: Mon May 01 07:17:45 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. pkg/scheduler/apis/config/validation/validation_pluginargs_test.go

    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/scheduler/apis/config"
    )
    
    var (
    	ignoreBadValueDetail = cmpopts.IgnoreFields(field.Error{}, "BadValue", "Detail")
    )
    
    func TestValidateDefaultPreemptionArgs(t *testing.T) {
    	cases := map[string]struct {
    		args     config.DefaultPreemptionArgs
    		wantErrs field.ErrorList
    	}{
    		"valid args (default)": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  9. src/reflect/all_test.go

    	badCall(func() { call(v.Field(4).Field(1).Elem().Method(0)) }) // .NamedT2.t0.W
    
    	badCall(func() { call(v.Field(5).Method(0)) })          // .namedT0.W
    	badCall(func() { call(v.Field(5).Elem().Method(0)) })   // .namedT0.W
    	badCall(func() { call(v.Field(5).Method(1)) })          // .namedT0.w
    	badMethod(func() { call(v.Field(5).Elem().Method(2)) }) // .namedT0.w
    
    	badCall(func() { call(v.Field(6).Method(0)) })        // .namedT1.Y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  10. pkg/registry/core/replicationcontroller/strategy.go

    				errs = append(errs, field.Invalid(field.NewPath("spec").Child("selector"), newRc.Spec.Selector, "cannot update non-convertible selector"))
    			}
    		default:
    			errs = append(errs, &field.Error{Type: field.ErrorTypeNotFound, BadValue: value, Field: brokenField, Detail: "unknown non-convertible field"})
    		}
    	}
    
    	return errs
    }
    
    // WarningsOnUpdate returns warnings for the given update.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:06:10 UTC 2022
    - 9.7K bytes
    - Viewed (0)
Back to top