Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 100 for getPort (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            assertEquals("smb", url1.getProtocol());
            assertEquals("host", url1.getHost());
            assertEquals(445, url1.getPort());
            assertEquals("/share", url1.getPath());
    
            assertEquals("smb", url2.getProtocol());
            assertEquals("host", url2.getHost());
            assertEquals(1234, url2.getPort());
            assertEquals("/share/file.txt", url2.getPath());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java

        protected abstract DirectoryProperty getDocsDirectory();
    
        @Input
        protected abstract Property<Integer> getPort();
    
        @Nested
        protected abstract Property<JavaLauncher> getJavaLauncher();
    
        @TaskAction
        public void startApplication() {
            System.out.println("serving docs at http://localhost:" + getPort().get());
            DeploymentRegistry registry = getDeploymentRegistry();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Apr 18 12:38:47 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            server1.start();
            final CrawlerWebServer server2 = new CrawlerWebServer(0);
            server2.start();
    
            final String url1 = "http://localhost:" + server1.getPort() + "/";
            final String url2 = "http://localhost:" + server2.getPort() + "/";
            try {
                final int maxCount = 10;
                final int numOfThread = 10;
    
                final File file = File.createTempFile("crawler-", "");
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/witness/MockWitnessService.java

        }
    
        /**
         * Get the port the service is listening on
         *
         * @return the service port
         * @throws IOException if port cannot be determined
         */
        public int getPort() throws IOException {
            if (serverSocket == null) {
                throw new IOException("Service not started");
            }
            return serverSocket.getLocalPort();
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

            if (StringUtil.isNotBlank(getHostname())) {
                config.setHost(getHostname());
            }
            if (getPort() != null) {
                config.setPort(getPort());
            }
            if (StringUtil.isNotBlank(getAuthRealm())) {
                config.setRealm(getAuthRealm());
            }
    
            // AuthSchemeType の設定
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertThat(HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost())
            .isEqualTo("::1");
        // Non-bracketed non-IPv6 works fine.
        assertThat(HostAndPort.fromString("x").requireBracketsForIPv6().getHost()).isEqualTo("x");
        assertThat(HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()).isEqualTo("x");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertThat(HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost())
            .isEqualTo("::1");
        // Non-bracketed non-IPv6 works fine.
        assertThat(HostAndPort.fromString("x").requireBracketsForIPv6().getHost()).isEqualTo("x");
        assertThat(HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()).isEqualTo("x");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

        /**
         * Get the actual port the server is listening on.
         * This is useful when starting the server with port 0 to get a random available port.
         *
         * @return the actual port number
         */
        public int getPort() {
            return ((ServerConnector) server.getConnectors()[0]).getLocalPort();
        }
    
        /**
         * Update the port in sitemaps files after the server has started.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.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.
         * @return The username.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 09:30:17 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/netbios/NbtSocket.java

        }
    
        @Override
        public OutputStream getOutputStream() throws IOException {
            return new SocketOutputStream(super.getOutputStream());
        }
    
        @Override
        public int getPort() {
            return super.getPort();
        }
    
        @Override
        public InetAddress getLocalAddress() {
            return super.getLocalAddress();
        }
    
        @Override
        public int getLocalPort() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top