Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for Reshape (0.1 sec)

  1. guava-gwt/src/com/google/common/escape/Escape.gwt.xml

    cpovirk <******@****.***> 1721404771 -0700
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. 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"));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertUnicodeEscaping(e, "%F4%8F%BF%BF", '\uDBFF', '\uDFFF');
    
        // simple string tests
        assertEquals("", e.escape(""));
        assertEquals("safestring", e.escape("safestring"));
        assertEquals("embedded%00null", e.escape("embedded\0null"));
        assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar"));
      }
    
      /** Tests the various ways that the space character can be handled */
      public void testPlusForSpace() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

     * limitations under the License.
     */
    
    package com.google.common.escape.testing;
    
    import static com.google.common.escape.Escapers.computeReplacement;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.escape.CharEscaper;
    import com.google.common.escape.Escaper;
    import com.google.common.escape.UnicodeEscaper;
    import java.io.IOException;
    import junit.framework.Assert;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

     * limitations under the License.
     */
    
    package com.google.common.escape.testing;
    
    import static com.google.common.escape.Escapers.computeReplacement;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.escape.CharEscaper;
    import com.google.common.escape.Escaper;
    import com.google.common.escape.UnicodeEscaper;
    import java.io.IOException;
    import junit.framework.Assert;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Simple examples (smoke tests)
        assertEquals("xxx", xmlEscaper.escape("xxx"));
        assertEquals("test &amp; test &amp; test", xmlEscaper.escape("test & test & test"));
        assertEquals("test &lt;&lt; 1", xmlEscaper.escape("test << 1"));
        assertEquals("test &gt;&gt; 1", xmlEscaper.escape("test >> 1"));
        assertEquals("&lt;tab&gt;", xmlEscaper.escape("<tab>"));
    
        // Test all non-escaped ASCII characters.
        String s =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnicodeEscaping(e, "%F4%8F%BF%BF", '\uDBFF', '\uDFFF');
    
        assertEquals("", e.escape(""));
        assertEquals("safestring", e.escape("safestring"));
        assertEquals("embedded%00null", e.escape("embedded\0null"));
        assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar"));
      }
    
      // Helper to assert common expected behaviour of uri escapers.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/escape/EscapersTest.java

        assertEquals("Xhe_Xuick_Xrown_XoxX", first.escape("The Quick Brown Fox!"));
        assertEquals("Xhe-Xuick-Xrown-Xox$", second.escape("The Quick Brown Fox!"));
      }
    
      // A trivial non-optimized escaper for testing.
      static CharEscaper createSimpleCharEscaper(final ImmutableMap<Character, char[]> replacementMap) {
        return new CharEscaper() {
          @Override
          protected char[] escape(char c) {
            return replacementMap.get(c);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        assertEquals("xxx", htmlEscaper().escape("xxx"));
        assertEquals("&quot;test&quot;", htmlEscaper().escape("\"test\""));
        assertEquals("&#39;test&#39;", htmlEscaper().escape("\'test'"));
        assertEquals("test &amp; test &amp; test", htmlEscaper().escape("test & test & test"));
        assertEquals("test &lt;&lt; 1", htmlEscaper().escape("test << 1"));
        assertEquals("test &gt;&gt; 1", htmlEscaper().escape("test >> 1"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnicodeEscaping(e, "%F4%8F%BF%BF", '\uDBFF', '\uDFFF');
    
        assertEquals("", e.escape(""));
        assertEquals("safestring", e.escape("safestring"));
        assertEquals("embedded%00null", e.escape("embedded\0null"));
        assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar"));
      }
    
      // Helper to assert common expected behaviour of uri escapers.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top