Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 418 for port (0.34 sec)

  1. src/test/java/jcifs/https/HandlerTest.java

                int port2 = handler.getDefaultPort();
                int port3 = handler.getDefaultPort();
    
                // Then
                assertEquals(port1, port2);
                assertEquals(port2, port3);
                assertEquals(443, port1);
            }
        }
    
        @Nested
        @DisplayName("Constants Tests")
        class ConstantsTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. cmd/ftp-server.go

    			}
    			port, err = strconv.Atoi(portStr)
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server")
    			}
    			if port < 1 || port > 65535 {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s, (port number must be between 1 to 65535)", arg), "unable to start FTP server")
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
            return (this.tconHostName == null || hostName.equalsIgnoreCase(this.tconHostName)) && address.equals(this.address)
                    && (port == 0 || port == this.port ||
                    /* port 139 is ok if 445 was requested */
                            port == 445 && this.port == 139)
                    && (localAddr == this.localAddr || localAddr != null && localAddr.equals(this.localAddr)) && localPort == this.localPort;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  4. cmd/net_test.go

    		{"server:http", "server", "80"},
    	}
    
    	for _, testCase := range testCases {
    		host, port := mustSplitHostPort(testCase.hostPort)
    		if testCase.expectedHost != host {
    			t.Fatalf("host: expected = %v, got = %v", testCase.expectedHost, host)
    		}
    
    		if testCase.expectedPort != port {
    			t.Fatalf("port: expected = %v, got = %v", testCase.expectedPort, port)
    		}
    	}
    }
    
    func TestSortIPs(t *testing.T) {
    	testCases := []struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtSocket.java

         *
         * @param address the NetBIOS address to connect to
         * @param port the port number, or 0 for the default NetBIOS session service port
         * @throws IOException if an I/O error occurs while creating the socket
         */
        public NbtSocket(final NbtAddress address, final int port) throws IOException {
            this(address, port, null, 0);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

                        smbAuth.setServer(hostname);
                        if (StringUtil.isNotBlank(port)) {
                            try {
                                smbAuth.setPort(Integer.parseInt(port));
                            } catch (final NumberFormatException e) {
                                logger.warn("Failed to parse {}", port, e);
                            }
                        }
                        smbAuth.setUsername(username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbTransportPool.java

        /**
         * Get transport connection, with local binding
         *
         * @param tc
         *            context to use
         * @param address the server address
         * @param port the port number
         * @param localAddr the local address to bind to
         * @param localPort the local port to bind to
         * @param hostName the server host name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

            this.server = server;
        }
    
        /**
         * Returns the port number.
         * @return The port number.
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Sets the port number.
         * @param port The port number.
         */
        public void setPort(final int port) {
            this.port = port;
        }
    
        /**
         * Returns the username.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/jcifs/smb1/https/HandlerTest.java

                int port2 = handler.getDefaultPort();
                int port3 = handler.getDefaultPort();
    
                // Then
                assertEquals(port1, port2);
                assertEquals(port2, port3);
                assertEquals(443, port1);
            }
        }
    
        @Nested
        @DisplayName("Constants Tests")
        class ConstantsTests {
    
            @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)
Back to top