- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 141 for unescape (0.07 sec)
-
android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java
* {@code char} value. An additional safe range is provided that determines whether {@code char} * values without specific replacements are to be considered safe and left unescaped or should be * escaped in a general way. * * <p>A good example of usage of this class is for Java source code escaping where the replacement
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 6.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
private fun Buffer.startsWith(prefix: Byte): Boolean = !exhausted() && this[0] == prefix /** * Reads a double-quoted string, unescaping quoted pairs like `\"` to the 2nd character in each * sequence. Returns the unescaped string, or null if the buffer isn't prefixed with a * double-quoted string. */ @Throws(EOFException::class) private fun Buffer.readQuotedString(): String? { require(readByte() == '\"'.code.toByte())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
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) -
cmd/signature-v2.go
if !compareSignatureV2(signature, calculateSignatureV2(policy, cred.SecretKey)) { return cred, ErrSignatureDoesNotMatch } return cred, ErrNone } // Escape encodedQuery string into unescaped list of query params, returns error // if any while unescaping the values. func unescapeQueries(encodedQuery string) (unescapedQueries []string, err error) { for _, query := range strings.Split(encodedQuery, "&") {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.2K 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-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) -
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) -
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 << 1", xmlEscaper.escape("test << 1")); assertEquals("test >> 1", xmlEscaper.escape("test >> 1")); assertEquals("<tab>", 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) -
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) -
guava-tests/test/com/google/common/html/HtmlEscapersTest.java
assertEquals("xxx", htmlEscaper().escape("xxx")); assertEquals(""test"", htmlEscaper().escape("\"test\"")); assertEquals("'test'", htmlEscaper().escape("\'test'")); assertEquals("test & test & test", htmlEscaper().escape("test & test & test")); assertEquals("test << 1", htmlEscaper().escape("test << 1")); assertEquals("test >> 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)