Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,398 for mescapes (0.16 sec)

  1. test/escape_iface.go

    		v1 := x.(M1)
    		sink = v1 // ERROR "v1 escapes to heap"
    	}
    	{
    		i := 0
    		v := M1{&i, 0}
    		var x M = v // ERROR "v does not escape"
    		x.M()       // ERROR "devirtualizing x.M"
    	}
    	{
    		i := 0 // ERROR "moved to heap: i"
    		v := M1{&i, 0}
    		var x M = v // ERROR "v escapes to heap"
    		mescapes(x)
    	}
    	{
    		i := 0
    		v := M1{&i, 0}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 17:16:35 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. src/html/template/escape.go

    			return c0
    		}
    	}
    	return c0
    }
    
    // escapeList escapes a list template node.
    func (e *escaper) escapeList(c context, n *parse.ListNode) context {
    	if n == nil {
    		return c
    	}
    	for _, m := range n.Nodes {
    		c = e.escape(c, m)
    		if c.state == stateDead {
    			break
    		}
    	}
    	return c
    }
    
    // escapeListConditionally escapes a list node but only preserves edits and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/Escaper.java

       * @throws IllegalArgumentException if {@code string} contains badly formed UTF-16 or cannot be
       *     escaped for any other reason
       */
      public abstract String escape(String string);
    
      private final Function<String, String> asFunction = this::escape;
    
      /** Returns a {@link Function} that invokes {@link #escape(String)} on this escaper. */
      public final Function<String, String> asFunction() {
        return asFunction;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 16:02:17 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  4. 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)
  5. test/escape.go

    	c := make(chan int)
    	go func() { x = i; c <- 1 }()
    	<-c
    	return
    }
    
    func main() {
    	p, q := i_escapes(1), i_escapes(2)
    	chk(p, q, 1, "i_escapes")
    
    	p, q = j_escapes(3), j_escapes(4)
    	chk(p, q, 3, "j_escapes")
    
    	p, q = k_escapes(5), k_escapes(6)
    	chk(p, q, 5, "k_escapes")
    
    	p, q = in_escapes(7), in_escapes(8)
    	chk(p, q, 7, "in_escapes")
    
    	p, q = select_escapes(9), select_escapes(10)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 06 18:34:24 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/escape/Escaper.java

       * @throws IllegalArgumentException if {@code string} contains badly formed UTF-16 or cannot be
       *     escaped for any other reason
       */
      public abstract String escape(String string);
    
      private final Function<String, String> asFunction = this::escape;
    
      /** Returns a {@link Function} that invokes {@link #escape(String)} on this escaper. */
      public final Function<String, String> asFunction() {
        return asFunction;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 16:02:17 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  7. test/escape2.go

    }
    
    func foo76f() {
    	for {
    		// TODO: This one really only escapes its scope, but we don't distinguish yet.
    		defer myprint(nil, 1, 2, 3) // ERROR "... argument does not escape$" "1 escapes to heap$" "2 escapes to heap$" "3 escapes to heap$"
    	}
    }
    
    func foo76g() {
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/xml/XmlEscapers.java

      }
    
      private static final Escaper XML_ESCAPER;
      private static final Escaper XML_CONTENT_ESCAPER;
      private static final Escaper XML_ATTRIBUTE_ESCAPER;
    
      static {
        Escapers.Builder builder = Escapers.builder();
        // The char values \uFFFE and \uFFFF are explicitly not allowed in XML
        // (Unicode code points above \uFFFF are represented via surrogate pairs
        // which means they are treated as pairs of safe characters).
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/xml/XmlEscapers.java

      }
    
      private static final Escaper XML_ESCAPER;
      private static final Escaper XML_CONTENT_ESCAPER;
      private static final Escaper XML_ATTRIBUTE_ESCAPER;
    
      static {
        Escapers.Builder builder = Escapers.builder();
        // The char values \uFFFE and \uFFFF are explicitly not allowed in XML
        // (Unicode code points above \uFFFF are represented via surrogate pairs
        // which means they are treated as pairs of safe characters).
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  10. 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)
Back to top