Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,378 for connectTo (0.16 sec)

  1. src/net/rpc/client.go

    		}
    	}
    }
    
    // NewClient returns a new [Client] to handle requests to the
    // set of services at the other end of the connection.
    // It adds a buffer to the write side of the connection so
    // the header and payload are sent as a unit.
    //
    // The read and write halves of the connection are serialized independently,
    // so no interlocking is required. However each half may be accessed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. src/net/internal/socktest/sys_windows.go

    		return so.Err
    	}
    	sw.stats.getLocked(so.Cookie).Connected++
    	return nil
    }
    
    // ConnectEx wraps [syscall.ConnectEx].
    func (sw *Switch) ConnectEx(s syscall.Handle, sa syscall.Sockaddr, b *byte, n uint32, nwr *uint32, o *syscall.Overlapped) (err error) {
    	so := sw.sockso(s)
    	if so == nil {
    		return syscall.ConnectEx(s, sa, b, n, nwr, o)
    	}
    	sw.fmu.RLock()
    	f, _ := sw.fltab[FilterConnect]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

        }
    
        public NtlmHttpURLConnection(HttpURLConnection connection) {
            super(connection.getURL());
            this.connection = connection;
            requestProperties = new HashMap();
        }
    
        public void connect() throws IOException {
            if (connected) return;
            connection.connect();
            connected = true;
        }
    
        private void handshake() throws IOException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/registry/core/node/rest/proxy.go

    )
    
    // ProxyREST implements the proxy subresource for a Node
    type ProxyREST struct {
    	Store          *genericregistry.Store
    	Connection     client.ConnectionInfoGetter
    	ProxyTransport http.RoundTripper
    }
    
    // Implement Connecter
    var _ = rest.Connecter(&ProxyREST{})
    
    var proxyMethods = []string{"GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"}
    
    // New returns an empty nodeProxyOptions object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 19 13:59:13 UTC 2022
    - 3.1K bytes
    - Viewed (0)
Back to top