Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for getAddress (0.07 sec)

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

                v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex);
          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
    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. istioctl/pkg/writer/envoy/configdump/endpoint.go

    }
    
    func retrieveEndpointPort(ep *endpoint.LbEndpoint) uint32 {
    	return ep.GetEndpoint().GetAddress().GetSocketAddress().GetPortValue()
    }
    
    func retrieveEndpointAddresses(ep *endpoint.LbEndpoint) []string {
    	addrs := []*core.Address{ep.GetEndpoint().GetAddress()}
    	for _, a := range ep.GetEndpoint().GetAdditionalAddresses() {
    		addrs = append(addrs, a.GetAddress())
    	}
    	result := make([]string, 0, len(addrs))
    	for _, addr := range addrs {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 09:57:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. 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;
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

                v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex);
          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

             */
            if ( pathNamesPossiblyEqual(this.url.getPath(), o.url.getPath()) ) {
                if ( getURLPath().equalsIgnoreCase(o.getURLPath()) ) {
                    try {
                        return getAddress().equals(o.getAddress());
                    }
                    catch ( CIFSException uhe ) {
                        log.debug("Unknown host", uhe);
                        return getServer().equalsIgnoreCase(o.getServer());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    UniAddress addr;
                    try {
                        addr = getAddress();
                    } catch( UnknownHostException uhe ) {
                        throw new SmbException( url.toString(), uhe );
                    }
                    if( addr.getAddress() instanceof NbtAddress ) {
                        int code = ((NbtAddress)addr.getAddress()).getNameType();
                        if( code == 0x1d || code == 0x1b ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  7. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java

        this.inetSocketAddress = (InetSocketAddress) endpoint;
        super.connect(new UnixSocketAddress(path), timeout);
      }
    
      @Override public InetAddress getInetAddress() {
        return inetSocketAddress.getAddress();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                 * The server name is actually the name of a trusted
                 * domain. Add DFS roots to the list.
                 */
                try {
                    entries = doDfsRootEnum(tc, locator, locator.getAddress());
                    for ( int ei = 0; ei < entries.length; ei++ ) {
                        FileEntry e = entries[ ei ];
                        if ( !set.contains(e) && ( fnf == null || fnf.accept(parent, e.getName()) ) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NbtAddress.java

        }
    
    
        /**
         * Returns the raw IP address of this NbtAddress. The result is in network
         * byte order: the highest order byte of the address is in getAddress()[0].
         *
         * @return a four byte array
         */
        public byte[] getAddress () {
            byte[] addr = new byte[4];
            addr[ 0 ] = (byte) ( ( this.address >>> 24 ) & 0xFF );
            addr[ 1 ] = (byte) ( ( this.address >>> 16 ) & 0xFF );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/UniAddress.java

            }
            return null;
        }
    
    
        /**
         * Return the underlying <tt>NbtAddress</tt> or <tt>InetAddress</tt>.
         * 
         * @return wrapped address
         */
        public Object getAddress () {
            return this.addr;
        }
    
    
        /**
         * Return the hostname of this address such as "MYCOMPUTER".
         * 
         * @return the hostname associated with the address
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
Back to top