Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for maxLength (0.25 sec)

  1. android/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();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  2. 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();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

        this.toString = checkNotNull(toString);
        this.prototype = getMessageDigest(algorithmName);
        int maxLength = prototype.getDigestLength();
        checkArgument(
            bytes >= 4 && bytes <= maxLength, "bytes (%s) must be >= 4 and < %s", bytes, maxLength);
        this.bytes = bytes;
        this.supportsClone = supportsClone(prototype);
      }
    
      private static boolean supportsClone(MessageDigest digest) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteSource.java

          checkArgument(length >= 0, "length (%s) may not be negative", length);
          long maxLength = this.length - offset;
          return maxLength <= 0
              ? ByteSource.empty()
              : ByteSource.this.slice(this.offset + offset, Math.min(length, maxLength));
        }
    
        @Override
        public boolean isEmpty() throws IOException {
          return length == 0 || super.isEmpty();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            final String value;
            final int maxLength = getLdapMaxUsernameLengthAsInteger();
            if (username == null) {
                value = StringUtil.EMPTY;
            } else if (maxLength >= 0 && username.length() > maxLength) {
                value = username.substring(0, maxLength);
            } else {
                value = username;
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
Back to top