Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for detectCI (0.05 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

        }
    
        @Nullable
        protected CIInfo detectCI(LocalContext context) {
            List<CIInfo> detected = CIDetectorHelper.detectCI();
            if (detected.isEmpty()) {
                return null;
            } else if (detected.size() > 1) {
                // warn
                context.parserRequest
                        .logger()
                        .warn("Multiple CI systems detected: "
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

                    return l;
                }
            }
            return null;
        }
    
        /**
         * Sets the language detector.
         *
         * @param detector The language detector.
         */
        public void setDetector(final LanguageDetector detector) {
            this.detector = detector;
        }
    
        /**
         * Creates a script for updating a document with language information.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java

            } catch (final IOException e) {
                throw new ExtractException("Failed to parse CSV content", e);
            }
        }
    
        /**
         * Detects the delimiter character from a CSV line.
         *
         * @param line the CSV line to analyze
         * @return the detected delimiter character
         */
        protected Character detectDelimiter(final String line) {
            final char[] candidates = { ',', '\t', ';', '|' };
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

    import org.codelibs.fess.crawler.helper.MimeTypeHelper;
    
    /**
     * MimeTypeHelperImpl is a helper class that detects the MIME type of a given input stream or filename.
     * It uses the Apache Tika library to detect the MIME type.
     *
     * <p>
     * This class provides methods to:
     * </p>
     * <ul>
     *   <li>Detect the MIME type based on the input stream and filename.</li>
     *   <li>Normalize the filename to handle special characters.</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

        /**
         * This class is a parser that detects the document type.
         */
        protected class TikaDetectParser extends CompositeParser {
            private static final long serialVersionUID = 1L;
    
            /**
             * The type detector used by this parser to auto-detect the type of a
             * document.
             */
            private final Detector detector; // always set in the constructor
    
            /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/storage/StorageClientFactory.java

        private StorageClientFactory() {
            // Utility class
        }
    
        /**
         * Auto-detect storage type from endpoint URL.
         *
         * @param endpoint the storage endpoint URL
         * @return detected storage type
         */
        public static StorageType detectStorageType(final String endpoint) {
            if (StringUtil.isBlank(endpoint)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

        private ModelVersionUtils() {
            // Utility class
        }
    
        /**
         * Detects the model version from a POM document.
         * Uses both the modelVersion element and namespace URI for detection.
         *
         * @param pomDocument the POM document (domtrip Document)
         * @return the detected model version
         */
        public static String detectModelVersion(Document pomDocument) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

         */
        protected ExtractData createExtractData(final String content) {
            return new ExtractData(extractString(content));
        }
    
        /**
         * Detects the encoding of the input stream.
         * @param bis The buffered input stream.
         * @return The detected encoding.
         */
        protected String getEncoding(final BufferedInputStream bis) {
            final byte[] b = new byte[preloadSizeForCharset];
            try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSet.java

          }
          maxRunBeforeFallback = maxRunBeforeFallback(newTableSize);
          expandTableThreshold = (int) (DESIRED_LOAD_FACTOR * newTableSize);
        }
    
        /**
         * We attempt to detect deliberate hash flooding attempts. If one is detected, we fall back to a
         * wrapper around j.u.HashSet, which has built-in flooding protection. MAX_RUN_MULTIPLIER was
         * determined experimentally to match our desired probability of false positives.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java

                        .anyMatch(repo -> "child1-repo".equals(repo.getId()));
                assertFalse(child2HasChild1Repo, "Child2 should NOT have child1's repository (leakage detected!)");
    
                // Check for leakage in the shared request
                boolean sharedRequestHasChild1Repo =
                        repositoriesAfterChild2.stream().anyMatch(repo -> "child1-repo".equals(repo.getId()));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top