Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for connectTo (0.14 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

        }
    
        def "cannot run build operations on project connection after disconnect"() {
            setup:
            def connector = toolingApi.connector()
            ProjectConnection connection = connector.connect()
            connection.getModel(GradleProject)
            connector.disconnect()
    
            when:
            connection.getModel(GradleProject)
    
            then:
            def e = thrown(RuntimeException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. pilot/pkg/xds/discovery.go

    	s.pushQueue.ShutDown()
    }
    
    // Clients returns all currently connected clients. This method can be safely called concurrently,
    // but care should be taken with the underlying objects (ie model.Proxy) to ensure proper locking.
    // This method returns only fully initialized connections; for all connections, use AllClients
    func (s *DiscoveryServer) Clients() []*Connection {
    	s.adsClientsMutex.RLock()
    	defer s.adsClientsMutex.RUnlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/ztunnelserver.go

    	or when the ztunnel pod is restarted in the same pod (remove old entries when the same uid connects again, but with different boot id?)
    
    	save a queue of what needs to be sent to the ztunnel pod and send it one by one when it connects.
    
    	when a new ztunnel connects with different uid, only propagate deletes to older ztunnels.
    */
    
    type connMgr struct {
    	connectionSet map[*ZtunnelConnection]struct{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top