Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gcTestPointerClass (0.24 sec)

  1. src/runtime/mgc.go

    	}
    
    	return mask
    }
    
    // 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))
    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