- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 138 for Peak (0.01 sec)
-
guava/src/com/google/common/base/FinalizableReferenceQueue.java
void cleanUp() { if (threadStarted) { return; } Reference<?> reference; while ((reference = queue.poll()) != null) { /* * This is for the benefit of phantom references. Weak and soft references will have already * been cleared by this point. */ reference.clear(); try { ((FinalizableReference) reference).finalizeReferent(); } catch (Throwable t) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 14.7K bytes - Viewed (0) -
okhttp-logging-interceptor/README.md
@Override public void log(String message) { Timber.tag("OkHttp").d(message); } }); ``` **Warning**: The logs generated by this interceptor when using the `HEADERS` or `BODY` levels have the potential to leak sensitive information such as "Authorization" or "Cookie" headers and the contents of request and response bodies. This data should only be logged in a controlled way or in a non-production environment.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
checkStrength(map, Strength.WEAK, Strength.STRONG); assertThat(map.entryHelper) .isInstanceOf(MapMakerInternalMap.WeakKeyStrongValueEntry.Helper.class); } public void testSetWeakValues() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakValues()); checkStrength(map, Strength.STRONG, Strength.WEAK); assertThat(map.entryHelper)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
checkStrength(map, Strength.WEAK, Strength.STRONG); assertThat(map.entryHelper) .isInstanceOf(MapMakerInternalMap.WeakKeyStrongValueEntry.Helper.class); } public void testSetWeakValues() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakValues()); checkStrength(map, Strength.STRONG, Strength.WEAK); assertThat(map.entryHelper)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
} } // Clean up expired weak references cleanupExpiredReferences(); // Release all leases releaseAll(); // Clear file cache fileCache.clear(); } /** * Clean up expired weak references from the file cache */ private void cleanupExpiredReferences() { try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt
} while (inflater.bytesRead < totalBytesToRead && !inflater.finished()) // The inflater data was self-terminated and there's unexpected trailing data. Tear it all down // so we don't leak that data into the input of the next message. if (inflater.bytesRead < totalBytesToRead) { deflatedBytes.clear() inflaterSource.close() this.inflaterSource = null this.inflater = null }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:26:07 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertThrows(NoSuchElementException.class, iter::next); assertThrows(NoSuchElementException.class, iter::peek); } @J2ktIncompatible // weak references, details of GC @GwtIncompatible // weak references @AndroidIncompatible // depends on details of GC public void testFreesNextReference() { Iterator<Object> itr = new AbstractIterator<Object>() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// This is trickier than expected. We plan to put 15 values in each of these (WARMUP_MIN to // WARMUP_MAX), but the tests assume no values get evicted. Even with a maximumSize of 100, one // of the values gets evicted. With weak keys, we use identity equality, which means using // System.identityHashCode, which means the assignment of keys to segments is nondeterministic,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
apache-maven/src/assembly/maven/conf/maven-user.properties
# request - Cache only for current request + its child requests # none - Disable caching entirely # # REFERENCE OPTIONS: # hard - Strong reference (stays in memory, faster access) # soft - Weak reference (can be garbage collected under memory pressure) # # CONFIGURATION BREAKDOWN: # SourceCacheKey - File and RAW model requests (session/hard for consistent file access)
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
/* * Using weak references here could let us release exceptions earlier, but: * * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent * pass. * * 2. We would probably choose to compare exceptions using == instead of equals() (for * consistency with how weak references are cleared). That's a behavior change -- arguably theRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0)