Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for connect0 (0.26 sec)

  1. internal/grid/manager.go

    		if err != nil {
    			writeErr(fmt.Errorf("reading connect: %w", err))
    			w.WriteHeader(http.StatusForbidden)
    			return
    		}
    		if debugPrint {
    			fmt.Printf("%s handler: Got message, length %v\n", m.local, len(msg))
    		}
    
    		var message message
    		_, _, err = message.parse(msg)
    		if err != nil {
    			writeErr(fmt.Errorf("error parsing grid connect: %w", err))
    			return
    		}
    		if message.Op != OpConnect {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/crypto/tls/tls.go

    		return d.NetDialer
    	}
    	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)
  3. internal/grid/connection.go

    	}
    	if c.shouldConnect() {
    		c.side = ws.StateClientSide
    
    		go func() {
    			if o.blockConnect != nil {
    				<-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
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/CrossVersionToolingApiSpecificationRetryTest.groovy

            then:
            true
        }
    
        @TargetGradleVersion(">=3.0")
        def "does not retry for 3.0 or later"() {
            given:
            iteration++
    
            when:
            throwWhen(new IOException("Some action failed", new GradleException("Timeout waiting to connect to the Gradle daemon.\n more infos")), iteration == 1)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheStandardStreamsIntegrationTest.groovy

            """
        }
    
        def withStdInContents(String message) {
            executer.withStdinPipe(new PipedOutputStream() {
                @Override
                synchronized void connect(PipedInputStream snk) throws IOException {
                    super.connect(snk)
                    write(message.bytes)
                    close()
                }
            })
        }
    
        String makeTask(Map<String, String> args, String taskName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. src/os/exec/exec.go

    	Stdin io.Reader
    
    	// Stdout and Stderr specify the process's standard output and error.
    	//
    	// If either is nil, Run connects the corresponding file descriptor
    	// to the null device (os.DevNull).
    	//
    	// If either is an *os.File, the corresponding output from the process
    	// is connected directly to that file.
    	//
    	// Otherwise, during the execution of the command a separate goroutine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  7. internal/grid/benchmark_test.go

    		}))
    		errFatal(err)
    	}
    	const payloadSize = 512
    	rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    	payload := make([]byte, payloadSize)
    	_, err = rng.Read(payload)
    	errFatal(err)
    
    	// Wait for all to connect
    	// Parallel writes per server.
    	b.Run("bytes", func(b *testing.B) {
    		for par := 1; par <= 32; par *= 2 {
    			b.Run("par="+strconv.Itoa(par*runtime.GOMAXPROCS(0)), func(b *testing.B) {
    				defer timeout(60 * time.Second)()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. pilot/test/xds/fake.go

    		adscConn.Close()
    	})
    	return adscConn
    }
    
    // Connect starts an ADS connection to the server using adsc. It will automatically be cleaned up when the test ends
    // watch can be configured to determine the resources to watch initially, and wait can be configured to determine what
    // resources we should initially wait for.
    func (f *FakeDiscoveryServer) Connect(p *model.Proxy, watch []string, wait []string) *adsc.ADSC {
    	f.t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheServices.kt

    import org.gradle.internal.extensions.core.add
    import org.gradle.internal.nativeintegration.filesystem.FileSystem
    import org.gradle.internal.resource.connector.ResourceConnectorFactory
    import org.gradle.internal.resource.connector.ResourceConnectorSpecification
    import org.gradle.internal.resource.transfer.ExternalResourceConnector
    import org.gradle.internal.service.Provides
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/net/http/transport.go

    	// ProxyConnectHeader optionally specifies headers to send to
    	// proxies during CONNECT requests.
    	// To set the header dynamically, see GetProxyConnectHeader.
    	ProxyConnectHeader Header
    
    	// GetProxyConnectHeader optionally specifies a func to return
    	// headers to send to proxyURL during a CONNECT request to the
    	// ip:port target.
    	// If it returns an error, the Transport's RoundTrip fails with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top