package test1
import "gvisor.dev/gvisor/tools/checkescape/test1"
Package test1 is a test package.
Index ¶
- func BuiltinAppend(x []byte) []byte
- func BuiltinChan() chan int
- func BuiltinClosure(x int) func()
- func BuiltinMakeSlice(x int) []byte
- func BuiltinMap(x int) map[string]bool
- func Dispatch(i Interface)
- func Dynamic(f func())
- func InterfaceFunction(i Interface)
- func Split()
- func TypeFunction(t *Type)
- type Interface
- type Type
Functions ¶
func BuiltinAppend ¶
BuiltinAppend calls append on a slice. +mustescape:local,builtin
func BuiltinChan ¶
func BuiltinChan() chan int
BuiltinChan makes a channel. +mustescape:local,builtin
func BuiltinClosure ¶
func BuiltinClosure(x int) func()
BuiltinClosure returns a closure around x. +mustescape:local,builtin
func BuiltinMakeSlice ¶
BuiltinMakeSlice makes a new slice. +mustescape:local,builtin
func BuiltinMap ¶
BuiltinMap creates a new map. +mustescape:local,builtin
func Dispatch ¶
func Dispatch(i Interface)
Dispatch dispatches via an interface. +mustescape:local,interface
func Dynamic ¶
func Dynamic(f func())
Dynamic invokes a dynamic function. +mustescape:local,dynamic
func InterfaceFunction ¶
func InterfaceFunction(i Interface)
InterfaceFunction is passed an interface argument. +checkescape:all,hard
func Split ¶
func Split()
Split includes a guaranteed stack split. +mustescape:local,stack
func TypeFunction ¶
func TypeFunction(t *Type)
TypeFunction is passed a concrete pointer argument. +checkesacape:all,hard
Types ¶
type Interface ¶
type Interface interface {
Foo()
}
Interface is a generic interface.
type Type ¶
Type is a concrete implementation of Interface.
func Heap ¶
func Heap() *Type
Heap performs an explicit heap allocation. +mustescape:local,heap
func (Type) Foo ¶
func (t Type) Foo()
Foo implements Interface.Foo.
Source Files ¶
test1.go
- Version
- v0.0.0-20250605235530-a6711d1e1dc6 (latest)
- Published
- Jun 5, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 4 hours ago –
Tools for package owners.