- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 72 for escaped (0.17 seconds)
-
android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java
// Test quotes are escaped. assertThat(xmlAttributeEscaper.escape("\"test\"")).isEqualTo(""test""); assertThat(xmlAttributeEscaper.escape("'test'")).isEqualTo("'test'"); // Test all escapes assertThat(xmlAttributeEscaper.escape("a\"b<c>d&e\"f'")) .isEqualTo("a"b<c>d&e"f'"); // Test '\t', '\n' and '\r' are escaped.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 5K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
destIndex += charsSkipped; } if (escaped.length > 0) { System.arraycopy(escaped, 0, dest, destIndex, escaped.length); destIndex += escaped.length; } // If we dealt with an escaped character, reset the unescaped range. unescapedChunkStart = nextIndex; } index = nextEscapeIndex(s, nextIndex, end); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 24 04:06:11 GMT 2026 - 13.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
String[] result; // Escaped quotes within quoted value - DOES NOT get unquoted because pattern doesn't match value = "\"value with \"\"escaped\"\" quotes\""; result = KuromojiCSVUtil.parse(value); assertEquals(1, result.length); assertEquals("\"value with \"\"escaped\"\" quotes\"", result[0]);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 18.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
} @Test public void test_escapeLDAPSearchFilter_withNormalInput() { LdapManager ldapManager = new LdapManager(); ldapManager.init(); // Normal input should not be escaped assertEquals("normaluser", ldapManager.escapeLDAPSearchFilter("normaluser")); assertEquals("user123", ldapManager.escapeLDAPSearchFilter("user123"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
// Create proper escaped pattern String escapedPattern = mimeType.replace("+", "\\+"); // Verify escaped pattern matches assertTrue("Escaped pattern should match: " + mimeType, Pattern.compile(escapedPattern).matcher(mimeType).matches()); // Verify unescaped pattern does NOT matchCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
// Test quotes are escaped. assertThat(xmlAttributeEscaper.escape("\"test\"")).isEqualTo(""test""); assertThat(xmlAttributeEscaper.escape("'test'")).isEqualTo("'test'"); // Test all escapes assertThat(xmlAttributeEscaper.escape("a\"b<c>d&e\"f'")) .isEqualTo("a"b<c>d&e"f'"); // Test '\t', '\n' and '\r' are escaped.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
// Test that MIME type patterns work correctly as regex // This verifies the fix for SVG thumbnail generation issue // where image/svg+xml was not matching due to unescaped + character // SVG MIME type - the + must be escaped in regex String svgMimetype = "image/svg+xml"; String svgPatternWrong = "image/svg+xml"; // Wrong: + means "one or more" in regexCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java
logger.warn("Failed to render markdown, returning escaped plain text. error={}", e.getMessage()); // Fallback to escaped plain text return escapeHtml(markdown); } } /** * Escapes HTML special characters for safe display. * * @param text the text to escape * @return HTML-escaped text */ private String escapeHtml(final String text) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
} @Test public void test_unescape() throws Exception { // Test with escaped characters (backslash sequences) String content = "test\\t1\n" + // escaped tab sequence "test\\n2\n" + // escaped newline sequence "test3\n"; // no escape // Write content to test file writeTestFile(content); // Reload the fileCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
assertTrue(result.contains("quotes")); assertTrue(result.contains("content")); assertTrue(result.contains("newlines")); assertTrue(result.contains("tabs")); // JSON should be properly escaped assertTrue(result.contains("Test")); } @Test public void test_toSlackMessage_withWhitespaceContent() { MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 20K bytes - Click Count (0)