Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Villegas (0.21 sec)

  1. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1);
          fail();
        } catch (NumberFormatException expected) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <pre>{@code
     * void exampleBadCaller() {
     *   double d = sqrt(-1.0);
     * }
     * }</pre>
     *
     * <p>would be flagged as having called {@code sqrt()} with an illegal argument.
     *
     * <h3>Performance</h3>
     *
     * <p>Avoid passing message arguments that are expensive to compute; your code will always compute
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1);
          fail();
        } catch (NumberFormatException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/io/BaseEncoding.java

          this.chars = checkNotNull(chars);
          try {
            this.bitsPerChar = log2(chars.length, UNNECESSARY);
          } catch (ArithmeticException e) {
            throw new IllegalArgumentException("Illegal alphabet length " + chars.length, e);
          }
    
          // Compute how input bytes are chunked. For example, with base64 we chunk every 3 bytes into
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

        // Squash into 224/4 Multicast and 240/4 Reserved space (i.e. 224/3).
        coercedHash |= 0xe0000000;
    
        // Fixup to avoid some "illegal" values. Currently the only potential
        // illegal value is 255.255.255.255.
        if (coercedHash == 0xffffffff) {
          coercedHash = 0xfffffffe;
        }
    
        return getInet4Address(Ints.toByteArray(coercedHash));
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  6. guava/src/com/google/common/base/Preconditions.java

     *
     * <pre>{@code
     * void exampleBadCaller() {
     *   double d = sqrt(-1.0);
     * }
     * }</pre>
     *
     * <p>would be flagged as having called {@code sqrt()} with an illegal argument.
     *
     * <h3>Performance</h3>
     *
     * <p>Avoid passing message arguments that are expensive to compute; your code will always compute
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        if (string.length() == 0) {
          throw new NumberFormatException("empty string");
        }
        if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) {
          throw new NumberFormatException("illegal radix: " + radix);
        }
    
        int maxSafePos = ParseOverflowDetection.maxSafeDigits[radix] - 1;
        long value = 0;
        for (int pos = 0; pos < string.length(); pos++) {
    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)
Back to top