Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 782 for connectTo (0.18 sec)

  1. internal/grid/connection.go

    				<-o.blockConnect
    			}
    			c.connect()
    		}()
    	}
    	if debugPrint {
    		fmt.Println(c.Local, "->", c.Remote, "Should local connect:", c.shouldConnect(), "side:", c.side)
    	}
    	if debugReqs {
    		fmt.Println("Created connection", c.String())
    	}
    	return c
    }
    
    // Subroute returns a static subroute for the connection.
    func (c *Connection) Subroute(s string) *Subroute {
    	if c == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/TcpConnectorTest.groovy

            def connection = outgoingConnector.connect(acceptor.address).create(serializer)
            thread.blockUntil.connected
    
            then:
            1 * action.execute(!null) >> { instant.connected }
    
            cleanup:
            acceptor?.stop()
            connection?.stop()
        }
    
        def "client throws exception when cannot connect to server"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy

                        GradleConnector connector = GradleConnector.newConnector();
                        connector.useGradleVersion(gradleVersion);
    
                        ProjectConnection connection = null;
    
                        try {
                            connection = connector.forProjectDirectory(projectLocation).useGradleUserHomeDir(gradleUserHome).connect();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top