Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for IP (0.11 sec)

  1. android/guava/src/com/google/common/net/InetAddresses.java

       * such as "::c000:201". The output does not include a Scope ID.
       *
       * @param ip {@link InetAddress} to be converted to an address string
       * @return {@code String} containing the text-formatted IP address
       * @since 10.0
       */
      public static String toAddrString(InetAddress ip) {
        checkNotNull(ip);
        if (ip instanceof Inet4Address) {
          // For IPv4, Java's formatting is good enough.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  2. guava-tests/test/com/google/common/net/InetAddressesTest.java

          InetAddress ip = InetAddresses.forString(validIsatapAddress);
          assertTrue(InetAddresses.isIsatapAddress((Inet6Address) ip));
          assertEquals(
              "checking '" + validIsatapAddress + "'",
              ipv4,
              InetAddresses.getIsatapIPv4Address((Inet6Address) ip));
        }
        for (String nonIsatapAddress : nonIsatapAddresses) {
          InetAddress ip = InetAddresses.forString(nonIsatapAddress);
    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)
  3. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          ImmutableSet.of("foo.bar.google.com", "a.b.co.uk", "x.y.ca.us", "a.b.blogspot.com");
    
      private static final ImmutableSet<String> VALID_IP_ADDRS =
          ImmutableSet.of("1.2.3.4", "127.0.0.1", "::1", "2001:db8::1");
    
      private static final ImmutableSet<String> INVALID_IP_ADDRS =
          ImmutableSet.of(
              "", "1", "1.2.3", "...", "1.2.3.4.5", "400.500.600.700", ":", ":::1", "2001:db8:");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * Utility methods and classes for networking (such as IP addresses and domain names).
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     *
     * @author Craig Berry
     */
    @CheckReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

          InetAddress ip = InetAddresses.forString(validIsatapAddress);
          assertTrue(InetAddresses.isIsatapAddress((Inet6Address) ip));
          assertEquals(
              "checking '" + validIsatapAddress + "'",
              ipv4,
              InetAddresses.getIsatapIPv4Address((Inet6Address) ip));
        }
        for (String nonIsatapAddress : nonIsatapAddresses) {
          InetAddress ip = InetAddresses.forString(nonIsatapAddress);
    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)
  6. android/guava/src/com/google/common/net/HostSpecifier.java

    import java.net.InetAddress;
    import java.text.ParseException;
    import javax.annotation.CheckForNull;
    
    /**
     * A syntactically valid host specifier, suitable for use in a URI. This may be either a numeric IP
     * address in IPv4 or IPv6 notation, or a domain name.
     *
     * <p>Because this class is intended to represent host specifiers which can reasonably be used in a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          ImmutableSet.of("foo.bar.google.com", "a.b.co.uk", "x.y.ca.us", "a.b.blogspot.com");
    
      private static final ImmutableSet<String> VALID_IP_ADDRS =
          ImmutableSet.of("1.2.3.4", "127.0.0.1", "::1", "2001:db8::1");
    
      private static final ImmutableSet<String> INVALID_IP_ADDRS =
          ImmutableSet.of(
              "", "1", "1.2.3", "...", "1.2.3.4.5", "400.500.600.700", ":", ":::1", "2001:db8:");
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/HttpHeadersTest.java

                .buildOrThrow();
        ImmutableSet<String> uppercaseAcronyms =
            ImmutableSet.of(
                "CH", "ID", "DNT", "DNS", "DPR", "ECT", "HTTP2", "IP", "MD5", "P3P", "RTT", "TE", "UA",
                "UID", "URL", "WWW", "XSS");
        assertConstantNameMatchesString(HttpHeaders.class, specialCases, uppercaseAcronyms);
      }
    
      // Visible for other tests to use
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Jan 17 17:41:51 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

                .buildOrThrow();
        ImmutableSet<String> uppercaseAcronyms =
            ImmutableSet.of(
                "CH", "ID", "DNT", "DNS", "DPR", "ECT", "GPC", "HTTP2", "IP", "MD5", "P3P", "RTT", "TE",
                "UA", "UID", "URL", "WWW", "XSS");
        assertConstantNameMatchesString(HttpHeaders.class, specialCases, uppercaseAcronyms);
      }
    
      // Visible for other tests to use
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HostAndPort.java

       * disallow IPv6 literals that don't contain these brackets.
       *
       * <p>Note that this parser identifies IPv6 literals solely based on the presence of a colon. To
       * perform actual validation of IP addresses, see the {@link InetAddresses#forString(String)}
       * method.
       *
       * @return {@code this}, to enable chaining of calls.
       * @throws IllegalArgumentException if bracketless IPv6 is detected.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
Back to top