- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 196 for Reshape (0.07 sec)
-
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) -
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.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 17:53:22 UTC 2024 - 3.6K bytes - Viewed (0) -
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()) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Mar 09 09:31:28 UTC 2024 - 10.6K 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) -
android/guava/src/com/google/common/escape/CharEscaper.java
* not throw any exceptions. * * @param c the character to escape if necessary * @return the replacement characters, or {@code null} if no escaping was needed */ @CheckForNull protected abstract char[] escape(char c); /** * Returns the escaped form of a given literal string, starting at the given index. This method is * called by the {@link #escape(String)} method when it discovers that escaping is required. It is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 6.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.escape; import static com.google.common.escape.ReflectionFreeAssertThrows.assertThrows; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /**
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
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.escape; import static com.google.common.escape.ReflectionFreeAssertThrows.assertThrows; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 5.9K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs.go
prev := runeZero hasLeadingPercent := false patLen := len([]rune(pattern)) for i, r := range pattern { if i > 0 && prev == escape { switch r { case percent, escape, underscore: s = append(s, r) prev = r if r == escape { prev = runeZero } default: return false, errMalformedEscapeSequence } continue } prev = r var ok bool switch r { case percent:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/CharEscaper.java
* not throw any exceptions. * * @param c the character to escape if necessary * @return the replacement characters, or {@code null} if no escaping was needed */ @CheckForNull protected abstract char[] escape(char c); /** * Returns the escaped form of a given literal string, starting at the given index. This method is * called by the {@link #escape(String)} method when it discovers that escaping is required. It is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 6.7K bytes - Viewed (0)