Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setAddress (0.2 sec)

  1. src/main/java/org/codelibs/core/net/UuidUtil.java

            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
        private static byte[] getAddress() {
            try {
                return InetAddress.getLocalHost().getAddress();
            } catch (final UnknownHostException ignore) {
                return DEFAULT_ADDRESS;
            }
        }
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

     * literals -- there is no blocking DNS penalty for a malformed string.
     *
     * <p>When dealing with {@link Inet4Address} and {@link Inet6Address} objects as byte arrays (vis.
     * {@code InetAddress.getAddress()}) they are 4 and 16 bytes in length, respectively, and represent
     * the address in network byte order.
     *
     * <p>Examples of IP addresses and their byte representations:
     *
     * <dl>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  3. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	return ep.GetHealthStatus()
    }
    
    func retrieveEndpointPort(ep *endpoint.LbEndpoint) uint32 {
    	return ep.GetEndpoint().GetAddress().GetSocketAddress().GetPortValue()
    }
    
    func retrieveEndpointAddress(ep *endpoint.LbEndpoint) string {
    	addr := ep.GetEndpoint().GetAddress()
    	if addr := addr.GetSocketAddress(); addr != nil {
    		return addr.Address + ":" + strconv.Itoa(int(addr.GetPortValue()))
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top