Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 43 for unescaping (0.09 seconds)

  1. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            assertEquals("hello world", getQuery("hello world", new String[0], Collections.emptyMap(), Collections.emptyMap(), false));
        }
    
        @Test
        public void test_escapeQuery() {
            // Test escaping functionality through escape parameter
            assertEquals("test", getQuery("test", new String[0], Collections.emptyMap(), Collections.emptyMap(), false));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            return value;
        }
    
        /**
         * Escapes special characters in a query string if escaping is enabled.
         * Replaces reserved characters with their escaped equivalents based on the Constants.RESERVED array.
         *
         * @param value the query string to escape
         * @return the escaped query string, or the original value if escaping is disabled
         */
        protected String escapeQuery(final String value) {
            if (!escape) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFF');
    
        assertWithMessage("0xFFFE is forbidden and should be replaced during escaping")
            .that(xmlEscaper.escape("[\ufffe]"))
            .isEqualTo("[\uFFFD]");
        assertWithMessage("0xFFFF is forbidden and should be replaced during escaping")
            .that(xmlEscaper.escape("[\uffff]"))
            .isEqualTo("[\uFFFD]");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            generator = new TestThumbnailGenerator();
    
            // The pattern as it would be loaded from XML: "image/svg\+xml"
            // In XML, a single backslash is passed directly (no Java string escaping)
            // So we use a literal backslash here to simulate XML-loaded value
            String xmlLoadedPattern = "image/svg" + "\\" + "+xml"; // Simulates XML value: image/svg\+xml
    
    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)
  5. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt

        if (uriStripped) {
          if (uri.toString() != component.urlString("")) {
            fail("Encoding $component $codePoint using $encoding")
          }
          return
        }
    
        // If the URI has more escaping than the HttpURL, check that the decoded values still match.
        val uriEscaped = uriEscapedCodePoints.indexOf(codePointString) != -1
        if (uriEscaped) {
          if (uri.toString() == httpUrl.toString()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFF');
    
        assertWithMessage("0xFFFE is forbidden and should be replaced during escaping")
            .that(xmlEscaper.escape("[\ufffe]"))
            .isEqualTo("[\uFFFD]");
        assertWithMessage("0xFFFF is forbidden and should be replaced during escaping")
            .that(xmlEscaper.escape("[\uffff]"))
            .isEqualTo("[\uFFFD]");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/PercentEscaper.java

     * directly if required. While URI escapers impose specific semantics on which characters are
     * considered 'safe', this class has a minimal set of restrictions.
     *
     * <p>When escaping a String, the following rules apply:
     *
     * <ul>
     *   <li>All specified safe characters remain unchanged.
     *   <li>If {@code plusForSpace} was specified, the space character " " is converted into a plus
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

                    description =
                        "The name of the test to run, as should be passed to --tests. " +
                            "Can't contain spaces since there are problems with Teamcity's escaping, you can use * instead.",
                )
                text(
                    testJvmVersionParameter,
                    JvmVersion.JAVA_11.major.toString(),
                    display = ParameterDisplay.PROMPT,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 19 08:02:04 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
          fail("Escaping null string should throw exception");
        } catch (NullPointerException x) {
          // pass
        }
    
        // All URL escapers should leave 0-9, A-Z, a-z unescaped
        assertUnescaped(e, 'a');
        assertUnescaped(e, 'z');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

      private int max = -1;
    
      /** Construct a new sparse array builder. */
      public CharEscaperBuilder() {
        this.map = new HashMap<>();
      }
    
      /** Add a new mapping from an index to an object to the escaping. */
      @CanIgnoreReturnValue
      public CharEscaperBuilder addEscape(char c, String r) {
        map.put(c, checkNotNull(r));
        if (c > max) {
          max = c;
        }
        return this;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top