Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isIPv6 (0.09 sec)

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

       * @param isIpv6 whether the created address should be IPv4 or IPv6
       * @return the BigInteger converted to an address
       * @throws IllegalArgumentException if the BigInteger is not between 0 and maximum value for IPv4
       *     or IPv6 respectively
       */
      private static InetAddress fromBigInteger(BigInteger address, boolean isIpv6) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/InetAddressesTest.java

        InetAddress address = InetAddresses.forString(ip);
        boolean isIpv6 = address instanceof Inet6Address;
        assertEquals(bigIntegerIp, InetAddresses.toBigInteger(address));
        assertEquals(
            address,
            isIpv6
                ? InetAddresses.fromIPv6BigInteger(bigIntegerIp)
                : InetAddresses.fromIPv4BigInteger(bigIntegerIp));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

       * @param isIpv6 whether the created address should be IPv4 or IPv6
       * @return the BigInteger converted to an address
       * @throws IllegalArgumentException if the BigInteger is not between 0 and maximum value for IPv4
       *     or IPv6 respectively
       */
      private static InetAddress fromBigInteger(BigInteger address, boolean isIpv6) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/server.go

    //
    // We will unconditionally flush our set before use here, so it shouldn't matter.
    func createHostsideProbeIpset(isV6 bool) (ipset.IPSet, error) {
    	linDeps := ipset.RealNlDeps()
    	probeSet, err := ipset.NewIPSet(iptables.ProbeIPSet, isV6, linDeps)
    	if err != nil {
    		return probeSet, err
    	}
    	probeSet.Flush()
    	return probeSet, nil
    }
    
    func (s *Server) Start() {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top