- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 170 for escape (0.05 sec)
-
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
}; assertEquals("\0HELLO \uD800\uDC00 WORLD!\n", e.escape("\0HeLLo \uD800\uDC00 WorlD!\n")); } public void testCodePointAt_indexOutOfBoundsException() { assertThrows( IndexOutOfBoundsException.class, () -> UnicodeEscaper.codePointAt("Testing...", 4, 2)); } private static String escapeAsString(Escaper e, String s) { return e.escape(s); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
}; assertEquals("\0HELLO \uD800\uDC00 WORLD!\n", e.escape("\0HeLLo \uD800\uDC00 WorlD!\n")); } public void testCodePointAt_indexOutOfBoundsException() { assertThrows( IndexOutOfBoundsException.class, () -> UnicodeEscaper.codePointAt("Testing...", 4, 2)); } private static String escapeAsString(Escaper e, String s) { return e.escape(s); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 5.9K bytes - Viewed (0) -
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) -
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. static void assertBasicUrlEscaper(UnicodeEscaper e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 17:53:22 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
* the License. */ package com.google.common.xml; import com.google.common.annotations.GwtCompatible; import com.google.common.escape.Escaper; import com.google.common.escape.Escapers; /** * {@code Escaper} instances suitable for strings to be included in XML attribute values and * elements' text contents. When possible, avoid manual escaping by using templating systems and
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 6.5K bytes - Viewed (0) -
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) -
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) -
guava/src/com/google/common/html/HtmlEscapers.java
* the License. */ package com.google.common.html; import com.google.common.annotations.GwtCompatible; import com.google.common.escape.Escaper; import com.google.common.escape.Escapers; /** * {@code Escaper} instances suitable for strings to be included in HTML attribute values and * most elements' text contents. When possible, avoid manual escaping by using templating
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/UrlEscapersTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.net; import static com.google.common.escape.testing.EscaperAsserts.assertEscaping; import static com.google.common.escape.testing.EscaperAsserts.assertUnescaped; import static com.google.common.net.UrlEscaperTesting.assertBasicUrlEscaper; import static com.google.common.net.UrlEscaperTesting.assertPathEscaper;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 17:53:22 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.escape; import static com.google.common.base.Preconditions.checkNotNull; import static java.lang.Math.min; import com.google.common.annotations.GwtCompatible; import java.util.Map; import javax.annotation.CheckForNull;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 8.6K bytes - Viewed (0)