- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 251 for CONNECT (0.03 sec)
-
src/test/java/jcifs/smb/DfsImplTest.java
// Scenario: Transport connection fails when getting DC when(mockCredentials.getUserDomain()).thenReturn("authdomain.com"); // When transport fails to connect, getDc returns null assertNull(dfsImpl.getDc(mockContext, "anydomain.com")); } // Tests for resolve @Test void testResolve_DfsDisabled() throws SmbAuthException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteDatabase.kt
import okhttp3.Route /** * A denylist of failed routes to avoid when creating a new connection to a target address. This is * used so that OkHttp can learn from its mistakes: if there was a failure attempting to connect to * a specific IP address or proxy server, that failure is remembered and alternate routes are * preferred. */ class RouteDatabase { private val _failedRoutes = mutableSetOf<Route>()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
} @Test void testStringAndThrowableConstructor() { // Test the constructor with both message and cause String message = "Failed to connect due to timeout."; Throwable cause = new IllegalStateException("Network unreachable"); ConnectionTimeoutException exception = new ConnectionTimeoutException(message, cause);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
cmd/common-main.go
if err != nil { logger.Fatal(err, "Invalid KMS configuration specified") } if !present { return } KMS, err := kms.Connect(GlobalContext, &kms.ConnectionOptions{ CADir: globalCertsCADir.Get(), }) if err != nil { logger.Fatal(err, "Failed to connect to KMS") } if _, err = KMS.GenerateKey(GlobalContext, &kms.GenerateKeyRequest{}); errors.Is(err, kms.ErrKeyNotFound) {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (3) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt
when { // If there was a protocol problem, don't recover. e is ProtocolException -> false // If there was an interruption or timeout (SocketTimeoutException), don't recover. // For the socket connect timeout case we do not try the same host with a different // ConnectionSpec: we assume it is unreachable. e is InterruptedIOException -> falseRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
ValueGraphBuilder<N1, V1> castBuilder = cast(); return new ImmutableValueGraph.Builder<>(castBuilder); } /** * Specifies whether the graph will allow self-loops (edges that connect a node to itself). * Attempting to add a self-loop to a graph that does not allow them will throw an {@link * UnsupportedOperationException}. * * <p>The default value is {@code false}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java
*/ public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 { /** * Creates a new request to open an LSA policy handle. * * @param server the server name to connect to * @param access the desired access rights * @param policyHandle the policy handle to be populated */ public MsrpcLsarOpenPolicy2(final String server, final int access, final LsaPolicyHandle policyHandle) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
.toUrl() .openConnection() .connect() } }, Description.EMPTY, ) statement.evaluate() assertThat(called.get()).isTrue() try { server .url("/") .toUrl() .openConnection() .connect() fail<Any>() } catch (expected: ConnectException) { } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
import jcifs.internal.util.SMBUtil; /** * File System Control Code (FSCC) request for pipe wait operations. * Implements the FSCTL_PIPE_WAIT control code used to wait for a named pipe * to become available when attempting to connect to a busy pipe. * * @author mbechler */ public class FsctlPipeWaitRequest implements Encodable { private final byte[] nameBytes; private final long timeout; private final boolean timeoutSpecified;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java
public final class CustomTrust { // PEM files for root certificates of Comodo and Entrust. These two CAs are sufficient to view // https://publicobject.com (Comodo) and https://squareup.com (Entrust). But they aren't // sufficient to connect to most HTTPS sites including https://godaddy.com and https://visa.com. // Typically developers will need to get a PEM file from their organization's TLS administrator.Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 9.3K bytes - Viewed (0)