Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 184 for normalize (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

            // similar component for re-usage
            if (file != null) {
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. internal/event/target/kafka_scram_client_contrib.go

    type XDGSCRAMClient struct {
    	*scram.Client
    	*scram.ClientConversation
    	scram.HashGeneratorFcn
    }
    
    // Begin constructs a SCRAM client component based on a given hash.Hash
    // factory receiver.  This constructor will normalize the username, password
    // and authzID via the SASLprep algorithm, as recommended by RFC-5802.  If
    // SASLprep fails, the method returns an error.
    func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

        public String toString() {
            return "JDK[" + getJavaHome() + "]";
        }
    
        @Override
        public String findTool(String toolName) {
            Path toRet = findTool(toolName, Paths.get(getJavaHome()).normalize());
            if (toRet != null) {
                return toRet.toAbsolutePath().toString();
            }
            return null;
        }
    
        private static Path findTool(String toolName, Path installDir) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            assertEquals("", getField(conn, "objectName"));
        }
    
        /**
         * Test URL with multiple consecutive slashes.
         * Note: Java's URL class does NOT normalize multiple slashes in the path.
         */
        public void test_urlParsing_multipleSlashes() throws Exception {
            URL url = new URL("gcs://mybucket//path//to//object.txt");
            Handler handler = new Handler();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            // similar component for re-usage
            if (file != null) {
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            assertEquals("", getField(conn, "objectName"));
        }
    
        /**
         * Test URL with multiple consecutive slashes.
         * Note: Java's URL class does NOT normalize multiple slashes in the path.
         */
        public void test_urlParsing_multipleSlashes() throws Exception {
            URL url = new URL("storage://mybucket//path//to//object.txt");
            Handler handler = new Handler();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

                }
    
                @Override
                public void visitType(String name) {
                    linkElement.appendChild(addType(name, listener));
                }
            });
    
            linkElement.normalize();
            if (linkElement.getChildNodes().getLength() == 1 && linkElement.getFirstChild() instanceof Element) {
                return linkElement.getFirstChild();
            }
            return linkElement;
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed May 21 06:20:45 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                return context.userDirectory.resolve(userDefinedLocalRepo).normalize();
            }
            // defaults
            return context.userDirectory
                    .resolve(context.protoSession.getEffectiveProperties().get(Constants.MAVEN_USER_CONF))
                    .resolve("repository")
                    .normalize();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  9. 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)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
    
            return normalizeEncoding(encoding);
        }
    
        /**
         * Normalizes the encoding name using the encoding helper.
         *
         * @param encoding the encoding name to normalize
         * @return the normalized encoding name
         */
        protected String normalizeEncoding(final String encoding) {
            try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top