$12 GRAYBYTE WORDPRESS FILE MANAGER $31

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/lib/golang/src/cmd/internal/objabi/

HOME
Current File : /usr/lib/golang/src/cmd/internal/objabi//stack.go
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package objabi

import (
	"internal/abi"
	"internal/buildcfg"
)

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 {
	// This arithmetic must match that in internal/runtime/sys/consts.go:StackGuardMultiplier.
	n := 1
	// On AIX and OpenBSD, a larger stack is needed for syscalls.
	if buildcfg.GOOS == "aix" || buildcfg.GOOS == "openbsd" {
		n += 1
	}
	// The race build also needs more stack.
	if race {
		n += 1
	}
	return n
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 Dec 2025 9.30 PM
root / root
0755
autotype.go
1.785 KB
4 Dec 2025 6.06 PM
root / root
0644
flag.go
9.507 KB
4 Dec 2025 6.06 PM
root / root
0644
funcid.go
1.667 KB
4 Dec 2025 6.06 PM
root / root
0644
head.go
2.921 KB
4 Dec 2025 6.06 PM
root / root
0644
line.go
3.773 KB
4 Dec 2025 6.06 PM
root / root
0644
path.go
1.932 KB
4 Dec 2025 6.06 PM
root / root
0644
pkgspecial.go
4.049 KB
4 Dec 2025 6.06 PM
root / root
0644
reloctype.go
20.873 KB
4 Dec 2025 6.06 PM
root / root
0644
reloctype_string.go
4.853 KB
4 Dec 2025 6.06 PM
root / root
0644
stack.go
0.924 KB
4 Dec 2025 6.06 PM
root / root
0644
symkind.go
3.344 KB
4 Dec 2025 6.06 PM
root / root
0644
symkind_string.go
1.462 KB
4 Dec 2025 6.06 PM
root / root
0644
util.go
0.938 KB
4 Dec 2025 6.06 PM
root / root
0644
zbootstrap.go
0.063 KB
4 Dec 2025 6.06 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF