Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for digit (0.02 sec)

  1. 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;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java

        WHITESPACE(CharMatcher.whitespace(), WHITESPACE_CHARACTERS),
        HASH(CharMatcher.is('#'), "#"),
        ASCII(CharMatcher.ascii(), ASCII_CHARACTERS),
        WESTERN_DIGIT("0123456789"),
        ALL_DIGIT(CharMatcher.digit(), ALL_DIGITS),
        OPS_5("+-*/%"),
        HEX_16(CharMatcher.inRange('0', '9').or(CharMatcher.inRange('A', 'F')), "0123456789ABCDEF"),
        HEX_22(
            CharMatcher.inRange('0', '9')
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  4. android/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");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Hashing.java

       *     #murmur3_32_fixed(int)} instead.
       */
      @Deprecated
      @SuppressWarnings("IdentifierName") // the best we could do for adjacent digit blocks
      public static HashFunction murmur3_32(int seed) {
        return new Murmur3_32HashFunction(seed, /* supplementaryPlaneFix= */ false);
      }
    
      /**
       * Returns a hash function implementing the <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

        }
    
        /*
         * Note that we allow (in contravention of a strict interpretation of the relevant RFCs) domain
         * 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.
         */
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  7. 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");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashCode.java

        for (int i = 1; i < bytes.length; i++) {
          val |= (bytes[i] & 0xFF) << (i * 8);
        }
        return val;
      }
    
      /**
       * Returns a string containing each byte of {@link #asBytes}, in order, as a two-digit unsigned
       * hexadecimal number in lower case.
       *
       * <p>Note that if the output is considered to be a single hexadecimal number, whether this string
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

                }
              }
            }
          }
        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseAllCodePoints() {
        // Exercise non-ASCII digit test cases and the like.
        char[] tmp = new char[2];
        for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) {
          Character.toChars(i, tmp, 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoublesTest.java

                }
              }
            }
          }
        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseAllCodePoints() {
        // Exercise non-ASCII digit test cases and the like.
        char[] tmp = new char[2];
        for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) {
          Character.toChars(i, tmp, 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top