You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gosuv/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/debug/debug.go

15 lines
298 B

// +build js
package debug
func setGCPercent(int32) int32 {
// Not implemented. Return initial setting.
return 100
}
func setMaxStack(bytes int) int {
// Not implemented. Return initial setting.
// The initial setting is 1 GB on 64-bit systems, 250 MB on 32-bit systems.
return 250000000
}