- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for planned (0.03 sec)
-
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
try { cbWithWindow.executeWithCircuitBreaker(() -> { if (iteration % 3 == 0) { throw new RuntimeException("planned failure"); } return "success"; }); } catch (CIFSException e) { // Expected for some iterationsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* * If received data is unexpected: [exception] is a [ProtocolException]. * * Each call is made on either a reused [Connection] from a pool, or on a new connection * established from a planned [Route]. OkHttp won't retry if it's already attempted all * available routes. * * @param retry true if OkHttp will make another attempt */ open fun retryDecision( call: Call,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:03:04 UTC 2025 - 24.9K bytes - Viewed (0) -
CHANGELOG.md
`EventSourceListener.onOpen()`. * Fix: Enforce the max intermediates constraint when using pinned certificates with Conscrypt. This impacts Conscrypt when the server's presented certificates form both a trusted-but-unpinned chain and an untrusted-but-pinned chain. * Upgrade: [Kotlin 1.6.10][kotlin_1_6_10]. ## Version 5.0.0-alpha.3 _2021-11-22_
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 05 16:02:59 UTC 2025 - 36.2K bytes - Viewed (2) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
) { /** * Confirms that at least one of the certificates pinned for `hostname` is in `peerCertificates`. * Does nothing if there are no certificates pinned for `hostname`. OkHttp calls this after a * successful TLS handshake, but before the connection is used. * * @throws SSLPeerUnverifiedException if `peerCertificates` don't match the certificates pinned * for `hostname`. */Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
.Builder() .serialNumber(3L) .certificateAuthority(2) .commonName("pinned root") .signedBy(attackerIntermediate) .build() val pinnedIntermediate = HeldCertificate .Builder() .serialNumber(4L) .certificateAuthority(1) .commonName("pinned intermediate") .signedBy(pinnedRoot) .build() val attackerSwitch =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 24.3K bytes - Viewed (2) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* * @param csq a sequence of characters * @param start the index of the first character to be scanned * @param end the index immediately after the last character to be scanned * @throws IllegalArgumentException if the scanned sub-sequence of {@code csq} contains invalid * surrogate pairs */ protected int nextEscapeIndex(CharSequence csq, int start, int end) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt
fun checkForHostnameWithDoubleAsterisk() { val certificatePinner = CertificatePinner .Builder() .add("**.example.co.uk", certA1Sha256Pin) .build() // Should be pinned: assertFailsWith<SSLPeerUnverifiedException> { certificatePinner.check("example.co.uk", listOf(certB1.certificate)) } assertFailsWith<SSLPeerUnverifiedException> {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStatsAccumulator.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.primitives.Doubles; /** * A mutable object which accumulates paired double values (e.g. points on a plane) and tracks some * basic statistics over all the values added so far. This class is not thread safe. * * @author Pete Gillin * @since 20.0 */ @J2ktIncompatible @GwtIncompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 10.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
* * The first race is between plan0 and plan1, with a 250 ms head start for plan0. * * The second race is between plan2 and plan3, with a 250 ms head start for plan2. * * We get plan0 and plan1 from the route planner. * We get plan2 as a follow-up to plan1, typically retry the same IP but different TLS. * We get plan3 as a retry of plan0, which was canceled when it lost the race. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 20.9K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStats.java
import java.nio.ByteOrder; import java.util.Objects; import org.jspecify.annotations.Nullable; /** * An immutable value object capturing some basic statistics about a collection of paired double * values (e.g. points on a plane). Build instances with {@link PairedStatsAccumulator#snapshot}. * * @author Pete Gillin * @since 20.0 */ @J2ktIncompatible @GwtIncompatible public final class PairedStats implements Serializable {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0)