- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 273 for Atack (0.03 sec)
-
src/cmd/internal/objabi/stack.go
) func StackNosplit(race bool) int { // This arithmetic must match that in runtime/stack.go:stackNosplit. return abi.StackNosplitBase * stackGuardMultiplier(race) } // stackGuardMultiplier returns a multiplier to apply to the default // stack guard size. Larger multipliers are used for non-optimized // builds that have larger stack frames or for specific targets. func stackGuardMultiplier(race bool) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:56 UTC 2023 - 904 bytes - Viewed (0) -
test/codegen/stack.go
// license that can be found in the LICENSE file. package codegen import "runtime" // This file contains code generation tests related to the use of the // stack. // Check that stack stores are optimized away. // 386:"TEXT\t.*, [$]0-" // amd64:"TEXT\t.*, [$]0-" // arm:"TEXT\t.*, [$]-4-" // arm64:"TEXT\t.*, [$]0-" // mips:"TEXT\t.*, [$]-4-" // ppc64x:"TEXT\t.*, [$]0-"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 21:29:41 UTC 2024 - 3.4K bytes - Viewed (0) -
src/internal/abi/stack.go
// // This value must be multiplied by the stack guard multiplier, so do not // use it directly. See runtime/stack.go:stackNosplit and // cmd/internal/objabi/stack.go:StackNosplit. StackNosplitBase = 800 // We have three different sequences for stack bounds checks, depending on // whether the stack frame of a function is small, big, or huge. // After a stack split check the SP is allowed to be StackSmall bytes below
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:56 UTC 2023 - 1.3K bytes - Viewed (0) -
src/runtime/debug/stack.go
) // PrintStack prints to standard error the stack trace returned by runtime.Stack. func PrintStack() { os.Stderr.Write(Stack()) } // Stack returns a formatted stack trace of the goroutine that calls it. // It calls [runtime.Stack] with a large enough buffer to capture the entire trace. func Stack() []byte { buf := make([]byte, 1024) for { n := runtime.Stack(buf, false) if n < len(buf) { return buf[:n] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/symtabinl_test.go
} if len(stack) > 0 { stack += " " } stack += FmtSprintf("%s:%d", name, line-tiuStart) } if stack != prevStack { prevStack = stack t.Logf("tiuTest+%#x: %s", pc-pc1, stack) if _, ok := want[stack]; ok { want[stack]++ } } } // Check that we got all the stacks we wanted. for stack, count := range want { if count == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 3K bytes - Viewed (0) -
src/runtime/debugcall.go
// explaining why. // //go:nosplit func debugCallCheck(pc uintptr) string { // No user calls from the system stack. if getg() != getg().m.curg { return debugCallSystemStack } if sp := getcallersp(); !(getg().stack.lo < sp && sp <= getg().stack.hi) { // Fast syscalls (nanotime) and racecall switch to the // g0 stack without switching g. We can't safely make // a call in this state. (We can't even safely // systemstack.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 20:50:21 UTC 2024 - 7.1K bytes - Viewed (0) -
src/runtime/gcinfo_test.go
{ var x Ptr verifyGCInfo(t, "stack Ptr", &x, infoPtr) runtime.KeepAlive(x) } { var x ScalarPtr verifyGCInfo(t, "stack ScalarPtr", &x, infoScalarPtr) runtime.KeepAlive(x) } { var x PtrScalar verifyGCInfo(t, "stack PtrScalar", &x, infoPtrScalar) runtime.KeepAlive(x) } { var x BigStruct verifyGCInfo(t, "stack BigStruct", &x, infoBigStruct()) runtime.KeepAlive(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:58:08 UTC 2023 - 6K bytes - Viewed (0) -
src/runtime/traceback_system_test.go
child6bad() child6() // appears in stack trace } //go:noinline func child6bad() { } //go:noinline func child6() { // test trace through first of two call instructions child7() // appears in stack trace child7bad() } //go:noinline func child7bad() { } //go:noinline func child7() { // Write runtime.Caller's view of the stack to stderr, for debugging. var pcs [16]uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 7.4K bytes - Viewed (0) -
src/runtime/mem_darwin.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import ( "unsafe" ) // Don't split the stack as this function may be invoked without a valid G, // which prevents us from allocating more stack. // //go:nosplit func sysAllocOS(n uintptr) unsafe.Pointer { v, err := mmap(nil, n, _PROT_READ|_PROT_WRITE, _MAP_ANON|_MAP_PRIVATE, -1, 0) if err != 0 { return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/os_openbsd_libc.go
if err := pthread_attr_init(&attr); err != 0 { writeErrStr(failthreadcreate) exit(1) } // Find out OS stack size for our own stack guard. var stacksize uintptr if pthread_attr_getstacksize(&attr, &stacksize) != 0 { writeErrStr(failthreadcreate) exit(1) } mp.g0.stack.hi = stacksize // for mstart // Tell the pthread library we won't join with this thread.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 20:44:45 UTC 2022 - 1.5K bytes - Viewed (0)