- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for barValue (0.25 sec)
-
pkg/apis/resource/validation/validation_resourceclassparameters_test.go
Namespace: namespace, }, Filters: filters, } } var goodFilters []resource.ResourceFilter func TestValidateResourceClassParameters(t *testing.T) { goodName := "foo" badName := "!@#$%^" badValue := "spaces not allowed" now := metav1.Now() scenarios := map[string]struct { parameters *resource.ResourceClassParameters wantFailures field.ErrorList }{ "good": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:21:16 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclass_test.go
goodName := "foo" now := metav1.Now() goodParameters := resource.ResourceClassParametersReference{ Name: "valid", Namespace: "valid", Kind: "foo", } badName := "!@#$%^" badValue := "spaces not allowed" badAPIGroup := "example.com/v1" goodAPIGroup := "example.com" scenarios := map[string]struct { class *resource.ResourceClass wantFailures field.ErrorList }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 10.6K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
src/text/template/exec.go
// setTopVar overwrites the top-nth variable on the stack. Used by range iterations. func (s *state) setTopVar(n int, value reflect.Value) { s.vars[len(s.vars)-n].value = value } // varValue returns the value of the named variable. func (s *state) varValue(name string) reflect.Value { for i := s.mark() - 1; i >= 0; i-- { if s.vars[i].name == name { return s.vars[i].value } } s.errorf("undefined variable: %s", name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 87.2K bytes - Viewed (0) -
pkg/apis/core/v1/conversion.go
if !ok { return err } if out.Annotations == nil { out.Annotations = make(map[string]string) } out.Annotations[v1.NonConvertibleAnnotationPrefix+"/"+fieldErr.Field] = reflect.ValueOf(fieldErr.BadValue).String() } if err := Convert_apps_ReplicaSetStatus_To_v1_ReplicationControllerStatus(&in.Status, &out.Status, s); err != nil { return err } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:30:55 UTC 2024 - 19K bytes - Viewed (0)