- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 239 for Escape (0.04 sec)
-
guava-tests/test/com/google/common/escape/EscapersTest.java
Escaper escaper = Escapers.builder().setSafeRange('a', 'z').build(); assertThat(escaper.escape("The Quick Brown Fox")).isEqualTo("The Quick Brown Fox"); } public void testBuilderInitialStateNoneUnsafe() { // No characters are unsafe by default (safeMin == 0, safeMax == 0xFFFF). Escaper escaper = Escapers.builder().setUnsafeReplacement("X").build(); assertThat(escaper.escape("\0\uFFFF")).isEqualTo("\0\uFFFF");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0) -
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"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 15:41:04 UTC 2025 - 1.1K bytes - Viewed (0) -
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; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.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 Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
GsaConfigParser parser = new GsaConfigParser(); assertEquals("", parser.escape("# comment")); assertEquals("^\\Qtest\\E$", parser.escape("^test$")); assertEquals("^\\Qtest\\E", parser.escape("^test")); assertEquals("\\Qtest\\E$", parser.escape("test$")); assertEquals("\\Qtest\\E", parser.escape("test")); } public void test_unescape() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.4K 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 org.jspecify.annotations.Nullable;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 8.5K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
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 org.jspecify.annotations.Nullable;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/UrlEscapers.java
* escaper escapes all non-ASCII characters, even though <a * href="https://url.spec.whatwg.org/#url-code-points">many of these are accepted in modern * URLs</a>. (<a href="https://url.spec.whatwg.org/#path-state">If the escaper were to leave these * characters unescaped, they would be escaped by the consumer at parse time, anyway.</a>)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-gwt/src/com/google/common/net/Net.gwt.xml
<super-source path="super"/> <inherits name="com.google.common.annotations.Annotations" /> <inherits name="com.google.common.base.Base" /> <inherits name="com.google.common.collect.Collect" /> <inherits name="com.google.common.escape.Escape" /> <inherits name="com.google.common.primitives.Primitives" /> <inherits name="com.google.gwt.core.Core" /> <inherits name="com.google.gwt.user.User" />
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Feb 21 16:12:41 UTC 2025 - 1.8K bytes - Viewed (0)