Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,866 for connectTo (3.13 sec)

  1. src/net/dial.go

    }
    
    // DialContext connects to the address on the named network using
    // the provided context.
    //
    // 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: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. 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)
  3. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultGradleConnectorTest.groovy

        }
    
        def canSpecifyUserHomeDir() {
            DefaultProjectConnection connection = Mock()
            File userDir = new File('user-dir')
    
            when:
            def result = connector.useGradleUserHomeDir(userDir).forProjectDirectory(projectDir).connect()
    
            then:
            result == connection
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStopClient.java

                DaemonClientConnection connection = connector.maybeConnect(daemon);
                if (connection == null) {
                    continue;
                }
                try {
                    LOGGER.debug("Requesting daemon {} stop when idle", daemon);
                    stopDispatcher.dispatch(connection, new StopWhenIdle(idGenerator.generateId(), connection.getDaemon().getToken()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/toolingApi/runBuild/kotlin/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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top