- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for CacheEntry (0.19 sec)
-
src/main/java/jcifs/smb/DfsImpl.java
* @param links * @return */ private static CacheEntry<DfsReferralDataInternal> cacheRootReferral ( CIFSContext tf, String domain, String root, Map<String, CacheEntry<DfsReferralDataInternal>> roots, DfsReferralDataInternal dr, CacheEntry<DfsReferralDataInternal> links ) { if ( dr != null ) { links = new CacheEntry<>(tf.getConfig().getDfsTtl()); links.map.put("\\", dr);
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:07:29 GMT 2023 - 29.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapRetrievalCache.java
} private void addToCache(K key, V value) { addToCache(new CacheEntry<K, V>(key, value)); } private void addToCache(CacheEntry<K, V> entry) { // Slide new entry into first cache position. Drop previous entry in second cache position. cacheEntry2 = cacheEntry1; cacheEntry1 = entry; } private static final class CacheEntry<K, V> { final K key; final V value;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 26 17:43:39 GMT 2021 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
static final boolean DISABLED = Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false); protected static CacheEntry FALSE_ENTRY = new Dfs.CacheEntry(0L); protected CacheEntry _domains = null; /* aka trusted domains cache */ protected CacheEntry referrals = null; public HashMap getTrustedDomains(NtlmPasswordAuthentication auth) throws SmbAuthException {
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
if( CACHE_POLICY == 0 ) { return; } synchronized( ADDRESS_CACHE ) { CacheEntry entry = (CacheEntry)ADDRESS_CACHE.get( hostName ); if( entry == null ) { entry = new CacheEntry( hostName, addr, expiration ); ADDRESS_CACHE.put( hostName, entry ); } else { entry.address = addr;
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 30.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapIteratorCache.java
V getIfCached(@CheckForNull Object key) { Entry<K, V> entry = cacheEntry; // store local reference for thread-safety // Check cache. We use == on purpose because it's cheaper and a cache miss is ok. if (entry != null && entry.getKey() == key) { return entry.getValue(); } return null; } void clearCache() { cacheEntry = null; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Oct 06 00:47:57 GMT 2021 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
this.resolveOrder = tc.getConfig().getResolveOrder(); initCache(tc); } static final class CacheEntry { Name hostName; NbtAddress address; long expiration; CacheEntry ( Name hostName, NbtAddress address, long expiration ) { this.hostName = hostName; this.address = address;
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) -
okhttp/src/test/java/okhttp3/CacheTest.kt
assertThat(cache.networkCount()).isEqualTo(2) assertThat(cache.hitCount()).isEqualTo(0) } private fun corruptCertificate(cacheEntry: Path) { var content = fileSystem.source(cacheEntry).buffer().readUtf8() content = content.replace("MII", "!!!") fileSystem.sink(cacheEntry).buffer().writeUtf8(content).close() } @Test fun responseCachingAndRedirects() { server.enqueue(
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0)