Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 338 for lport (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ChannelSocketFactory.kt

      override fun createSocket(
        host: String,
        port: Int,
      ): Socket = TODO("Not yet implemented")
    
      override fun createSocket(
        host: String,
        port: Int,
        localHost: InetAddress,
        localPort: Int,
      ): Socket = TODO("Not yet implemented")
    
      override fun createSocket(
        host: InetAddress,
        port: Int,
      ): Socket = TODO("Not yet implemented")
    
      override fun createSocket(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. cmd/net.go

    	host, port, err := net.SplitHostPort(addr)
    	if err != nil {
    		if !strings.Contains(err.Error(), "missing port in address") {
    			return "", "", err
    		}
    
    		host = addr
    
    		switch scheme {
    		case "https":
    			port = "443"
    		case "http":
    			port = "80"
    		default:
    			return "", "", errors.New("unable to guess port from scheme")
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (1)
  3. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    ws://foo:443/  s:ws h:foo port:443 p:/
    ws://foo:815/  s:ws h:foo port:815 p:/
    wss://foo:80/  s:wss h:foo port:80 p:/
    wss://foo:81/  s:wss h:foo port:81 p:/
    wss://foo:443/  s:wss h:foo p:/
    wss://foo:815/  s:wss h:foo port:815 p:/
    http:/example.com/  s:http h:example.com p:/
    ftp:/example.com/  s:ftp h:example.com p:/
    https:/example.com/  s:https h:example.com p:/
    madeupscheme:/example.com/  s:madeupscheme p:/example.com/
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled);
        }
    
        @Override
        public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled,
                final boolean forceSigning) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * Starts the server on the loopback interface for the given port.
       *
       * @param port the port to listen to, or 0 for any available port. Automated tests should always
       * use port 0 to avoid flakiness when a specific port is unavailable.
       */
      @Throws(IOException::class)
      @JvmOverloads
      public fun start(port: Int = 0) {
        start(InetAddress.getByName("localhost"), port)
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  6. cmd/endpoint.go

    			return ep, fmt.Errorf("invalid URL endpoint format")
    		}
    
    		var port string
    		host, port, err = net.SplitHostPort(u.Host)
    		if err != nil {
    			if !strings.Contains(err.Error(), "missing port in address") {
    				return ep, fmt.Errorf("invalid URL endpoint format: %w", err)
    			}
    
    			host = u.Host
    		} else {
    			var p int
    			p, err = strconv.Atoi(port)
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

                ?: throw IllegalArgumentException("unexpected host: $host")
            this.host = encoded
          }
    
        fun port(port: Int) =
          apply {
            require(port in 1..65535) { "unexpected port: $port" }
            this.port = port
          }
    
        fun addPathSegment(pathSegment: String) =
          apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/https/HandlerTest.java

        }
    
        @Nested
        @DisplayName("Default Port Tests")
        class DefaultPortTests {
    
            @Test
            @DisplayName("Should return HTTPS port 443")
            void testGetDefaultPort() {
                // When
                int port = handler.getDefaultPort();
    
                // Then
                assertEquals(443, port);
                assertEquals(Handler.DEFAULT_HTTPS_PORT, port);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/FessBoot.java

        /**
         * Constructs a new FessBoot instance with the specified port and context path.
         *
         * @param port the port number for the Tomcat server
         * @param contextPath the context path for the web application
         */
        public FessBoot(final int port, final String contextPath) {
            super(port, contextPath);
        }
    
        /**
         * Prepares and returns the web application path.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java

      }
    
      @Override public Socket createSocket(InetAddress host, int port) throws IOException {
        Socket result = createSocket();
    
        try {
          result.connect(new InetSocketAddress(host, port));
        } catch (IOException e) {
          result.close();
          throw e;
        }
        return result;
      }
    
      @Override public Socket createSocket(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Dec 03 21:33:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top