Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCachedAddress (0.17 sec)

  1. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            if ( name.hexCode == 0x1d && svr == null ) {
                svr = this.baddr; // bit of a hack but saves a lookup
            }
            name.srcHashCode = svr != null ? svr.hashCode() : 0;
            addr = getCachedAddress(name);
    
            if ( addr == null ) {
                /*
                 * This is almost exactly like InetAddress.java. See the
                 * comments there for a description of how the LOOKUP_TABLE prevents
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                    } else {
                        entry.address = addrs[i];
                        entry.expiration = expiration;
                    }
                }
            }
        }
        static NbtAddress getCachedAddress( Name hostName ) {
            if( CACHE_POLICY == 0 ) {
                return null;
            }
            synchronized( ADDRESS_CACHE ) {
                CacheEntry entry = (CacheEntry)ADDRESS_CACHE.get( hostName );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
Back to top