Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 131 for normalize (0.06 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

             *                 If null, the path string representation is used
             */
            protected PathSource(Path path, String location) {
                this.path = requireNonNull(path, "path").normalize();
                this.location = location != null ? location : this.path.toString();
            }
    
            @Override
            @Nullable
            public Path getPath() {
                return path;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                return buf.toString();
            } catch (final UnsupportedEncodingException e) {
                return path;
            }
        }
    
        /**
         * Normalizes a configuration path.
         *
         * @param path The path to normalize.
         * @return The normalized path.
         */
        public String normalizeConfigPath(final String path) {
    
            if (StringUtil.isBlank(path)) {
                return StringUtils.EMPTY;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            public int getType() {
                return LIST_ITEM;
            }
    
            @Override
            public boolean isNull() {
                return (size() == 0);
            }
    
            void normalize() {
                for (int i = size() - 1; i >= 0; i--) {
                    Item lastItem = get(i);
    
                    if (lastItem.isNull()) {
                        if (i == size() - 1 || get(i + 1).getType() == STRING_ITEM) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            this.readingConverter = readingConverter;
        }
    
        /**
         * Sets the normalizer.
         * @param normalizer The normalizer.
         */
        public void setNormalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
        }
    
        /**
         * Sets the prefix match weight.
         * @param prefixMatchWeight The prefix match weight.
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            // file. Ideally, we'd do full pattern-evaluation against the sysprops, but this
            // is a first step. There are several replacements below, in order to normalize
            // the path character before we operate on the string as a regex input, and
            // in order to avoid surprises with the File construction...
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

        /**
         * PDF config file path.
         */
        public static final String TIKA_PDF_CONFIG = "tika.pdf.config";
    
        /**
         * A parameter key to normalize a text.
         */
        public static final String NORMALIZE_TEXT = "normalize_text";
    
        private static final String FILE_PASSWORD = "fess.file.password";
    
        /**
         * Output encoding.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      while (!bufferA.exhausted()) {
        val codePoint = bufferA.readUtf8CodePoint()
        if (!IDNA_MAPPING_TABLE.map(codePoint, bufferB)) return null
      }
    
      // 2. Normalize, from bufferB to bufferA.
      val normalized = normalizeNfc(bufferB.readUtf8())
      bufferA.writeUtf8(normalized)
    
      // 3. For each label, convert/validate Punycode.
      val decoded = Punycode.decode(bufferA.readUtf8()) ?: return null
    
      // 4.1 Validate.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                dr.pathConsumed = consumed;
    
                /*
                 * Samba has a tendency to return pathConsumed values so that they consume a trailing slash of the
                 * requested path. Normalize this here.
                 */
                if (reqPath.charAt(consumed - 1) == '\\') {
                    if (log.isDebugEnabled()) {
                        log.debug("Server consumed trailing slash of request path, adjusting");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/PathValidatorTest.java

            String url = "smb://server/share/folder/file.txt";
            String normalized = validator.validateSmbUrl(url);
            assertTrue(normalized.startsWith("smb://"));
            assertTrue(normalized.contains("server"));
            assertTrue(normalized.contains("/share/folder/file.txt") || normalized.contains("\\share\\folder\\file.txt"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            if (StringUtil.isBlank(fileName)) {
                throwValidationError(messages -> messages.addErrorsDesignFileNameIsNotFound("designFile"), this::asListHtml);
            }
    
            File uploadFile;
            // normalize filename
            if (checkFileType(fileName, fessConfig.getSupportedUploadedMediaExtentionsAsArray())
                    && checkFileType(uploadedFileName, fessConfig.getSupportedUploadedMediaExtentionsAsArray())) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top