Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,378 for connectTo (0.23 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/ReportDaemonStatusClientTest.groovy

            1 * connector.maybeConnect(daemon1) >>> connection
            _ * connection.daemon >> daemon1
            1 * connection.dispatch({it instanceof ReportStatus})
            1 * connection.receive() >> new Success(new Status(12345, "3.0", "BOGUS"))
            1 * connection.dispatch({it instanceof Finished})
            1 * connection.stop()
    
            and:
            1 * connector.maybeConnect(daemon2) >>> connection
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/toolingApi-connect.puml

    User -> DefaultGradleConnector: use distribution/version/URI
    DefaultGradleConnector -> DistributionFactory: get distribution
    DistributionFactory --> DefaultGradleConnector: Distribution
    User -> DefaultGradleConnector: connect()
    DefaultGradleConnector -> ConnectionFactory: create()
    ConnectionFactory --> DefaultGradleConnector: DefaultProjectConnection
    note left
    With a chain of ConsumerActionExecutors
    and tooling implementation loader
    end note
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 606 bytes
    - Viewed (0)
  3. src/net/sock_posix.go

    	//   connection, known as a stream listener
    	//
    	// - An endpoint holder that opens a destination-unspecific
    	//   datagram connection, known as a datagram listener
    	//
    	// - An endpoint holder that opens an active stream or a
    	//   destination-specific datagram connection, known as a
    	//   dialer
    	//
    	// - An endpoint holder that opens the other connection, such
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. src/crypto/tls/tls.go

    	}
    	return new(net.Dialer)
    }
    
    // DialContext connects to the given network address and initiates a TLS
    // handshake, returning the resulting TLS connection.
    //
    // The provided Context must be non-nil. If the context expires before
    // the connection is complete, an error is returned. Once successfully
    // connected, any expiration of the context will not affect the
    // connection.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/toolingApi/eclipse/groovy/src/main/java/org/gradle/sample/Main.java

            // Configure the connector and create the connection
            GradleConnector connector = GradleConnector.newConnector();
    
            if (args.length > 0) {
                connector.useInstallation(new File(args[0]));
                if (args.length > 1) {
                    connector.useGradleUserHomeDir(new File(args[1]));
                }
            }
    
            connector.forProjectDirectory(new File("."));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. pkg/istio-agent/xds_proxy.go

    	defer p.connectedMutex.Unlock()
    	if p.connected != nil && p.connected == c {
    		close(p.connected.stopChan)
    		p.connected = nil
    	}
    }
    
    func (p *XdsProxy) registerStream(c *ProxyConnection) {
    	p.connectedMutex.Lock()
    	defer p.connectedMutex.Unlock()
    	if p.connected != nil {
    		proxyLog.Warnf("registered overlapping stream; closing previous")
    		close(p.connected.stopChan)
    	}
    	p.connected = c
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        // Play it back.
        val connection = connect(peer)
        connection.newStream(headerEntries("a", "android"), false)
        connection.withLock {
          if (!connection.isHealthy(System.nanoTime())) {
            throw ConnectionShutdownException()
          }
        }
        connection.writePing()
        connection.shutdown(ErrorCode.PROTOCOL_ERROR)
        assertThat(connection.openStreamCount()).isEqualTo(1)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  8. src/net/rpc/server.go

    // Accept accepts connections on the listener and serves requests
    // to [DefaultServer] for each incoming connection.
    // Accept blocks; the caller typically invokes it in a go statement.
    func Accept(lis net.Listener) { DefaultServer.Accept(lis) }
    
    // Can connect to RPC service using HTTP CONNECT to rpcPath.
    var connected = "200 Connected to Go RPC"
    
    // ServeHTTP implements an [http.Handler] that answers RPC requests.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r63/DistributionChecksumCrossVersionSpec.groovy

            withConnection { connection ->
                connection.newBuild().forTasks("wrapper").run()
            }
            file('gradle/wrapper/gradle-wrapper.properties') << 'distributionSha256Sum=bad'
    
            when:
            def connector = this.connector()
            connector.useBuildDistribution()
            withConnection(connector) { ProjectConnection connection ->
                connection.newBuild().forTasks("help").run()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/BuildSrcCrossVersionSpec.groovy

            when:
            withConnectionToBuildSrc { connection ->
                def build = connection.newBuild()
                build.forTasks("help").run()
            }
            then:
            noExceptionThrown()
        }
    
        def "buildSrc with settings file can execute standalone"() {
            buildSrc.file("settings.gradle").touch()
            when:
            withConnectionToBuildSrc { connection ->
                def build = connection.newBuild()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top