- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,866 for connectTo (0.46 sec)
-
platforms/documentation/docs/src/snippets/toolingApi/model/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.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/toolingApi/customModel/groovy/tooling/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("../sample-build"));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/toolingApi/idea/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 - 2.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiIntegrationTest.groovy
executer.withTasks('wrapper').run() when: toolingApi.withConnector { connector -> connector.useBuildDistribution() connector.searchUpwards(true) connector.forProjectDirectory(projectDir.file('child')) } toolingApi.withConnection { connection -> connection.newBuild().forTasks('check').run() } then: notThrown(Throwable) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientTest.groovy
and: connector.connect(compatibilitySpec) >> connection _ * connection.daemon >> Stub(DaemonConnectDetails) 1 * connection.dispatch({ it instanceof Build }) 1 * connection.receive() >> new BuildStarted(new DaemonDiagnostics(new File("log"), 123L)) 1 * connection.receive() >> null 1 * connection.markSuspect() 1 * connection.dispatch({ it instanceof CloseInput })
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 10K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ConcurrentToolingApiIntegrationSpec.groovy
} } concurrent.start { def connector = toolingApi.connector(build2) distributionOperation(connector, { it.description = "download for 2"; Thread.sleep(500) }) def connection = connector.connect() try { def build = connection.newBuild() def operation = new ConfigurableOperation(build)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy
connector.useGradleUserHomeDir(new File(context.gradleUserHomeDir.path)) try (def connection = connector.connect()) { connection.getModel(BuildEnvironment.class) } } isolateFromGradleOwnBuild(connector) connector.useGradleUserHomeDir(new File(gradleUserHomeDir.path))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:07:23 UTC 2024 - 12K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClient.java
// Attempt to connect to an existing idle and compatible daemon int saneNumberOfAttempts = 100; //is it sane enough? for (int i = 1; i < saneNumberOfAttempts; i++) { final DaemonClientConnection connection = connector.connect(compatibilitySpec); // No existing, compatible daemon is available to try if (connection == null) { break; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 16.5K bytes - Viewed (0) -
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) -
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)