Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 116 for normalizer (0.48 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

         * Truncates and normalizes content to create a summary suitable for display.
         *
         * @param responseData the response data from crawling (not currently used)
         * @param content the content to create a digest from
         * @param dataMap additional data map (not currently used)
         * @param maxWidth the maximum width of the digest
         * @return the abbreviated and normalized digest, or empty string if content is null
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. 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)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                }
            }
    
            /**
             * Normalizes the URL string by cleaning up multiple slashes and resolving relative paths.
             * This method ensures the URL is in a consistent format for FTP operations.
             *
             * @param s The URL string to normalize
             * @return The normalized URL string
             */
            protected String normalize(final String s) {
                if (s == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            }
            return normalizeCanonicalUrl(responseData.getUrl(), canonicalUrl);
        }
    
        /**
         * Normalizes the canonical URL relative to the base URL.
         *
         * @param baseUrl the base URL
         * @param canonicalUrl the canonical URL to normalize
         * @return the normalized canonical URL
         */
        protected String normalizeCanonicalUrl(final String baseUrl, final String canonicalUrl) {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

     * lookups.
     *
     * <p>During construction, names are normalized in two ways:
     *
     * <ol>
     *   <li>ASCII uppercase characters are converted to lowercase.
     *   <li>Unicode dot separators other than the ASCII period ({@code '.'}) are converted to the ASCII
     *       period.
     * </ol>
     *
     * <p>The normalized values will be returned from {@link #toString()} and {@link #parts()}, and will
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java

            assertEquals("UTF-8", encodingHelper.normalize(enc));
    
            enc = "Shift_JIS";
            assertEquals("Shift_JIS", encodingHelper.normalize(enc));
    
            enc = "S-JIS";
            assertEquals("Shift_JIS", encodingHelper.normalize(enc));
        }
    
        public void test_normalize_null() {
            String enc;
    
            enc = null;
            assertNull(encodingHelper.normalize(enc));
    
            enc = "";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * Resolves and adds the given directory as a source with the given scope and language.
         * First, this method resolves the given root against the project base directory, then normalizes the path.
         * If no source already exists for the same scope, language and normalized directory,
         * these arguments are added as a new {@link SourceRoot} element.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            url = "http://hoge/index.html";
            assertEquals(url, htmlTransformer.normalizeUrl(url));
    
            url = "http://hoge/index.html?a=1";
            assertEquals(url, htmlTransformer.normalizeUrl(url));
    
            url = "http://hoge/index.html?a=1&b=2";
            assertEquals(url, htmlTransformer.normalizeUrl(url));
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            };
        }
    
        private static Long toLong(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Long.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * Converts the given object to a {@literal long}.
         *
         * @param o
         *            the object to convert
         * @return the converted {@literal long}
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top