- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 74 for cleaner (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt
.serialNumber(4L) .signedBy(certA) .build() val cleaner = get( selfSigned.certificate, trusted.certificate, ) assertThat(cleaner.clean(list(certB, certA), "hostname")).isEqualTo( list(certB, certA, trusted, selfSigned), ) assertThat(cleaner.clean(list(certB, certA, trusted), "hostname")).isEqualTo( list(certB, certA, trusted, selfSigned),
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.5K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
assertThat(serverSocket.isClosed()).isTrue(); } @SuppressWarnings("Java8ApiChecker") static class MyServerExampleWithCleaner implements AutoCloseable { private static final Cleaner cleaner = Cleaner.create(); private static Runnable closeServerSocketRunnable( ServerSocket serverSocket, AtomicBoolean cleanerRan) { return () -> { try { serverSocket.close();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt
* certificate. * * Use of the chain cleaner is necessary to omit unexpected certificates that aren't relevant to * the TLS handshake and to extract the trusted CA certificate for the benefit of certificate * pinning. */ abstract class CertificateChainCleaner { @Throws(SSLPeerUnverifiedException::class) abstract fun clean( chain: List<Certificate>, hostname: String, ): List<Certificate>
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt
import java.security.cert.X509Certificate import java.util.ArrayDeque import java.util.Deque import javax.net.ssl.SSLPeerUnverifiedException /** * A certificate chain cleaner that uses a set of trusted root certificates to build the trusted * chain. This class duplicates the clean chain building performed during the TLS handshake. We * prefer other mechanisms where they exist, such as with
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
* has consumed the entire input and they are ready to output a {@code HashCode}. The order of the * hashers are the same order as the functions given to the constructor. */ // this could be cleaner if it passed HashCode[], but that would create yet another array... /* protected */ abstract HashCode makeHash(Hasher[] hashers); @Override public Hasher newHasher() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
@SuppressWarnings("InfiniteLoopStatement") @Override public void run() { while (true) { try { if (!cleanUp(queue.remove())) { break; } } catch (InterruptedException e) { // ignore } } } /** * Cleans up the given reference and any other references already in the queue. Catches and logs * all throwables. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
resourceManager.registerResource(resource2); assertFalse(resource1.isClosed()); assertFalse(resource2.isClosed()); int cleaned = resourceManager.forceCleanup(); assertTrue(cleaned >= 2); assertTrue(resource1.isClosed()); assertTrue(resource2.isClosed()); } @Test @DisplayName("Test leak detection for unclosed resources")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/FinalizablePhantomReference.java
* after the garbage collector reclaims the referent. This is a simpler alternative to using a * {@link ReferenceQueue}. * * <p>Unlike a normal phantom reference, this reference will be cleared automatically. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatible public abstract class FinalizablePhantomReference<T> extends PhantomReference<T> implements FinalizableReference {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/MapIteratorCache.java
} @CanIgnoreReturnValue final @Nullable V remove(Object key) { checkNotNull(key); clearCache(); return backingMap.remove(key); } final void clear() { clearCache(); backingMap.clear(); } @Nullable V get(Object key) { checkNotNull(key); V value = getIfCached(key); // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.6K bytes - Viewed (0)