Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 637 for Escape (0.04 seconds)

  1. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

     * limitations under the License.
     */
    
    package com.google.common.escape;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.escape.testing.EscaperAsserts;
    import java.io.IOException;
    import junit.framework.TestCase;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 18 15:41:04 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jun 15 21:41:47 GMT 2023
    - 920 bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/escape/CharEscaperBuilderTest.java

      public void testAddEscapes() {
        char[] cs = {'a', 'b', 'c'};
        CharEscaperBuilder builder = new CharEscaperBuilder().addEscapes(cs, "Z");
        Escaper escaper = builder.toEscaper();
        assertThat(escaper.escape("abcdef")).isEqualTo("ZZZdef");
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 18 15:41:04 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       */
      @Override
      public final String escape(String s) {
        checkNotNull(s); // GWT specific check (do not optimize).
        for (int i = 0; i < s.length(); i++) {
          char c = s.charAt(i);
          if ((c < replacementsLength && replacements[c] != null) || c > safeMax || c < safeMin) {
            return escapeSlow(s, i);
          }
        }
        return s;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/PercentEscaper.java

       * escaped.
       */
      private final boolean[] safeOctets;
    
      /**
       * Constructs a percent escaper with the specified safe characters and optional handling of the
       * space character.
       *
       * <p>Not that it is allowed, but not necessarily desirable to specify {@code %} as a safe
       * character. This has the effect of creating an escaper which has no well-defined inverse but it
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  6. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jun 15 21:41:47 GMT 2023
    - 920 bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. guava-gwt/test/com/google/common/escape/testing/Testing.gwt.xml

        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    <inherits name="com.google.common.annotations.Annotations" />
    <inherits name="com.google.common.escape.Escape" />
    <inherits name="com.google.gwt.core.Core" />
    <inherits name="com.google.gwt.junit.JUnit" />
    <inherits name="com.google.gwt.user.User" />
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 19 16:02:36 GMT 2024
    - 1.5K 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. internal/s3select/sql/parser_test.go

    		`select * from s3object where Name like 'abc' escape 't'`,
    		`select * from s3object where Name like 'a\%' escape '?'`,
    		`select * from s3object where Name not like 'abc\' escape '?'`,
    		`select * from s3object where Name like 'a\%' escape LOWER('?')`,
    		`select * from s3object where Name not like LOWER('Bc\') escape '?'`,
    	}
    	for i, tc := range cases {
    		err := p.ParseString(tc, &s)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Click Count (0)
Back to Top