Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,605 for connectTo (2.87 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/ProjectLevelModelCrossVersionSpec.groovy

            Map<String, CustomModel> result = withConnection { connection -> connection.action(new UseGradleBuildToFetchProjectModel()).run() }
    
            then:
            result != null
            result.keySet() == ['test', 'a', 'b', 'c'] as Set
            result.values()*.value as Set == [':', ':a', ':b', ':b:c'] as Set
    
            when:
            withConnector { connector ->
                connector.searchUpwards(true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubBackedServerTest.groovy

            1 * connectAction.execute(_) >> { ObjectConnection c -> connection = c }
    
            when:
            connection.connect()
    
            then:
            1 * completion.create(_) >> backingConnection
    
            when:
            connection.stop()
    
            then:
            1 * backingConnection.stop()
            1 * executor.stop()
            0 * _._
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top