Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 483 for mescapes (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. test/escape_runtime_atomic.go

    func Storep() {
    	var x int // ERROR "moved to heap: x"
    	atomic.StorepNoWB(unsafe.Pointer(&ptr), unsafe.Pointer(&x))
    }
    
    func Casp1() {
    	// BAD: should always be "does not escape"
    	x := new(int) // ERROR "escapes to heap|does not escape"
    	var y int     // ERROR "moved to heap: y"
    	atomic.Casp1(&ptr, unsafe.Pointer(x), unsafe.Pointer(&y))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 874 bytes
    - Viewed (0)
  5. src/net/url/url.go

    			// everything, so escape nothing.
    			return false
    		}
    	}
    
    	if mode == encodeFragment {
    		// RFC 3986 §2.2 allows not escaping sub-delims. A subset of sub-delims are
    		// included in reserved from RFC 2396 §2.2. The remaining sub-delims do not
    		// need to be escaped. To minimize potential breakage, we apply two restrictions:
    		// (1) we always escape sub-delims outside of the fragment, and (2) we always
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/module/module.go

    // UnescapePath returns the module path for the given escaped path.
    // It fails if the escaped path is invalid or describes an invalid path.
    func UnescapePath(escaped string) (path string, err error) {
    	path, ok := unescapeString(escaped)
    	if !ok {
    		return "", fmt.Errorf("invalid escaped module path %q", escaped)
    	}
    	if err := CheckPath(path); err != nil {
    		return "", fmt.Errorf("invalid escaped module path %q: %v", escaped, err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  7. src/strconv/quote.go

    //
    // The second argument, quote, specifies the type of literal being parsed
    // and therefore which escaped quote character is permitted.
    // If set to a single quote, it permits the sequence \' and disallows unescaped '.
    // If set to a double quote, it permits \" and disallows unescaped ".
    // If set to zero, it does not permit either escape and allows both quote characters to appear unescaped.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. src/html/template/doc.go

    See the documentation of ErrorCode for details.
    
    # A fuller picture
    
    The rest of this package comment may be skipped on first reading; it includes
    details necessary to understand escaping contexts and error messages. Most users
    will not need to understand these details.
    
    # Contexts
    
    Assuming {{.}} is `O'Reilly: How are <i>you</i>?`, the table below shows
    how {{.}} appears when used in the context to the left.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:04:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. src/html/template/js.go

    		return nil
    	}
    
    	v := reflect.ValueOf(a)
    	for !v.Type().Implements(jsonMarshalType) && v.Kind() == reflect.Pointer && !v.IsNil() {
    		v = v.Elem()
    	}
    	return v.Interface()
    }
    
    // jsValEscaper escapes its inputs to a JS Expression (section 11.14) that has
    // neither side-effects nor free variables outside (NaN, Infinity).
    func jsValEscaper(args ...any) string {
    	var a any
    	if len(args) == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/internal/reflectlite/value.go

    //
    //go:noescape
    func typedmemmove(t *abi.Type, dst, src unsafe.Pointer)
    
    // Dummy annotation marking that the value x escapes,
    // for use in cases where the reflect code is so clever that
    // the compiler cannot follow.
    func escapes(x any) {
    	if dummy.b {
    		dummy.x = x
    	}
    }
    
    var dummy struct {
    	b bool
    	x any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top