Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 157 for unescape (0.18 sec)

  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"));
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Simple examples (smoke tests)
        assertEquals("xxx", xmlEscaper.escape("xxx"));
        assertEquals("test & test & 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 =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 4.7K bytes
    - Viewed (0)
  3. 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"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/Escaper.java

     * individual {@code char} values, it is not safe to assume that {@code escape(s)} is equivalent to
     * {@code escape(s.substring(0, n)) + escape(s.substring(n))} for arbitrary {@code n}. This is
     * because of the possibility of splitting a surrogate pair. The only case in which it is safe to
     * escape strings and concatenate the results is if you can rule out this possibility, either by
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  5. 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 =
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  6. 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;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.escape;
    
    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;
    
    /**
     * @author David Beaumont
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

        }
    
        public QueryStringBuilder sortField(final String sortField) {
            this.sortField = sortField;
            return this;
        }
    
        public QueryStringBuilder escape(final boolean escape) {
            this.escape = escape;
            return this;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. 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;
    
    /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  10. tests/table_test.go

    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("user as u").Select("name").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT .name. FROM user as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top