Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stackGuardMultiplier (0.18 sec)

  1. src/runtime/proc.go

    		// We set hi to &size, but there are things above
    		// it. The 1024 is supposed to compensate this,
    		// but is somewhat arbitrary.
    		size := gp.stack.hi
    		if size == 0 {
    			size = 16384 * sys.StackGuardMultiplier
    		}
    		gp.stack.hi = uintptr(noescape(unsafe.Pointer(&size)))
    		gp.stack.lo = gp.stack.hi - size + 1024
    	}
    	// Initialize stack guard so that we can start calling regular
    	// Go code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top