Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for MaxItems (0.15 sec)

  1. tests/test_tuples.py

                                    "schema": IsDict(
                                        {
                                            "title": "Square",
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array",
                                            "prefixItems": [
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/LimitedDescription.java

        private final LinkedList<String> content;
        private final int maxItems;
    
        public LimitedDescription(int maxItems) {
            this.maxItems = maxItems;
            this.content = new LinkedList<String>();
        }
    
        public LimitedDescription append(String line) {
            content.add(0, line);
            if (content.size() > maxItems) {
                content.removeLast();
            }
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

        static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10;
    
        private int searchAttributes;
        private int tflags;
        private int informationLevel;
        private int searchStorageType = 0;
        private int maxItems;
        private String wildcard;
    
        // information levels
    
        static final int SMB_INFO_STANDARD = 1;
        static final int SMB_INFO_QUERY_EA_SIZE = 2;
        static final int SMB_INFO_QUERY_EAS_FROM_LIST = 3;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/cel_validation.go

    		// each occurrence of the object they are fields of
    		return uint64ptr(1)
    	case "array":
    		if schema.MaxItems != nil {
    			maxItems := uint64(zeroIfNegative(*schema.MaxItems))
    			return &maxItems
    		}
    		return unbounded
    	default:
    		return uint64ptr(1)
    	}
    }
    
    func zeroIfNegative(v int64) int64 {
    	if v < 0 {
    		return 0
    	}
    	return v
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

    import jcifs.util.Hexdump;
    
    
    /**
     * 
     */
    public class Trans2FindNext2 extends SmbComTransaction {
    
        private int sid, informationLevel, resumeKey, tflags;
        private String filename;
        private long maxItems;
    
    
        /**
         * 
         * @param config
         * @param sid
         * @param resumeKey
         * @param filename
         * @param batchCount
         * @param batchSize
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/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.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/common/schemas.go

    			if itemsType == nil {
    				return nil
    			}
    			var maxItems int64
    			if s.MaxItems() != nil {
    				maxItems = zeroIfNegative(*s.MaxItems())
    			} else {
    				maxItems = estimateMaxArrayItemsFromMinSize(itemsType.MinSerializedSize)
    			}
    			return apiservercel.NewListType(itemsType, maxItems)
    		}
    		return nil
    	case "object":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 18:00:45 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top