Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for eth1 (0.04 sec)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

      }
    
      public void testIPv6AddressWithBadScopeId() throws SocketException, UnknownHostException {
        assertThrows(
            IllegalArgumentException.class,
            () -> InetAddresses.forString("1180::b059:65f4:e877:c40%eth9"));
      }
    
      public void testToAddrStringIPv4() {
        // Don't need to test IPv4 much; it just calls getHostAddress().
        assertEquals("1.2.3.4", InetAddresses.toAddrString(InetAddresses.forString("1.2.3.4")));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InetAddresses.java

       *
       * @param ipString {@code String} containing an IPv4 or IPv6 string literal, e.g. {@code
       *     "192.168.0.1"} or {@code "2001:db8::1"} or with a scope ID, e.g. {@code "2001:db8::1%eth0"}
       * @return {@link InetAddress} representing the argument
       * @throws IllegalArgumentException if the argument is not a valid IP string literal
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * @param ipString {@code String} containing an IPv4 or IPv6 string literal, e.g. {@code
       *     "192.168.0.1"} or {@code "2001:db8::1"} or with a scope ID, e.g. {@code "2001:db8::1%eth0"}
       * @return {@link InetAddress} representing the argument
       * @throws IllegalArgumentException if the argument is not a valid IP string literal
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top