Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,329 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. 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/net/fd_windows.go

    	}
    
    	// Call ConnectEx API.
    	if err := fd.pfd.ConnectEx(ra); err != nil {
    		select {
    		case <-ctx.Done():
    			return nil, mapErr(ctx.Err())
    		default:
    			if _, ok := err.(syscall.Errno); ok {
    				err = os.NewSyscallError("connectex", err)
    			}
    			return nil, err
    		}
    	}
    	// Refresh socket properties.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. platforms/software/resources/src/main/java/org/gradle/internal/resource/transfer/UrlExternalResource.java

            try {
                URL url = location.getUri().toURL();
                URLConnection connection = url.openConnection();
                try {
                    return new DefaultExternalResourceMetaData(location.getUri(), connection.getLastModified(), connection.getContentLength(), connection.getContentType(), null, null);
                } finally {
                    connection.getInputStream().close();
                }
            } catch (FileNotFoundException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/ReusePlan.kt

     */
    package okhttp3.internal.connection
    
    /** Reuse a connection from the pool. */
    internal class ReusePlan(
      val connection: RealConnection,
    ) : RoutePlanner.Plan {
      override val isReady = true
    
      override fun connectTcp() = error("already connected")
    
      override fun connectTlsEtc() = error("already connected")
    
      override fun handleSuccess() = connection
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top