Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for NoSplit (0.09 sec)

  1. src/runtime/mgc.go

    }
    
    // gcTestPointerClass returns the category of what p points to, one of:
    // "heap", "stack", "data", "bss", "other". This is useful for checking
    // that a test is doing what it's intended to do.
    //
    // 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()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  2. src/runtime/malloc.go

    		sysStat.add(int64(size))
    		memstats.other_sys.add(-int64(size))
    	}
    	return p
    }
    
    // inPersistentAlloc reports whether p points to memory allocated by
    // persistentalloc. This must be nosplit because it is called by the
    // cgo checker code, which is called by the write barrier code.
    //
    //go:nosplit
    func inPersistentAlloc(p uintptr) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. src/cmd/go/go_test.go

    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    
    	asm := `
    #include "textflag.h"
    
    DATA sym<>+0x0(SB)/8,$0
    GLOBL sym<>(SB),(NOPTR+RODATA),$8
    
    TEXT ·Data(SB),NOSPLIT,$0
    	MOVB sym<>(SB), AX
    	MOVB AX, ret+0(FP)
    	RET
    `
    	tg.tempFile("go/src/a/a.s", asm)
    	tg.tempFile("go/src/a/a.go", `package a; func Data() uint8`)
    	tg.tempFile("go/src/b/b.s", asm)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/parser.go

    			t.pos = pos
    			p.next()
    			t.Fun = x
    			t.ArgList, t.HasDots = p.argList()
    			x = t
    
    		case _Lbrace:
    			// operand may have returned a parenthesized complit
    			// type; accept it but complain if we have a complit
    			t := Unparen(x)
    			// determine if '{' belongs to a composite literal or a block statement
    			complit_ok := false
    			switch t.(type) {
    			case *Name, *SelectorExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top