Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Math (0.21 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                                    final int crawlDelay = Integer.parseInt(value);
                                    for (final Directive directive : currentDirectiveList) {
                                        directive.setCrawlDelay(Math.max(0, crawlDelay));
                                    }
                                } catch (final NumberFormatException e) {
                                    // ignore invalid crawl-delay values
                                }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

                if (text == null || text.isEmpty()) {
                    return Collections.emptyList();
                }
    
                List<String> readings = new ArrayList<>();
                int limit = Math.min(langs.length, getMaxReadingNum());
    
                for (int i = 0; i < limit; i++) {
                    readings.add(text.toUpperCase() + "_" + langs[i]);
                }
    
                return readings;
            }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            // Should not require try-catch (unchecked exception)
            throwUnchecked(); // This compiles without try-catch
        }
    
        private void throwUnchecked() {
            if (Math.random() > 1) { // Never true, but compiler doesn't know
                throw new CrawlerSystemException("Unchecked");
            }
        }
    
        /**
         * Test suppressed exceptions
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolder.java

         * @param path The path to match.
         * @return The matching SmbAuthentication object, or null if no match is found.
         */
        public SmbAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
            for (final Map.Entry<String, SmbAuthentication> entry : authMap.entrySet()) {
                if (path.startsWith(entry.getKey())) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                }
            }
    
            /**
             * Adds a disallowed path to this directive.
             * @param path the path to disallow
             */
            public void addDisallow(final String path) {
                if (!disallowedPaths.contains(path)) {
                    disallowedPaths.add(path);
                }
            }
    
            /**
             * Gets all allowed paths for this directive.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

        }
    
        /**
         * Gets the base path for storing files.
         *
         * @return the base path
         */
        public String getPath() {
            return path;
        }
    
        /**
         * Sets the base path for storing files.
         *
         * @param path the base path to set
         */
        public void setPath(final String path) {
            this.path = path;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            final File targetFile = ResourceUtil.getResourceAsFile("test");
            String path = targetFile.getAbsolutePath();
            if (!path.startsWith("/")) {
                path = "/" + path.replace('\\', '/');
            }
            final String url = "file:" + path;
    
            final int maxCount = 3;
            final int numOfThread = 2;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

     * password, and domain. Additionally, it offers a method to construct a path
     * prefix for SMB1 URLs based on the configured server and port.
     * </p>
     *
     * <p>
     * The path prefix is in the format "smb1://server:port/", where the port is
     * included only if it's greater than 0. If the server is not set, the path
     * prefix will be "smb1://".
     * </p>
     */
    public class SmbAuthentication {
    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. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java

     * password, and domain. Additionally, it offers a method to construct a path
     * prefix for SMB URLs based on the configured server and port.
     * </p>
     *
     * <p>
     * The path prefix is in the format "smb://server:port/", where the port is
     * included only if it's greater than 0. If the server is not set, the path
     * prefix will be "smb://".
     * </p>
     */
    public class SmbAuthentication {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolder.java

     * authentication based on a given path.
     *
     * <p>This class manages a collection of {@link SmbAuthentication} objects, each associated
     * with a specific path prefix. When a path is provided, it iterates through the stored
     * authentications to find the one whose path prefix matches the beginning of the given path.
     * This allows for different SMB shares to use different authentication credentials.</p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top