Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for startsWith (0.06 sec)

  1. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    assertTrue(urlQueue.getUrl().startsWith(url1));
                }
                while ((urlQueue = urlQueueService.poll(sessionId2)) != null) {
                    assertTrue(urlQueue.getUrl().startsWith(url2));
                }
    
                dataService.iterate(sessionId1, accessResult -> {
                    assertTrue(accessResult.getUrl().startsWith(url1));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                }
                while ((urlQueue = urlQueueService.poll(sessionId2)) != null) {
                    assertTrue(urlQueue.getUrl() + "=>" + url2, urlQueue.getUrl().startsWith(url2));
                }
    
                dataService.iterate(sessionId1, accessResult -> assertTrue(accessResult.getUrl().startsWith(url1)));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/PathValidator.java

                throw new SmbException("Path is not in allowed list");
            }
    
            // Validate UNC paths
            if (normalized.startsWith("\\\\") || normalized.startsWith("//")) {
                if (!allowUncPaths) {
                    throw new SmbException("UNC paths are not allowed");
                }
                validateUncPath(normalized);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

            msg = req.getHeader("Authorization");
            final boolean offerBasic = enableBasic && (insecureBasic || req.isSecure());
    
            if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) {
                if (msg.startsWith("NTLM ")) {
                    final HttpSession ssn = req.getSession();
                    byte[] challenge;
    
                    if (loadBalance) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

        }
    
        public void test_doGet_dir() {
            final File file = ResourceUtil.getResourceAsFile("test");
            String path = file.getAbsolutePath();
            if (!path.startsWith("/")) {
                path = "/" + path.replace('\\', '/');
            }
            try {
                fsClient.doGet("file://" + path);
                fail();
            } catch (final ChildUrlsException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    assertTrue(urlQueue.getUrl().startsWith(url1));
                }
                while ((urlQueue = urlQueueService.poll(sessionId2)) != null) {
                    assertTrue(urlQueue.getUrl().startsWith(url2));
                }
    
                dataService.iterate(sessionId1, accessResult -> {
                    assertTrue(accessResult.getUrl().startsWith(url1));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

            msg = req.getHeader("Authorization");
            final boolean offerBasic = this.enableBasic && (this.insecureBasic || req.isSecure());
    
            if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) {
                if (msg.startsWith("NTLM ")) {
                    final HttpSession ssn = req.getSession();
                    byte[] challenge;
    
                    if (this.loadBalance) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            }
    
            final String p = path.trim();
            if (p.startsWith("#")) {
                return StringUtils.EMPTY;
            }
    
            if (p.startsWith(GsaConfigParser.CONTAINS)) {
                return ".*" + Pattern.quote(p.substring(GsaConfigParser.CONTAINS.length())) + ".*";
            }
    
            if (p.startsWith(GsaConfigParser.REGEXP)) {
                return p.substring(GsaConfigParser.REGEXP.length());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

        SmbTreeImpl(final SmbSessionImpl session, final String share, final String service) {
            this.session = session.acquire();
            this.share = share.toUpperCase();
            if (service != null && !service.startsWith("??")) {
                this.service = service;
            }
            this.service0 = this.service;
    
            this.traceResource = this.session.getConfig().isTraceResourceUsage();
            if (this.traceResource) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/query-params-str-validations.md

    ---
    
    But if you're curious about this specific code example and you're still entertained, here are some extra details.
    
    #### String with `value.startswith()` { #string-with-value-startswith }
    
    Did you notice? a string using `value.startswith()` can take a tuple, and it will check each value in the tuple:
    
    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top