Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCachedAddress (0.14 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);
    
            /*
             * This is almost exactly like InetAddress.java. See the
             * comments there for a description of how the LOOKUP_TABLE prevents
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                    } else {
                        entry.address = addr;
                        entry.expiration = expiration;
                    }
                }
            }
        }
    
        static NbtAddress getCachedAddress(final Name hostName) {
            if (CACHE_POLICY == 0) {
                return null;
            }
            synchronized (ADDRESS_CACHE) {
                CacheEntry entry = (CacheEntry) ADDRESS_CACHE.get(hostName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top