Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for Invalid (0.65 sec)

  1. android/guava/src/com/google/common/io/BaseEncoding.java

    @ElementTypesAreNonnullByDefault
    public abstract class BaseEncoding {
      // TODO(lowasser): consider making encodeTo(Appendable, byte[], int, int) public.
    
      BaseEncoding() {}
    
      /**
       * Exception indicating invalid base-encoded input encountered while decoding.
       *
       * @author Louis Wasserman
       * @since 15.0
       */
      public static final class DecodingException extends IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StringsTest.java

        // Identical valid surrogate pairs.
        assertEquals(
            "abc\uD8AB\uDCAB", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCABxyz"));
        // Differing valid surrogate pairs.
        assertEquals("abc", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCACxyz"));
        // One invalid pair.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

            Iterables.concat(INVALID_NAME, VALID_IP_ADDRS, INVALID_IP_ADDRS);
    
        for (String valid : validCases) {
          assertTrue(valid, InternetDomainName.isValid(valid));
        }
    
        for (String invalid : invalidCases) {
          assertFalse(invalid, InternetDomainName.isValid(invalid));
        }
      }
    
      public void testToString() {
        for (String inputName : SOMEWHERE_UNDER_PS) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InternetDomainName.java

       * including if it is a public suffix itself. For example, returns {@code true} for {@code
       * www.google.com}, {@code foo.co.uk} and {@code com}, but not for {@code invalid} or {@code
       * google.invalid}. This is the recommended method for determining whether a domain is potentially
       * an addressable host.
       *
       * <p>Note that this method is equivalent to {@link #hasRegistrySuffix()} because all registry
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultimap.java

         *
         * @throws NullPointerException if {@code key}, {@code values}, or any element in {@code values}
         *     is null. The builder is left in an invalid state.
         */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(K key, Iterable<? extends V> values) {
          if (key == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

                }
              };
    
          @Override
          public void validateClass(Class<? extends Exception> exceptionClass) {
            isValidClass.get(exceptionClass); // throws if invalid; returns safely (and caches) if valid
          }
        }
    
        enum WeakSetValidator implements GetCheckedTypeValidator {
          INSTANCE;
    
          /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Range.java

     * may be equal only if at least one of the bounds is closed:
     *
     * <ul>
     *   <li>{@code [a..a]} : a singleton range
     *   <li>{@code [a..a); (a..a]} : {@linkplain #isEmpty empty} ranges; also valid
     *   <li>{@code (a..a)} : <b>invalid</b>; an exception will be thrown
     * </ul>
     *
     * <h3>Warnings</h3>
     *
     * <ul>
     *   <li>Use immutable value types only, if at all possible. If you must use a mutable type, <b>do
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Bytes.java

       *     minLength}
       */
      public static byte[] ensureCapacity(byte[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Ints.java

       *     minLength}
       */
      public static int[] ensureCapacity(int[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        }
      }
    
      public void testParseIntThrowsExceptionForInvalidRadix() {
        // Valid radix values are Character.MIN_RADIX to Character.MAX_RADIX,
        // inclusive.
        //
        // Note: According to the spec, a NumberFormatException is thrown for a number that is not
        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top