Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 226 for tcps (0.26 seconds)

  1. tests/gorm_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/driver/mysql"
    
    	"gorm.io/gorm"
    )
    
    func TestOpen(t *testing.T) {
    	dsn := "gorm:gorm@tcp(localhost:9910)/gorm?loc=Asia%2FHongKong" // invalid loc
    	_, err := gorm.Open(mysql.Open(dsn), &gorm.Config{})
    	if err == nil {
    		t.Fatalf("should returns error but got nil")
    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt

     */
    package mockwebserver3
    
    /**
     * An adverse action to take on a socket, intended to exercise failure modes in the calling code.
     */
    public sealed interface SocketEffect {
      /**
       * Close the TCP socket that carries this request.
       *
       * Using this as [MockResponse.onResponseEnd] is the default for HTTP/1.0.
       */
      public class CloseSocket(
        public val closeSocket: Boolean = true,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt

        assertThat(get("h3")).isEqualTo(Protocol.HTTP_3)
        assertThat(get("h3-29")).isEqualTo(Protocol.HTTP_3)
      }
    
      @Test
      fun testGetUnknown() {
        assertThrows(IOException::class.java) { get("tcp") }
      }
    
      @Test
      fun testToString() {
        assertThat(Protocol.HTTP_1_0.toString()).isEqualTo("http/1.0")
        assertThat(Protocol.HTTP_1_1.toString()).isEqualTo("http/1.1")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  4. internal/http/check_port_others.go

    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{}
    
    	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    	defer cancel()
    
    	l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port))
    	if err != nil {
    		return err
    	}
    
    	// As we are able to listen on this network, the port is not in use.
    	// Close the listener and continue check other networks.
    	return l.Close()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.5K bytes
    - Click Count (0)
  5. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java

    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.InetSocketAddress;
    import java.net.Socket;
    import javax.net.SocketFactory;
    import jnr.unixsocket.UnixSocketChannel;
    
    /** Impersonate TCP-style SocketFactory over UNIX domain sockets. */
    public final class UnixDomainSocketFactory extends SocketFactory {
      private final File path;
    
      public UnixDomainSocketFactory(File path) {
        this.path = path;
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Dec 03 21:33:52 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  6. docs/bucket/notifications/README.md

    ```sh
    mc admin config set myminio notify_mqtt:1 broker="tcp://localhost:1883" password="" queue_dir="" queue_limit="0" reconnect_interval="0s"  keep_alive_interval="0s" qos="1" topic="minio" username=""
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 84.2K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     *     lookups) and attempt new connections to them. When failures occur, retries iterate the
     *     list of available routes.
     *
     * If the pool gains an eligible connection while DNS, TCP, or TLS work is in flight, this finder
     * will prefer pooled connections. Only pooled HTTP/2 connections are used for such de-duplication.
     *
     * It is possible to cancel the finding process by canceling its call.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. cmd/testdata/xl-meta-merge.zip

    coming to specific ports. Use below command to allow access to port 9000 ```sh iptables -A INPUT -p tcp --dport 9000 -j ACCEPT service iptables restart ``` Below command enables all incoming traffic to ports ranging from 9000 to 9010. ```sh iptables -A INPUT -p tcp --dport 9000:9010 -j ACCEPT service iptables restart ``` ## Test MinIO Connectivity ### Test using MinIO Console MinIO Server comes with an embedded web based object browser. Point your web browser to <http://127.0.0.1:9000> to ensure your...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 30.2K bytes
    - Click Count (0)
  9. CONTRIBUTING.md

    ## Useful tips
    
    ### How Gradle Works
    
    We have [a series of blog](https://blog.gradle.org/how-gradle-works-1) that explains how Gradle works.
    This may help you better understand and contribute to Gradle.
    
    ### Debugging Gradle
    
    See the [Debugging Gradle](./contributing/Debugging.md) guide for tips on debugging Gradle.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  10. src/cmd/api/main_test.go

    		}
    	}
    	tps := ""
    	if rtp := sig.RecvTypeParams(); rtp != nil {
    		var buf bytes.Buffer
    		w.writeTypeParams(&buf, rtp, false)
    		tps = buf.String()
    	}
    	if w.isDeprecated(m.Obj()) {
    		w.emitf("method (%s%s) %s //deprecated", w.typeString(recv), tps, m.Obj().Name())
    	}
    	w.emitf("method (%s%s) %s%s", w.typeString(recv), tps, m.Obj().Name(), w.signatureString(sig))
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 31.4K bytes
    - Click Count (0)
Back to Top