Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,398 for mescapes (0.29 sec)

  1. test/escape4.go

    	f = func() { // ERROR "func literal escapes to heap" "can inline f1.func2"
    		p = alloc(3) // ERROR "inlining call to alloc" "moved to heap: x"
    	}
    	f()
    }
    
    func f2() {} // ERROR "can inline f2"
    
    // No inline for recover; panic now allowed to inline.
    func f3() { panic(1) } // ERROR "can inline f3" "1 escapes to heap"
    func f4() { recover() }
    
    func f5() *byte { // ERROR "can inline f5"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 19:43:26 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. android/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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 14 22:08:54 UTC 2021
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/UrlEscapers.java

       * characters, even though <a href="https://goo.gl/e7E0In">many of these are accepted in modern
       * URLs</a>. (<a href="https://goo.gl/jfVxXW">If the escaper were to leave these characters
       * unescaped, they would be escaped by the consumer at parse time, anyway.</a>) Additionally, the
       * escaper escapes the slash character ("/"). While slashes are acceptable in URL paths, they are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:04:33 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * @param cp the Unicode code point to escape
       */
      public static void assertEscaping(UnicodeEscaper escaper, String expected, int cp) {
    
        String escaped = computeReplacement(escaper, cp);
        Assert.assertNotNull(escaped);
        Assert.assertEquals(expected, escaped);
      }
    
      /**
       * Asserts that an escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * @param cp the Unicode code point to escape
       */
      public static void assertEscaping(UnicodeEscaper escaper, String expected, int cp) {
    
        String escaped = computeReplacement(escaper, cp);
        Assert.assertNotNull(escaped);
        Assert.assertEquals(expected, escaped);
      }
    
      /**
       * Asserts that an escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  6. src/html/escape.go

    )
    
    // EscapeString escapes special characters like "<" to become "&lt;". It
    // escapes only five such characters: <, >, &, ' and ".
    // UnescapeString(EscapeString(s)) == s always holds, but the converse isn't
    // always true.
    func EscapeString(s string) string {
    	return htmlEscaper.Replace(s)
    }
    
    // UnescapeString unescapes entities like "&lt;" to become "<". It unescapes a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 13 07:00:18 UTC 2020
    - 5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/Escapers.java

       *
       * @param escaper the instance to be wrapped
       * @return a UnicodeEscaper with the same behavior as the given instance
       * @throws NullPointerException if escaper is null
       * @throws IllegalArgumentException if escaper is not a UnicodeEscaper or a CharEscaper
       */
      static UnicodeEscaper asUnicodeEscaper(Escaper escaper) {
        checkNotNull(escaper);
        if (escaper instanceof UnicodeEscaper) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/escape/CharEscaper.java

    public abstract class CharEscaper extends Escaper {
      /** Constructor for use by subclasses. */
      protected CharEscaper() {}
    
      /**
       * Returns the escaped form of a given literal string.
       *
       * @param string the literal string to be escaped
       * @return the escaped form of {@code string}
       * @throws NullPointerException if {@code string} is null
       */
      @Override
      public String escape(String string) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/UrlEscapersTest.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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 15 20:25:06 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/PercentEscaper.java

    import com.google.common.escape.UnicodeEscaper;
    import javax.annotation.CheckForNull;
    
    /**
     * A {@code UnicodeEscaper} that escapes some set of Java characters using a UTF-8 based percent
     * encoding scheme. The set of safe characters (those which remain unescaped) can be specified on
     * construction.
     *
     * <p>This class is primarily used for creating URI escapers in {@link UrlEscapers} but can be used
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.7K bytes
    - Viewed (0)
Back to top