Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 469 for ESCAPE (0.12 sec)

  1. test/escape_calls.go

    	}
    	*np = n
    	return w + wl + wr
    }
    
    // Test for bug where func var f used prototype's escape analysis results.
    func prototype(xyz []string) {} // ERROR "xyz does not escape"
    func bar() {
    	var got [][]string
    	f := prototype
    	f = func(ss []string) { got = append(got, ss) } // ERROR "leaking param: ss" "func literal does not escape"
    	s := "string"
    	f([]string{s}) // ERROR "\[\]string{...} escapes to heap"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 22:06:07 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/Escaper.java

     * individual {@code char} values, it is not safe to assume that {@code escape(s)} is equivalent to
     * {@code escape(s.substring(0, n)) + escape(s.substring(n))} for arbitrary {@code n}. This is
     * because of the possibility of splitting a surrogate pair. The only case in which it is safe to
     * escape strings and concatenate the results is if you can rule out this possibility, either by
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 16:02:17 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  3. test/escape_array.go

    // These two tests verify that:
    // small array literals are stack allocated;
    // pointers stored in small array literals do not escape;
    // large array literals are heap allocated;
    // pointers stored in large array literals escape.
    func hugeLeaks1(x **string, y **string) { // ERROR "leaking param content: x" "y does not escape"
    	a := [10]*string{*y}
    	_ = a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 26 23:50:32 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/scanner_test.go

    		{`'\x'`, "invalid character '\\'' in hexadecimal escape", 0, 3},
    		{`'\y'`, "unknown escape", 0, 2},
    		{`'\x0'`, "invalid character '\\'' in hexadecimal escape", 0, 4},
    		{`'\00'`, "invalid character '\\'' in octal escape", 0, 4},
    		{`'\377' /*`, "comment not terminated", 0, 7}, // valid octal escape
    		{`'\378`, "invalid character '8' in octal escape", 0, 4},
    		{`'\400'`, "octal escape value 256 > 255", 0, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * your own escapers extend this class and implement the {@link #escape(int)} method.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class UnicodeEscaper extends Escaper {
      /** The amount of padding (chars) to use when growing the escape buffer. */
      private static final int DEST_PAD = 32;
    
      /** Constructor for use by subclasses. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/escape/UnicodeEscaper.java

     * your own escapers extend this class and implement the {@link #escape(int)} method.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class UnicodeEscaper extends Escaper {
      /** The amount of padding (chars) to use when growing the escape buffer. */
      private static final int DEST_PAD = 32;
    
      /** Constructor for use by subclasses. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/stylesheets/custom-highlight/kotlin-hl.xml

        </highlighter>
        <highlighter type="oneline-comment">//</highlighter>
        <highlighter type="string">
            <string>"</string>
            <escape>\</escape>
        </highlighter>
        <highlighter type="value">
            <string>`</string>
            <escape>\</escape>
        </highlighter>
        <highlighter type="annotation">
            <start>@</start>
            <valueStart>(</valueStart>
            <valueEnd>)</valueEnd>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. src/text/tabwriter/tabwriter.go

    	b.pos = len(b.buf)
    }
    
    // To escape a text segment, bracket it with Escape characters.
    // For instance, the tab in this string "Ignore this tab: \xff\t\xff"
    // does not terminate a cell and constitutes a single character of
    // width one for formatting purposes.
    //
    // The value 0xff was chosen because it cannot appear in a valid UTF-8 sequence.
    const Escape = '\xff'
    
    // Start escaped mode.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. 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: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. test/fixedbugs/issue13587.go

    // Test write barrier for implicit assignments to result parameters
    // that have escaped to the heap.
    
    package issue13587
    
    import "errors"
    
    func escape(p *error)
    
    func F() (err error) {
    	escape(&err)
    	return errors.New("error") // ERROR "write barrier"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 442 bytes
    - Viewed (0)
Back to top