github.com/geraldss/go/src@v0.0.0-20210511222824-ac7d0ebfc235/runtime/stubs_386.go (about) 1 // Copyright 2018 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package runtime 6 7 import "unsafe" 8 9 func float64touint32(a float64) uint32 10 func uint32tofloat64(a uint32) float64 11 12 // stackcheck checks that SP is in range [g->stack.lo, g->stack.hi). 13 func stackcheck() 14 15 // Called from assembly only; declared for go vet. 16 func setldt(slot uintptr, base unsafe.Pointer, size uintptr) 17 func emptyfunc()