Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for setAddress (0.26 sec)

  1. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        synchronized( LOCK ) {
                            request.nameTrnId = getNextNameTrnId();
                            nid = new Integer( request.nameTrnId );
    
                            out.setAddress( request.addr );
                            out.setLength( request.writeWireFormat( snd_buf, 0 ));
                            response.received = false;
    
                            responseTable.put( nid, response );
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                        synchronized ( this.LOCK ) {
                            request.nameTrnId = getNextNameTrnId();
                            nid = new Integer(request.nameTrnId);
    
                            this.out.setAddress(request.addr);
                            this.out.setLength(request.writeWireFormat(this.snd_buf, 0));
                            response.received = false;
    
                            this.responseTable.put(nid, response);
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K 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;
            }
        }
    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)
  4. 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());
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  5. 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)
  6. 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()) ) ) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K 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();
      }
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  8. 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)
  9. 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 ) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  10. 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 );
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 15.2K bytes
    - Viewed (0)
Back to top