Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 143 for Escaper (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/core/text/JsonUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author shinsuke
     *
     */
    public class JsonUtilTest {
        @Test
        public void escape() {
            assertThat(JsonUtil.escape("abc123あア亜"), is("abc123あア亜"));
            assertThat(JsonUtil.escape("\\\"/\b\t\n\f\r\0"), is("\\\\\\\"\\/\\b\\t\\n\\f\\r\\u0000"));
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            return StringUtil.EMPTY;
        }
    
        /**
         * Escapes HTML and applies highlighting to text.
         * Handles boundary position detection if enabled.
         *
         * @param text the text to process
         * @return the escaped and highlighted text
         */
        protected String escapeHighlight(final String text) {
            final String escaped = LaFunctions.h(text);
            final String value;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // This verifies the fix for SVG thumbnail generation issue
            // where image/svg+xml was not matching due to unescaped + character
    
            // SVG MIME type - the + must be escaped in regex
            String svgMimetype = "image/svg+xml";
            String svgPatternWrong = "image/svg+xml"; // Wrong: + means "one or more" in regex
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  4. docs_src/wsgi/tutorial001_py310.py

    from a2wsgi import WSGIMiddleware
    from fastapi import FastAPI
    from flask import Flask, request
    from markupsafe import escape
    
    flask_app = Flask(__name__)
    
    
    @flask_app.route("/")
    def flask_main():
        name = request.args.get("name", "World")
        return f"Hello, {escape(name)} from Flask!"
    
    
    app = FastAPI()
    
    
    @app.get("/v2")
    def read_main():
        return {"message": "Hello World"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 426 bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/escape/testing/package-info.java

     * limitations under the License.
     */
    
    /**
     * Testing utilities for use in tests of {@code com.google.common.escape}.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     */
    @CheckReturnValue
    package com.google.common.escape.testing;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jun 15 21:41:47 GMT 2023
    - 920 bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    http://%ef%bc%85%ef%bc%94%ef%bc%91.com
    
    # ...%00 in fullwidth should fail (also as escaped UTF-8 input)
    http://\uff05\uff10\uff10.com
    http://%ef%bc%85%ef%bc%90%ef%bc%90.com
    
    # Basic IDN support, UTF-8 and UTF-16 input should be converted to IDN
    http://\u4f60\u597d\u4f60\u597d  s:http p:/ h:xn--6qqa088eba
    
    # Invalid escaped characters should fail and the percents should be
    # escaped. https://www.w3.org/Bugs/Public/show_bug.cgi?id=24191
    http://%zz%66%a.com
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  7. guava-gwt/src/com/google/common/ForceGuavaCompilation.gwt.xml

      <inherits name="com.google.common.base.Base" />
      <inherits name="com.google.common.cache.Cache" />
      <inherits name="com.google.common.collect.Collect" />
      <inherits name="com.google.common.escape.Escape" />
      <inherits name="com.google.common.html.Html" />
      <inherits name="com.google.common.io.Io" />
      <inherits name="com.google.common.math.Math" />
      <inherits name="com.google.common.net.Net" />
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 27 15:04:14 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

            GsaConfigParser parser = new GsaConfigParser();
    
            assertEquals("", parser.escape("# comment"));
            assertEquals("^\\Qtest\\E$", parser.escape("^test$"));
            assertEquals("^\\Qtest\\E", parser.escape("^test"));
            assertEquals("\\Qtest\\E$", parser.escape("test$"));
            assertEquals("\\Qtest\\E", parser.escape("test"));
        }
    
        @Test
        public void test_unescape() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java

                java.util.Properties properties, Path path, UnaryOperator<String> callback, boolean escape)
                throws IOException {
            MavenProperties sp = new MavenProperties(false);
            if (Files.exists(path)) {
                sp.load(path);
            }
            properties.forEach(
                    (k, v) -> sp.put(k.toString(), escape ? DefaultInterpolator.escape(v.toString()) : v.toString()));
            loadIncludes(path, sp, callback);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. guava-gwt/src/com/google/common/net/Net.gwt.xml

    <super-source path="super"/>
    
    <inherits name="com.google.common.annotations.Annotations" />
    <inherits name="com.google.common.base.Base" />
    <inherits name="com.google.common.collect.Collect" />
    <inherits name="com.google.common.escape.Escape" />
    <inherits name="com.google.common.primitives.Primitives" />
    <inherits name="com.google.gwt.core.Core" />
    <inherits name="com.google.gwt.user.User" />
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 21 16:12:41 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top