Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 851 for connectat (0.83 sec)

  1. 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)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

            }
    
            // Wait for an in-flight connect to complete or fail.
            if (connectResult == null) {
              connectResult = awaitTcpConnect(awaitTimeoutNanos, TimeUnit.NANOSECONDS) ?: continue
            }
    
            if (connectResult.isSuccess) {
              // We have a connected TCP connection. Cancel and defer the racing connects that all lost.
              cancelInFlightConnects()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonConnector.java

    import org.gradle.launcher.daemon.context.DaemonContext;
    
    import javax.annotation.Nullable;
    
    /**
     * A daemon connector establishes a connection to a daemon.
     */
    public interface DaemonConnector {
    
        /**
         * Attempts to connect to a daemon at the given address.
         *
         * @return A connection to a matching daemon, or null if not running.
         */
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. src/net/internal/socktest/switch.go

    	Opened    uint64 // number of sockets opened
    	Connected uint64 // number of sockets connected
    	Listened  uint64 // number of sockets listened
    	Accepted  uint64 // number of sockets accepted
    	Closed    uint64 // number of sockets closed
    
    	OpenFailed    uint64 // number of sockets open failed
    	ConnectFailed uint64 // number of sockets connect failed
    	ListenFailed  uint64 // number of sockets listen failed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientTest.groovy

        }
    
        def "tries to find a different daemon if connected to a stale daemon address"() {
            def resultMessage = Stub(BuildActionResult)
            DaemonClientConnection connection2 = Mock()
    
            when:
            client.execute(Stub(BuildAction), Stub(BuildActionParameters), Stub(ClientBuildRequestContext))
    
            then:
            2 * connector.connect(compatibilitySpec) >>> [connection, connection2]
    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/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClient.java

        public DaemonClient(
            DaemonConnector connector,
            OutputEventListener outputEventListener,
            ExplainingSpec<DaemonContext> compatibilitySpec,
            InputStream buildStandardInput,
            GlobalUserInputReceiver userInput,
            IdGenerator<UUID> idGenerator,
            ProcessEnvironment processEnvironment
        ) {
            this.connector = connector;
            this.outputEventListener = outputEventListener;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/integTest/groovy/org/gradle/internal/remote/internal/hub/MessageHubIntegrationTest.groovy

                hub.addHandler(channel, handler)
            }
    
            def connectTo(Participant other) {
                def connector = new TestConnector()
                hub.addConnection(connector.connectionA)
                other.hub.addConnection(connector.connectionB)
            }
    
            def stop() {
                hub.stop()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. src/net/fd_windows.go

    	}
    
    	// Call ConnectEx API.
    	if err := fd.pfd.ConnectEx(ra); err != nil {
    		select {
    		case <-ctx.Done():
    			return nil, mapErr(ctx.Err())
    		default:
    			if _, ok := err.(syscall.Errno); ok {
    				err = os.NewSyscallError("connectex", err)
    			}
    			return nil, err
    		}
    	}
    	// Refresh socket properties.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. internal/event/target/nats_contrib_test.go

    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject: "test",
    	}
    	con, err := clientConfig.connectNats()
    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    	defer con.Close()
    }
    
    func TestNatsConnUserPass(t *testing.T) {
    	opts := natsserver.DefaultTestOptions
    	opts.Port = 14223
    	opts.Username = "testminio"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/toolingApi/runBuild/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)
Back to top