Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for getBoost (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                }
                return url;
            }
    
            public String getCacheKey() {
                return getHost() + ":" + getPort();
            }
    
            public String getHost() {
                return uri.getHost();
            }
    
            public int getPort() {
                int port = uri.getPort();
                if (port == -1) {
                    port = DEFAULT_FTP_PORT;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            ftpInfo = new FtpClient.FtpInfo(value);
            assertEquals(value, ftpInfo.toUrl());
            assertEquals("123.123.123.123:9999", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(9999, ftpInfo.getPort());
            assertEquals("/", ftpInfo.getParent());
            assertNull(ftpInfo.getName());
    
            value = "ftp://123.123.123.123/test.txt";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NetServerEnumIterator.java

            if ( locator.getURL().getHost().isEmpty() ) {
                this.request = new NetServerEnum2(th.getConfig(), th.getOEMDomainName(), NetServerEnum2.SV_TYPE_DOMAIN_ENUM);
                this.response = new NetServerEnum2Response(th.getConfig());
            }
            else if ( this.workgroup ) {
                this.request = new NetServerEnum2(th.getConfig(), locator.getURL().getHost(), NetServerEnum2.SV_TYPE_ALL);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Handler.java

        }
        public URLConnection openConnection( URL u ) throws IOException {
            return new SmbFile( u );
        }
        protected void parseURL( URL u, String spec, int start, int limit ) {
            String host = u.getHost();
            String path, ref;
            int port;
    
            if( spec.equals( "smb1://" )) {
                spec = "smb1:////";
                limit += 2;
            } else if( spec.startsWith( "smb1://" ) == false &&
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                final AuthScheme authScheme = authentication.getAuthScheme();
                if (authScope.getHost() != null && authScheme != null) {
                    final HttpHost targetHost = new HttpHost(authScope.getHost(), authScope.getPort());
                    authCache.put(targetHost, authScheme);
                }
            }
    
            httpClientContext.setAuthCache(authCache);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            try {
                if (isWebCrawlingPath(configPath)) {
                    // web
                    final WebConfig wConfig = new WebConfig();
                    wConfig.setAvailable(Constants.T);
                    wConfig.setBoost(1.0f);
                    wConfig.setCreatedBy(username);
                    wConfig.setCreatedTime(now);
                    if (form.depth != null) {
                        wConfig.setDepth(form.depth);
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                }
                return urlpath.substring(i + 1);
            }
            else if ( shr != null ) {
                return shr + '/';
            }
            else if ( this.url.getHost().length() > 0 ) {
                return this.url.getHost() + '/';
            }
            else {
                return "smb://";
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/Handler.java

            }
            return this.transportContext;
        }
    
    
        @Override
        protected void parseURL ( URL u, String spec, int start, int limit ) {
            String host = u.getHost();
            String path, ref;
            int port;
    
            if ( spec.equals("smb://") ) {
                spec = "smb:////";
                limit += 2;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 09:14:24 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

            if (StringUtil.isBlank(url) || url.startsWith("file:")) {
                // not target
                return;
            }
    
            try {
                final URL u = new URL(url);
                final String host = u.getHost();
                if (host == null) {
                    return;
                }
                final AtomicLong lastTime = lastTimes.putIfAbsent(host, new AtomicLong(SystemUtil.currentTimeMillis()));
                if (lastTime == null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top