Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 172 for normalizer (0.18 sec)

  1. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                return ipv6Address;
            }
    
            // Normalize each part (remove leading zeros)
            final String[] normalized = new String[8];
            for (int i = 0; i < 8; i++) {
                normalized[i] = parts[i].replaceFirst("^0+(?!$)", "");
                if (normalized[i].isEmpty()) {
                    normalized[i] = "0";
                }
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * Normalizes a URL.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultUrlNormalizer implements UrlNormalizer {
    
        @Override
        public String normalize(String url) {
            String result = url;
    
            if (result != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Validates and normalizes SMB path
         *
         * @param path the path to normalize
         * @return normalized path
         */
        public static String normalizeSmbPath(String path) {
            validateSmbPath(path);
    
            // Normalize slashes
            path = path.replace('/', '\\');
    
            // Remove redundant slashes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CWD.java

            return directory;
        }
    
        /**
         * Resolves against current cwd, resulting path is normalized.
         *
         * @throws NullPointerException if {@code seg} is {@code null}.
         */
        @Nonnull
        public Path resolve(String seg) {
            requireNonNull(seg, "seg");
            return directory.resolve(seg).normalize();
        }
    
        /**
         * Changes current cwd, if the new path is existing directory.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 14:09:05 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. internal/config/identity/ldap/ldap.go

    		}
    		res[userDistName] = set.CreateStringSet(groups...)
    	}
    
    	return res, nil
    }
    
    // QuickNormalizeDN - normalizes the given DN without checking if it is valid or
    // exists in the LDAP directory. Returns input if error
    func (l Config) QuickNormalizeDN(dn string) string {
    	if normDN, err := xldap.NormalizeDN(dn); err == nil {
    		return normDN
    	}
    	return dn
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (1)
  8. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         * First, this method resolves the given root against the {@linkplain #getBaseDirectory() base directory},
         * then normalizes the path. If a source already exists for the same scope, language and normalized directory,
         * this method does nothing. Otherwise, the normalized directory is added as a new {@link SourceRoot} element.
         *
         * @param scope scope (main or test) of the directory to add
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  10. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top