Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for digit (0.22 sec)

  1. android/guava/src/com/google/common/base/CharMatcher.java

        return Digit.INSTANCE;
      }
    
      /**
       * Determines whether a character is a BMP digit according to {@linkplain Character#isDigit(char)
       * Java's definition}. If you only care to match ASCII digits, you can use {@code inRange('0',
       * '9')}.
       *
       * @deprecated Many digits are supplementary characters; see the class documentation.
       * @since 19.0 (since 1.0 as constant {@code JAVA_DIGIT})
       */
      @Deprecated
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Longs.java

          return null;
        }
        int digit = AsciiDigits.digit(string.charAt(index++));
        if (digit < 0 || digit >= radix) {
          return null;
        }
        long accum = -digit;
    
        long cap = Long.MIN_VALUE / radix;
    
        while (index < string.length()) {
          digit = AsciiDigits.digit(string.charAt(index++));
          if (digit < 0 || digit >= radix || accum < cap) {
            return null;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

          throw new NumberFormatException();
        }
        int octet = 0;
        for (int i = start; i < end; i++) {
          octet *= 10;
          int digit = Character.digit(ipString.charAt(i), 10);
          if (digit < 0) {
            throw new NumberFormatException();
          }
          octet += digit;
        }
        if (octet > 255) {
          throw new NumberFormatException();
        }
        return (byte) octet;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/primitives/UnsignedLongs.java

          int digit = Character.digit(string.charAt(pos), radix);
          if (digit == -1) {
            throw new NumberFormatException(string);
          }
          if (pos > maxSafePos && ParseOverflowDetection.overflowInParse(value, digit, radix)) {
            throw new NumberFormatException("Too large for unsigned long: " + string);
          }
          value = (value * radix) + digit;
        }
    
        return value;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/CoreLibConstants.java

        public static final String DATE_FORMAT_ISO_8601_EXTEND_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
    
        public static final String DATE_FORMAT_DIGIT_ONLY = "yyyyMMddHHmmss";
    
        protected CoreLibConstants() {
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  6. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

         */
        @Test
        void testMng6572() {
            String a = "20190126.230843"; // resembles a SNAPSHOT
            String b = "1234567890.12345"; // 10 digit number
            String c = "123456789012345.1H.5-beta"; // 15 digit number
            String d = "12345678901234567890.1H.5-beta"; // 20 digit number
    
            checkVersionsOrder(a, b);
            checkVersionsOrder(b, c);
            checkVersionsOrder(a, c);
            checkVersionsOrder(c, d);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CharMatcher.java

        return Digit.INSTANCE;
      }
    
      /**
       * Determines whether a character is a BMP digit according to {@linkplain Character#isDigit(char)
       * Java's definition}. If you only care to match ASCII digits, you can use {@code inRange('0',
       * '9')}.
       *
       * @deprecated Many digits are supplementary characters; see the class documentation.
       * @since 19.0 (since 1.0 as constant {@code JAVA_DIGIT})
       */
      @Deprecated
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        /** The key of the message: {item} is numeric value out of bounds (&lt;{integer} digits&gt;.&lt;{fraction} digits&gt; expected). */
        public static final String CONSTRAINTS_Digits_MESSAGE = "{constraints.Digits.message}";
    
        /** The key of the message: {item} must be in the future. */
        public static final String CONSTRAINTS_Future_MESSAGE = "{constraints.Future.message}";
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 119.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InternetDomainName.java

         * parts other than the last may begin with a digit (for example, "3com.com"). It's important to
         * disallow an initial digit in the last part; it's the only thing that stops an IPv4 numeric
         * address like 127.0.0.1 from looking like a valid domain name.
         */
    
        if (isFinalPart && DIGIT_MATCHER.matches(part.charAt(0))) {
          return false;
        }
    
        return true;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestNoMatches(forPredicate(Predicates.equalTo('c')), "abe");
        doTestNoMatches(inRange('A', 'Z').and(inRange('F', 'K').negate()), "F1a");
        doTestNoMatches(CharMatcher.digit(), "\tAz()");
        doTestNoMatches(CharMatcher.javaDigit(), "\tAz()");
        doTestNoMatches(CharMatcher.digit().and(CharMatcher.ascii()), "\tAz()");
        doTestNoMatches(CharMatcher.singleWidth(), "\u05bf\u3000");
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
Back to top