Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 122 for MaxLength (0.13 sec)

  1. guava/src/com/google/common/base/Ascii.java

        // meaning that a string will be truncated to just the truncation indicator itself
        checkArgument(
            truncationLength >= 0,
            "maxLength (%s) must be >= length of the truncation indicator (%s)",
            maxLength,
            truncationIndicator.length());
    
        if (seq.length() <= maxLength) {
          String string = seq.toString();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jul 19 15:43:07 UTC 2021
    - 21.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_fields/test_tutorial001.py

                                {
                                    "title": "The description of the item",
                                    "anyOf": [
                                        {"maxLength": 300, "type": "string"},
                                        {"type": "null"},
                                    ],
                                }
                            )
                            | IsDict(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_fields/test_tutorial001_py310.py

                                {
                                    "title": "The description of the item",
                                    "anyOf": [
                                        {"maxLength": 300, "type": "string"},
                                        {"type": "null"},
                                    ],
                                }
                            )
                            | IsDict(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go

    func TooLong(field *Path, value interface{}, maxLength int) *Error {
    	return &Error{ErrorTypeTooLong, field.String(), value, fmt.Sprintf("must have at most %d bytes", maxLength)}
    }
    
    // TooLongMaxLength returns a *Error indicating "too long".  This is used to
    // report that the given value is too long.  This is similar to
    // Invalid, but the returned error will not include the too-long
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. pkg/proxy/util/nfacct/nfacct_linux.go

    import (
    	"bytes"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"io"
    	"syscall"
    
    	"github.com/vishvananda/netlink/nl"
    	"golang.org/x/sys/unix"
    )
    
    // MaxLength represents the maximum length allowed for the name in a nfacct counter.
    const MaxLength = 31
    
    // nf netlink nfacct commands, these should strictly match with the ones defined in kernel headers.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py

                                {
                                    "title": "The description of the item",
                                    "anyOf": [
                                        {"maxLength": 300, "type": "string"},
                                        {"type": "null"},
                                    ],
                                }
                            )
                            | IsDict(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py

                                            {
                                                "type": "string",
                                                "minLength": 3,
                                                "maxLength": 50,
                                                "pattern": "^fixedquery$",
                                            },
                                            {"type": "null"},
                                        ],
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/deepcopy.go

    	}
    
    	if in.Minimum != nil {
    		in, out := &in.Minimum, &out.Minimum
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(float64)
    			**out = **in
    		}
    	}
    
    	if in.MaxLength != nil {
    		in, out := &in.MaxLength, &out.MaxLength
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(int64)
    			**out = **in
    		}
    	}
    
    	if in.MinLength != nil {
    		in, out := &in.MinLength, &out.MinLength
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 17:55:23 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. src/encoding/gob/encoder.go

    // buffer in which to encode its length. This means we can use the
    // buffer to assemble the message without another allocation.
    const maxLength = 9 // Maximum size of an encoded length.
    var spaceForLength = make([]byte, maxLength)
    
    // NewEncoder returns a new encoder that will transmit on the [io.Writer].
    func NewEncoder(w io.Writer) *Encoder {
    	enc := new(Encoder)
    	enc.w = []io.Writer{w}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_fields/test_tutorial001_an.py

                                {
                                    "title": "The description of the item",
                                    "anyOf": [
                                        {"maxLength": 300, "type": "string"},
                                        {"type": "null"},
                                    ],
                                }
                            )
                            | IsDict(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top