Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for oddness (0.24 sec)

  1. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     * factory method to construct instances can have their instance methods checked. For example:
     *
     * <pre>
     * public class Address {
     *   private final String city;
     *   private final String state;
     *   private final String zipcode;
     *
     *   public Address(String city, String state, String zipcode) {...}
     *
     *   {@literal @Override} public boolean equals(Object obj) {...}
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a
       * href="https://iabtechlab.com/wp-content/uploads/2019/06/VAST_4.2_final_june26.pdf">{@code
       * X-Device-IP}</a> header field name. Header used for VAST requests to provide the IP address of
       * the device on whose behalf the request is being made.
       *
       * @since 31.0
       */
      public static final String X_DEVICE_IP = "X-Device-IP";
      /**
       * The HTTP <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Ascii.java

       *
       * @since 8.0
       */
      public static final byte NUL = 0;
    
      /**
       * Start of Heading: A communication control character used at the beginning of a sequence of
       * characters which constitute a machine-sensible address or routing information. Such a sequence
       * is referred to as the "heading." An STX character has the effect of terminating a heading.
       *
       * @since 8.0
       */
      public static final byte SOH = 1;
    
      /**
    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)
  4. guava/src/com/google/common/collect/ImmutableList.java

       * @throws NullPointerException if {@code elements} contains a null element
       */
      public static <E> ImmutableList<E> copyOf(Iterator<? extends E> elements) {
        // We special-case for 0 or 1 elements, but going further is madness.
        if (!elements.hasNext()) {
          return of();
        }
        E first = elements.next();
        if (!elements.hasNext()) {
          return of(first);
        } else {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/net/InetAddresses.java

        }
    
        return true;
      }
    
      /**
       * Returns the IPv4 address embedded in an IPv4 compatible address.
       *
       * @param ip {@link Inet6Address} to be examined for an embedded IPv4 address
       * @return {@link Inet4Address} of the embedded IPv4 address
       * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address
       */
      public static Inet4Address getCompatIPv4Address(Inet6Address ip) {
    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-tests/test/com/google/common/net/InetAddressesTest.java

        }
        assertEquals(address_66_255, address);
    
        address = InetAddresses.increment(address);
        assertEquals(address_67_0, address);
    
        InetAddress address_ffffff = InetAddress.getByName("255.255.255.255");
        assertThrows(IllegalArgumentException.class, () -> InetAddresses.increment(address_ffffff));
      }
    
      public void testIncrementIPv6() throws UnknownHostException {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HostSpecifier.java

       * instead.
       *
       * <p>The specifier must be in one of these formats:
       *
       * <ul>
       *   <li>A domain name, like {@code google.com}
       *   <li>A IPv4 address string, like {@code 127.0.0.1}
       *   <li>An IPv6 address string with or without brackets, like {@code [2001:db8::1]} or {@code
       *       2001:db8::1}
       * </ul>
       *
       * @throws IllegalArgumentException if the specifier is not valid.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        }
        assertEquals(address_66_255, address);
    
        address = InetAddresses.increment(address);
        assertEquals(address_67_0, address);
    
        InetAddress address_ffffff = InetAddress.getByName("255.255.255.255");
        assertThrows(IllegalArgumentException.class, () -> InetAddresses.increment(address_ffffff));
      }
    
      public void testIncrementIPv6() throws UnknownHostException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            that it's for a use case that actually comes up in the real world. We want to hear the
            real-world use case so the community can discuss and debate whether this feature is actually
            the *best* way to address the real use case, or whether or not a different approach might be
            more appropriate.
    
    
            It's okay if you can't provide complete context on a use case. We understand if you are not
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

       *
       * @throws NullPointerException if any of {@code elements} is null
       */
      public static <E> ImmutableSet<E> copyOf(Iterator<? extends E> elements) {
        // We special-case for 0 or 1 elements, but anything further is madness.
        if (!elements.hasNext()) {
          return of();
        }
        E first = elements.next();
        if (!elements.hasNext()) {
          return of(first);
        } else {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top