- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,866 for connectTo (0.6 sec)
-
okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt
import java.io.Closeable import java.io.IOException import java.util.concurrent.LinkedBlockingDeque import okhttp3.internal.concurrent.TaskFaker import okhttp3.internal.connection.RealConnection import okhttp3.internal.connection.RoutePlanner import okhttp3.internal.connection.RoutePlanner.ConnectResult class FakeRoutePlanner( val factory: TestValueFactory = TestValueFactory(), val taskFaker: TaskFaker = factory.taskFaker,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 24 04:40:49 UTC 2024 - 6.2K bytes - Viewed (0) -
src/database/sql/driver/driver.go
// // If a [Conn] implements [Validator], then the IsValid method is called // before returning the connection to the connection pool. If an entry in the // connection pool implements [SessionResetter], then ResetSession // is called before reusing the connection for another query. If a connection is // never returned to the connection pool but is immediately reused, then // ResetSession is called prior to reuse but IsValid is not called.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 09:04:12 UTC 2023 - 20.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiRemoteIntegrationTest.groovy
@Issue('https://github.com/gradle/gradle/issues/15405') def "calling disconnect on uninitialized connection does not trigger wrapper download"() { when: def connector = toolingApi.connector() connector.useDistribution(URI.create("http://localhost:${server.port}/custom-dist.zip")) connector.connect() connector.disconnect() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 10.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiShutdownIntegrationTest.groovy
GradleConnector connector = GradleConnector.newConnector().useGradleVersion("6.8-20201118175938+0000"); // can be changed to latest release after 6.8 is available ProjectConnection connection = connector.forProjectDirectory(projectLocation).connect(); connection.newBuild().forTasks("help").run(new ResultHandler<Void>() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.3K bytes - Viewed (0) -
src/net/http/socks_bundle.go
} a, err := d.connect(ctx, c, address) if err != nil { proxy, dst, _ := d.pathAddrs(address) return nil, &net.OpError{Op: d.cmd.String(), Net: network, Source: proxy, Addr: dst, Err: err} } return a, nil } // Dial connects to the provided address on the provided network. // // Unlike DialContext, it returns a raw transport connection instead // of a forward proxy connection. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 22:42:18 UTC 2023 - 12.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/TcpOutgoingConnector.java
private static final int CONNECT_TIMEOUT = 10000; @Override public ConnectCompletion connect(Address destinationAddress) throws org.gradle.internal.remote.internal.ConnectException { if (!(destinationAddress instanceof InetEndpoint)) { throw new IllegalArgumentException(String.format("Cannot create a connection to address of unknown type: %s.", destinationAddress)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 4.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt
*/ package okhttp3.internal.connection import java.io.IOException import okhttp3.Address import okhttp3.HttpUrl /** * Policy on choosing which connection to use for an exchange and any retries that follow. This uses * the following strategies: * * 1. If the current call already has a connection that can satisfy the request it is used. Using
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 4.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
assertEvents( "plan 1 TCP connected", "plan 0 cancel", "plan 1 TLS connecting...", "plan 1 TLS connect failed", "plan 2 TCP connecting...", "plan 2 TCP connected", "plan 2 TLS connecting...", "plan 2 TLS connected", ) taskFaker.advanceUntil(270.ms) assertEvents( "plan 0 TCP connect canceled", )
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 24 04:40:49 UTC 2024 - 20.9K bytes - Viewed (0) -
pkg/hbone/server.go
log.Errorf("failed to dial upstream: %v", err) return true } log.Infof("Connected to %v", r.Host) w.WriteHeader(http.StatusOK) wg := sync.WaitGroup{} wg.Add(1) go func() { // downstream (hbone client) <-- upstream (app) copyBuffered(w, dst, log.WithLabels("name", "dst to w")) err = r.Body.Close() if err != nil { log.Infof("connection to hbone client is not closed: %v", err) } wg.Done() }()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 10 02:05:07 UTC 2022 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
// failure to connect throw new SmbException("Tree disconnected while waiting for connection"); } else if ( before == 2 ) { // concurrently connected return null; } if ( log.isDebugEnabled() ) { log.debug("Connection state was " + before); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0)