Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

              assertEquals(Integer.parseInt(scopeId), parsed.getScopeId());
            } else {
              assertEquals(scopeId, parsed.getScopedInterface().getName());
            }
            Inet6Address reparsed =
                (Inet6Address) InetAddresses.forString(InetAddresses.toAddrString(parsed));
            assertEquals(reparsed, parsed);
            assertEquals(reparsed.getScopeId(), parsed.getScopeId());
          }
        }
    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

        // present interfaces)
        NetworkInterface scopedInterface = ip.getScopedInterface();
        if (scopedInterface != null) {
          return "%" + scopedInterface.getName();
        }
        int scope = ip.getScopeId();
        if (scope != 0) {
          return "%" + scope;
        }
        return "";
      }
    
      /**
       * Identify and mark the longest run of zeroes in an IPv6 address.
       *
    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

        // present interfaces)
        NetworkInterface scopedInterface = ip.getScopedInterface();
        if (scopedInterface != null) {
          return "%" + scopedInterface.getName();
        }
        int scope = ip.getScopeId();
        if (scope != 0) {
          return "%" + scope;
        }
        return "";
      }
    
      /**
       * Identify and mark the longest run of zeroes in an IPv6 address.
       *
    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