Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for no_scope (0.24 sec)

  1. src/runtime/traceback.go

    	}
    	arg := cgoTracebackArg{
    		context: ctxt,
    		buf:     (*uintptr)(noescape(unsafe.Pointer(&buf[0]))),
    		max:     uintptr(len(buf)),
    	}
    	if msanenabled {
    		msanwrite(unsafe.Pointer(&arg), unsafe.Sizeof(arg))
    	}
    	if asanenabled {
    		asanwrite(unsafe.Pointer(&arg), unsafe.Sizeof(arg))
    	}
    	call(cgoTraceback, noescape(unsafe.Pointer(&arg)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    			linesOut = append(linesOut, "")
    
    			// #cgo (nocallback|noescape) <function name>
    			if fields := strings.Fields(l); len(fields) == 3 {
    				directive := fields[1]
    				funcName := fields[2]
    				if directive == "nocallback" {
    					fatalf("#cgo nocallback disabled until Go 1.23")
    					f.NoCallbacks[funcName] = true
    				} else if directive == "noescape" {
    					fatalf("#cgo noescape disabled until Go 1.23")
    					f.NoEscapes[funcName] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. src/go/build/build.go

    		if len(line) < 5 || line[:4] != "#cgo" || (line[4] != ' ' && line[4] != '\t') {
    			continue
    		}
    
    		// #cgo (nocallback|noescape) <function name>
    		if fields := strings.Fields(line); len(fields) == 3 && (fields[1] == "nocallback" || fields[1] == "noescape") {
    			continue
    		}
    
    		// Split at colon.
    		line, argstr, ok := strings.Cut(strings.TrimSpace(line[4:]), ":")
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. src/runtime/mgc.go

    //
    // This is nosplit simply to avoid extra pointer shuffling that may
    // complicate a test.
    //
    //go:nosplit
    func gcTestPointerClass(p unsafe.Pointer) string {
    	p2 := uintptr(noescape(p))
    	gp := getg()
    	if gp.stack.lo <= p2 && p2 < gp.stack.hi {
    		return "stack"
    	}
    	if base, _, _ := findObject(p2, 0, 0); base != 0 {
    		return "heap"
    	}
    	for _, datap := range activeModules() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top