- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for stackalloc (0.35 sec)
-
src/cmd/compile/internal/ssa/cache.go
type Cache struct { // Storage for low-numbered values and blocks. values [2000]Value blocks [200]Block locs [2000]Location // Reusable stackAllocState. // See stackalloc.go's {new,put}StackAllocState. stackAllocState *stackAllocState scrPoset []*poset // scratch poset to be reused // Reusable regalloc state. regallocValues []valState ValueToProgAfter []*obj.Prog
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 15 23:00:54 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/sigaltstack.go
// The Darwin C library enforces a minimum that the kernel does not. // This is OK since we allocated this much space in mpreinit, // it was just removed from the buffer by stackalloc. oss.ss_size = MINSIGSTKSZ; #endif if (sigaltstack(&oss, NULL) < 0) { perror("sigaltstack restore"); abort(); } } static int zero(void) { return 0; } */ import "C" import (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1.7K bytes - Viewed (0) -
src/runtime/os_nonopenbsd.go
// license that can be found in the LICENSE file. //go:build !openbsd package runtime // osStackAlloc performs OS-specific initialization before s is used // as stack memory. func osStackAlloc(s *mspan) { } // osStackFree undoes the effect of osStackAlloc before s is returned // to the heap. func osStackFree(s *mspan) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 437 bytes - Viewed (0) -
src/runtime/os_openbsd.go
setProcessCPUProfilerTimer(hz) } func setThreadCPUProfiler(hz int32) { setThreadCPUProfilerHz(hz) } //go:nosplit func validSIGPROF(mp *m, c *sigctxt) bool { return true } func osStackAlloc(s *mspan) { osStackRemap(s, _MAP_STACK) } func osStackFree(s *mspan) { // Undo MAP_STACK. osStackRemap(s, 0) } func osStackRemap(s *mspan, flags int32) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.2K bytes - Viewed (0)