Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 72 for max_iters (0.15 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			ValueValidation: &schema.ValueValidation{
    				MaxItems: maxItems,
    			},
    			ValidationExtensions: schema.ValidationExtensions{
    				XValidations: apiextensions.ValidationRules{
    					{
    						Rule: rule,
    					},
    				},
    			},
    		}
    	}
    }
    
    func genArrayOfArraysWithRule(arrayType, rule string) func(maxItems *int64) *schema.Structural {
    	return func(maxItems *int64) *schema.Structural {
    		return &schema.Structural{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.json

            "maximum": 9.5,
            "exclusiveMaximum": true,
            "minimum": 11.5,
            "exclusiveMinimum": true,
            "maxLength": 13,
            "minLength": 14,
            "pattern": "patternValue",
            "maxItems": 16,
            "minItems": 17,
            "uniqueItems": true,
            "multipleOf": 19.5,
            "enum": [
              "enumValue"
            ],
            "maxProperties": 21,
            "minProperties": 22,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/deepcopy.go

    		}
    	}
    
    	if in.MinLength != nil {
    		in, out := &in.MinLength, &out.MinLength
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(int64)
    			**out = **in
    		}
    	}
    	if in.MaxItems != nil {
    		in, out := &in.MaxItems, &out.MaxItems
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(int64)
    			**out = **in
    		}
    	}
    
    	if in.MinItems != nil {
    		in, out := &in.MinItems, &out.MinItems
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 17:55:23 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/deepcopy.go

    		}
    	}
    
    	if in.MinLength != nil {
    		in, out := &in.MinLength, &out.MinLength
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(int64)
    			**out = **in
    		}
    	}
    	if in.MaxItems != nil {
    		in, out := &in.MaxItems, &out.MaxItems
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(int64)
    			**out = **in
    		}
    	}
    
    	if in.MinItems != nil {
    		in, out := &in.MinItems, &out.MinItems
    		if *in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 17:55:23 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    				Format: format,
    			},
    		},
    		ValueValidation: &schema.ValueValidation{
    			MaxItems: maxItems,
    		},
    	}
    }
    
    func TestEstimateMaxLengthJSON(t *testing.T) {
    	type maxLengthTest struct {
    		Name                string
    		InputSchema         *schema.Structural
    		ExpectedMaxElements int64
    	}
    	tests := []maxLengthTest{
    		{
    			Name:        "booleanArray",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go

    			}}}
    	return ts
    }
    
    func arraySchema(arrayType, format string, maxItems *int64) *spec.Schema {
    	return &spec.Schema{
    		SchemaProps: spec.SchemaProps{
    			Type: []string{"array"},
    			Items: &spec.SchemaOrArray{Schema: &spec.Schema{
    				SchemaProps: spec.SchemaProps{
    					Type:   []string{arrayType},
    					Format: format,
    				}}},
    			MaxItems: maxItems,
    		},
    	}
    }
    
    func maxPtr(max int64) *int64 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 17:18:27 UTC 2022
    - 13K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/kubeopenapi.go

    	ret.ExclusiveMaximum = v.ExclusiveMaximum
    	ret.Minimum = v.Minimum
    	ret.ExclusiveMinimum = v.ExclusiveMinimum
    	ret.MaxLength = v.MaxLength
    	ret.MinLength = v.MinLength
    	ret.Pattern = v.Pattern
    	ret.MaxItems = v.MaxItems
    	ret.MinItems = v.MinItems
    	ret.UniqueItems = v.UniqueItems
    	ret.MultipleOf = v.MultipleOf
    	if v.Enum != nil {
    		ret.Enum = make([]interface{}, 0, len(v.Enum))
    		for i := range v.Enum {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.yaml

          exclusiveMinimum: true
          externalDocs:
            description: descriptionValue
            url: urlValue
          format: formatValue
          id: idValue
          items:
          - {}
          maxItems: 16
          maxLength: 13
          maxProperties: 21
          maximum: 9.5
          minItems: 17
          minLength: 14
          minProperties: 22
          minimum: 11.5
          multipleOf: 19.5
          nullable: true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/zz_generated.deepcopy.go

    		*out = new(int64)
    		**out = **in
    	}
    	if in.MinLength != nil {
    		in, out := &in.MinLength, &out.MinLength
    		*out = new(int64)
    		**out = **in
    	}
    	if in.MaxItems != nil {
    		in, out := &in.MaxItems, &out.MaxItems
    		*out = new(int64)
    		**out = **in
    	}
    	if in.MinItems != nil {
    		in, out := &in.MinItems, &out.MinItems
    		*out = new(int64)
    		**out = **in
    	}
    	if in.MultipleOf != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/mlrt/tpu_conversions.mlir

      %max_iter = "tf.Const"() {__op_key = 1, value = dense<2> : tensor<i32>} : () -> tensor<i32>
      // CHECK: tf_mlrt.map_fn
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 11K bytes
    - Viewed (0)
Back to top