Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for allowedValues (0.24 sec)

  1. plugin/pkg/admission/eventratelimit/apis/eventratelimit/validation/validation.go

    		idxPath := limitsPath.Index(i)
    		if !limitTypes[limit.Type] {
    			allowedValues := make([]string, len(limitTypes))
    			i := 0
    			for limitType := range limitTypes {
    				allowedValues[i] = string(limitType)
    				i++
    			}
    			allErrs = append(allErrs, field.NotSupported(idxPath.Child("type"), limit.Type, allowedValues))
    		}
    		if limit.Burst <= 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 17:38:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultConfigurationResolver.java

                Attribute<Object> key = entry.getKey();
                Set<Object> allowedValues = entry.getValue();
                Object value = consumerAttributes.getAttribute(key);
                if (!allowedValues.contains(value)) {
                    return true;
                }
            }
    
            return false;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen.cc

          return s;
        }
      }
      if (attr.has_allowed_values()) {
        if (!attr.allowed_values().list().s().empty()) {
          return strings::StrCat("\"", attr.allowed_values().list().s(0), "\"");
        } else if (!attr.allowed_values().list().type().empty()) {
          return DataType_Name(attr.allowed_values().list().type(0));
        }
      }
      auto entry = attr_default_value_map->find(attr.type());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 27 16:26:51 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. samples/extauthz/cmd/extauthz/main.go

    	"google.golang.org/genproto/googleapis/rpc/status"
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/codes"
    )
    
    const (
    	checkHeader       = "x-ext-authz"
    	allowedValue      = "allow"
    	resultHeader      = "x-ext-authz-check-result"
    	receivedHeader    = "x-ext-authz-check-received"
    	overrideHeader    = "x-ext-authz-additional-header-override"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 15 18:23:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt

              type: "list(type)"
              has_minimum: true
              allowed_values {
                list {
                  type: DT_FLOAT
                  type: DT_INT64
                  type: DT_STRING
                }
              }
            }
            attr {
              name: "Tdense"
              type: "list(type)"
              has_minimum: true
              allowed_values {
                list {
                  type: DT_FLOAT
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 01:10:27 UTC 2017
    - 46.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation.go

    				allErrs = append(allErrs, field.Required(errPath, ""))
    
    			case openapierrors.EnumFailCode:
    				values := []string{}
    				for _, allowedValue := range err.Values {
    					if s, ok := allowedValue.(string); ok {
    						values = append(values, s)
    					} else {
    						allowedJSON, _ := json.Marshal(allowedValue)
    						values = append(values, string(allowedJSON))
    					}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 18:23:28 UTC 2023
    - 15K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/cc_op_gen_test.cc

      }
      output_arg {
        name: "output"
        description: "Description for output."
        type: DT_FLOAT
      }
      attr {
        name: "T"
        type: "type"
        description: "Type for images"
        allowed_values {
          list {
            type: DT_UINT8
            type: DT_INT8
          }
        }
        default_value {
          i: 1
        }
      }
      summary: "Summary for op Foo."
      description: "Description for op Foo."
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 29 20:04:30 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  8. tensorflow/c/kernels_test.cc

    }
    
    std::string ExpectedString(const char* type) {
      const auto format_str = R"str(kernel {
      op: "TypeOp%s"
      device_type: "FakeDeviceName1"
      constraint {
        name: "T"
        allowed_values {
          list {
            type: %s
          }
        }
      }
    }
    )str";
      return absl::StrFormat(format_str, type, type);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
Back to top