Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 951 for mescapes (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/config/analysis/msg/messages.go

    // limitations under the License.
    
    package msg
    
    // Create static initializers file
    //go:generate go run generate.main.go messages.yaml messages.gen.go
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 28 16:55:31 UTC 2023
    - 762 bytes
    - Viewed (0)
  5. pkg/config/analysis/msg/messages.yaml

    # Please keep entries ordered by code.
    # NOTE: The range 0000-0100 is reserved for internal and/or future use.
    messages:
      - name: "InternalError"
        code: IST0001
        level: Error
        description: "There was an internal error in the toolchain. This is almost always a bug in the implementation."
        template: "Internal error: %v"
        args:
          - name: detail
            type: string
    
      - name: "Deprecated"
        code: IST0002
        level: Warning
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. test/escape2n.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)
  7. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/TemplateValueTest.groovy

    class TemplateValueTest extends Specification {
        def "escapes value for inclusion in a comment"() {
            expect:
            new TemplateValue(value).groovyComment == escaped
    
            where:
            value   | escaped
            ''      | ''
            'abc'   | 'abc'
            'a\n\t' | 'a\n\t'
            /a\b/   | /a\\b/
        }
    
        def "escapes value for inclusion in a string"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. src/text/tabwriter/tabwriter.go

    // assumed to be zero (tags) and one (entities) for formatting purposes.
    //
    // A segment of text may be escaped by bracketing it with [Escape]
    // characters. The tabwriter passes escaped text segments through
    // unchanged. In particular, it does not interpret any tabs or line
    // breaks within the segment. If the [StripEscape] flag is set, the
    // Escape characters are stripped from the output; otherwise they
    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/internal/abi/escape.go

    //go:nosplit
    //go:nocheckptr
    func NoEscape(p unsafe.Pointer) unsafe.Pointer {
    	x := uintptr(p)
    	return unsafe.Pointer(x ^ 0)
    }
    
    var alwaysFalse bool
    var escapeSink any
    
    // Escape forces any pointers in x to escape to the heap.
    func Escape[T any](x T) T {
    	if alwaysFalse {
    		escapeSink = x
    	}
    	return x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 884 bytes
    - Viewed (0)
  10. pkg/config/analysis/msg/messages.gen.go

    zirain <******@****.***> 1716372783 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 43.2K bytes
    - Viewed (0)
Back to top