Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 444 for timeout (0.05 sec)

  1. internal/deadlineconn/deadlineconn.go

    package deadlineconn
    
    import (
    	"net"
    	"time"
    )
    
    const updateInterval = 250 * time.Millisecond
    
    // DeadlineConn - is a generic stream-oriented network connection supporting buffered reader and read/write timeout.
    type DeadlineConn struct {
    	net.Conn
    	readDeadline  time.Duration // sets the read deadline on a connection.
    	readSetAt     time.Time
    	writeDeadline time.Duration // sets the write deadline on a connection.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 17:40:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            name = "\\PIPE\\LANMAN";
    
            maxParameterCount = 8;
            maxDataCount = 16384;
            maxSetupCount = (byte)0x00;
            setupCount = 0;
            timeout = 5000;
        }
    
        void reset( int key, String lastName ) {
            super.reset();
            this.lastName = lastName;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

            super(config, SMB_COM_TRANSACTION, TRANS_CALL_NAMED_PIPE);
            this.name = pipeName;
            this.pipeData = data;
            this.pipeDataOff = off;
            this.pipeDataLen = len;
            this.timeout = 0xFFFFFFFF;
            this.maxParameterCount = 0;
            this.maxDataCount = 0xFFFF;
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 2;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  4. cni/pkg/plugin/cnieventclient.go

    	c := &http.Client{
    		Transport: &http.Transport{
    			DialContext: func(_ context.Context, _, _ string) (net.Conn, error) {
    				return net.Dial("unix", address)
    			},
    		},
    		Timeout: 5 * time.Second,
    	}
    	eventC := CNIEventClient{
    		client: c,
    		url:    "http://unix" + path,
    	}
    	return eventC
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. cmd/common-main.go

    	ctxt.SFTP = ctx.StringSlice("sftp")
    	ctxt.Interface = ctx.String("interface")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    	ctxt.RecvBufSize = ctx.Int("recv-buf-size")
    	ctxt.IdleTimeout = ctx.Duration("idle-timeout")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    
    	if conf := ctx.String("config"); len(conf) > 0 {
    		err = mergeServerCtxtFromConfigFile(conf, ctxt)
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

            name = new String( "\\PIPE\\LANMAN" );
            maxParameterCount = 8;
    
    //        maxDataCount = 4096; why was this set?
            maxSetupCount = (byte)0x00;
            setupCount = 0;
            timeout = 5000;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            byte[] descr;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

    import okio.buffer
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Assertions.assertArrayEquals
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    
    @Timeout(5)
    @Tag("Slow")
    class Http2ConnectionTest {
      private val peer = MockHttp2Peer()
      private val taskFaker = TaskFaker()
    
      @AfterEach fun tearDown() {
        peer.close()
        taskFaker.close()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  8. internal/http/dial_dnscache.go

    	if lookupHost == nil {
    		lookupHost = net.DefaultResolver.LookupHost
    	}
    
    	if baseDialCtx == nil {
    		// This is same as which `http.DefaultTransport` uses.
    		baseDialCtx = (&net.Dialer{
    			Timeout:   30 * time.Second,
    			KeepAlive: 30 * time.Second,
    		}).DialContext
    	}
    
    	return func(ctx context.Context, network, addr string) (conn net.Conn, err error) {
    		host, port, err := net.SplitHostPort(addr)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 03 19:30:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        public boolean isShutdown() {
          return false;
        }
    
        @Override
        public boolean isTerminated() {
          return false;
        }
    
        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) {
          return false;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        public boolean isShutdown() {
          return false;
        }
    
        @Override
        public boolean isTerminated() {
          return false;
        }
    
        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) {
          return false;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
Back to top