Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 105 for getPort (0.35 sec)

  1. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            final URL url = new File("/Program File").toURI().toURL();
            assertEquals("file:" + getRoot() + "Program File", ResourceUtil.toExternalForm(url));
        }
    
        /**
         * @throws Exception
         */
        public void testGetFileName() throws Exception {
            URL url = new File("/Program File").toURI().toURL();
            assertEquals(getRoot() + "Program File", ResourceUtil.getFileName(url));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

            assertFalse(auth.matches(null));
    
            // Test with different ports
            auth.setPort(8080);
            assertTrue(auth.matches("ftp://hostname:8080/test/aaa.html"));
            assertFalse(auth.matches("ftp://hostname:21/test/aaa.html"));
    
            // Test with no port specified in FtpAuthentication
            auth.setPort(0);
            assertTrue(auth.matches("ftp://hostname:21/test/aaa.html"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

                return facetInfo;
            }
    
            @Override
            public HighlightInfo getHighlightInfo() {
                return highlightInfo;
            }
    
            @Override
            public String getSort() {
                return sort;
            }
    
            @Override
            public int getStartPosition() {
                return startPosition;
            }
    
            @Override
            public int getPageSize() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationTest.java

            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            smbAuthentication.setPort(1000);
            assertEquals("smb1://hoge:1000/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setPort(1000);
            assertEquals("smb1://", smbAuthentication.getPathPrefix());
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationTest.java

            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            smbAuthentication.setPort(1000);
            assertEquals("smb://hoge:1000/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setPort(1000);
            assertEquals("smb://", smbAuthentication.getPathPrefix());
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

                }
    
                @Override
                public FacetInfo getFacetInfo() {
                    return null;
                }
    
                @Override
                public String getSort() {
                    return null;
                }
    
                @Override
                public int getStartPosition() {
                    return 0;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                assertEquals(4, bytesEncoded);
    
                ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN);
                assertEquals(maxReferralLevel, bb.getShort());
                assertEquals(0, bb.getShort()); // null terminator
            }
    
            @ParameterizedTest
            @DisplayName("Should encode various referral levels correctly")
            @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            // Read GUID components in little-endian order
            int data1 = bb.getInt(); // first 4 bytes (little-endian)
            short data2 = bb.getShort(); // next 2 bytes (little-endian)
            short data3 = bb.getShort(); // next 2 bytes (little-endian)
    
            // The last 8 bytes are read as big-endian (network byte order for the high/low parts)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NetServerEnumIterator.java

            this.workgroup = locator.getType() == SmbConstants.TYPE_WORKGROUP;
            if (locator.getURL().getHost().isEmpty()) {
                this.request = new NetServerEnum2(th.getConfig(), th.getOEMDomainName(), NetServerEnum2.SV_TYPE_DOMAIN_ENUM);
            } else if (this.workgroup) {
                this.request = new NetServerEnum2(th.getConfig(), locator.getURL().getHost(), NetServerEnum2.SV_TYPE_ALL);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         */
        static boolean isExternalRepo(ArtifactRepository originalRepository) {
            try {
                URL url = new URL(originalRepository.getUrl());
                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top