package unsafe
Import Path
unsafe (on go.dev )
Dependency Relation
imports 0 packages, and imported by 36 packages
Package-Level Type Names (total 3, all are exported)
/* sort exporteds by: alphabet | popularity */
type Pointer (basic type)
Pointer represents a pointer to an arbitrary type. There are four special operations
available for type Pointer that are not available for other types:
- A pointer value of any type can be converted to a Pointer.
- A Pointer can be converted to a pointer value of any type.
- A uintptr can be converted to a Pointer.
- A Pointer can be converted to a uintptr.
Pointer therefore allows a program to defeat the type system and read and write
arbitrary memory. It should be used with extreme care.
The following patterns involving Pointer are valid.
Code not using these patterns is likely to be invalid today
or to become invalid in the future.
Even the valid patterns below come with important caveats.
Running "go vet" can help find uses of Pointer that do not conform to these patterns,
but silence from "go vet" is not a guarantee that the code is valid.
(1) Conversion of a *T1 to Pointer to *T2.
Provided that T2 is no larger than T1 and that the two share an equivalent
memory layout, this conversion allows reinterpreting data of one type as
data of another type. An example is the implementation of
math.Float64bits:
func Float64bits(f float64) uint64 {
return *(*uint64)(unsafe.Pointer(&f))
}
(2) Conversion of a Pointer to a uintptr (but not back to Pointer).
Converting a Pointer to a uintptr produces the memory address of the value
pointed at, as an integer. The usual use for such a uintptr is to print it.
Conversion of a uintptr back to Pointer is not valid in general.
A uintptr is an integer, not a reference.
Converting a Pointer to a uintptr creates an integer value
with no pointer semantics.
Even if a uintptr holds the address of some object,
the garbage collector will not update that uintptr's value
if the object moves, nor will that uintptr keep the object
from being reclaimed.
The remaining patterns enumerate the only valid conversions
from uintptr to Pointer.
(3) Conversion of a Pointer to a uintptr and back, with arithmetic.
If p points into an allocated object, it can be advanced through the object
by conversion to uintptr, addition of an offset, and conversion back to Pointer.
p = unsafe.Pointer(uintptr(p) + offset)
The most common use of this pattern is to access fields in a struct
or elements of an array:
// equivalent to f := unsafe.Pointer(&s.f)
f := unsafe.Pointer(uintptr(unsafe.Pointer(&s)) + unsafe.Offsetof(s.f))
// equivalent to e := unsafe.Pointer(&x[i])
e := unsafe.Pointer(uintptr(unsafe.Pointer(&x[0])) + i*unsafe.Sizeof(x[0]))
It is valid both to add and to subtract offsets from a pointer in this way.
It is also valid to use &^ to round pointers, usually for alignment.
In all cases, the result must continue to point into the original allocated object.
Unlike in C, it is not valid to advance a pointer just beyond the end of
its original allocation:
// INVALID: end points outside allocated space.
var s thing
end = unsafe.Pointer(uintptr(unsafe.Pointer(&s)) + unsafe.Sizeof(s))
// INVALID: end points outside allocated space.
b := make([]byte, n)
end = unsafe.Pointer(uintptr(unsafe.Pointer(&b[0])) + uintptr(n))
Note that both conversions must appear in the same expression, with only
the intervening arithmetic between them:
// INVALID: uintptr cannot be stored in variable
// before conversion back to Pointer.
u := uintptr(p)
p = unsafe.Pointer(u + offset)
Note that the pointer must point into an allocated object, so it may not be nil.
// INVALID: conversion of nil pointer
u := unsafe.Pointer(nil)
p := unsafe.Pointer(uintptr(u) + offset)
(4) Conversion of a Pointer to a uintptr when calling syscall.Syscall.
The Syscall functions in package syscall pass their uintptr arguments directly
to the operating system, which then may, depending on the details of the call,
reinterpret some of them as pointers.
That is, the system call implementation is implicitly converting certain arguments
back from uintptr to pointer.
If a pointer argument must be converted to uintptr for use as an argument,
that conversion must appear in the call expression itself:
syscall.Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(n))
The compiler handles a Pointer converted to a uintptr in the argument list of
a call to a function implemented in assembly by arranging that the referenced
allocated object, if any, is retained and not moved until the call completes,
even though from the types alone it would appear that the object is no longer
needed during the call.
For the compiler to recognize this pattern,
the conversion must appear in the argument list:
// INVALID: uintptr cannot be stored in variable
// before implicit conversion back to Pointer during system call.
u := uintptr(unsafe.Pointer(p))
syscall.Syscall(SYS_READ, uintptr(fd), u, uintptr(n))
(5) Conversion of the result of reflect.Value.Pointer or reflect.Value.UnsafeAddr
from uintptr to Pointer.
Package reflect's Value methods named Pointer and UnsafeAddr return type uintptr
instead of unsafe.Pointer to keep callers from changing the result to an arbitrary
type without first importing "unsafe". However, this means that the result is
fragile and must be converted to Pointer immediately after making the call,
in the same expression:
p := (*int)(unsafe.Pointer(reflect.ValueOf(new(int)).Pointer()))
As in the cases above, it is invalid to store the result before the conversion:
// INVALID: uintptr cannot be stored in variable
// before conversion back to Pointer.
u := reflect.ValueOf(new(int)).Pointer()
p := (*int)(unsafe.Pointer(u))
(6) Conversion of a reflect.SliceHeader or reflect.StringHeader Data field to or from Pointer.
As in the previous case, the reflect data structures SliceHeader and StringHeader
declare the field Data as a uintptr to keep callers from changing the result to
an arbitrary type without first importing "unsafe". However, this means that
SliceHeader and StringHeader are only valid when interpreting the content
of an actual slice or string value.
var s string
hdr := (*reflect.StringHeader)(unsafe.Pointer(&s)) // case 1
hdr.Data = uintptr(unsafe.Pointer(p)) // case 6 (this case)
hdr.Len = n
In this usage hdr.Data is really an alternate way to refer to the underlying
pointer in the string header, not a uintptr variable itself.
In general, reflect.SliceHeader and reflect.StringHeader should be used
only as *reflect.SliceHeader and *reflect.StringHeader pointing at actual
slices or strings, never as plain structs.
A program should not declare or allocate variables of these struct types.
// INVALID: a directly-declared header will not hold Data as a reference.
var hdr reflect.StringHeader
hdr.Data = uintptr(unsafe.Pointer(p))
hdr.Len = n
s := *(*string)(unsafe.Pointer(&hdr)) // p possibly already lost
As Outputs Of (at least 111, in which 8 are exported )
func go.uber.org/atomic.(*UnsafePointer ).Load () Pointer
func go.uber.org/atomic.(*UnsafePointer ).Swap (val Pointer ) (old Pointer )
func internal/abi.(*RegArgs ).IntRegArgAddr (reg int , argSize uintptr ) Pointer
func reflect.Value .UnsafePointer () Pointer
func runtime/internal/atomic.Loadp (ptr Pointer ) Pointer
func runtime/internal/atomic.(*UnsafePointer ).Load () Pointer
func sync/atomic.LoadPointer (addr *Pointer ) (val Pointer )
func sync/atomic.SwapPointer (addr *Pointer , new Pointer ) (old Pointer )
/* 103+ unexporteds ... */ /* 103+ unexporteds: */
func internal/abi.addChecked (p Pointer , x uintptr , whySafe string ) Pointer
func internal/reflectlite.add (p Pointer , x uintptr , whySafe string ) Pointer
func internal/reflectlite.arrayAt (p Pointer , i int , eltSize uintptr , whySafe string ) Pointer
func internal/reflectlite.resolveNameOff (ptrInModule Pointer , off int32 ) Pointer
func internal/reflectlite.resolveTypeOff (rtype Pointer , off int32 ) Pointer
func internal/reflectlite.unsafe_New (*abi .Type ) Pointer
func internal/reflectlite.Value .pointer () Pointer
func net._C_malloc (n uintptr ) Pointer
func net._Cfunc__CMalloc (n net ._Ctype_size_t ) Pointer
func net._cgo_cmalloc (p0 uint64 ) (r1 Pointer )
func net._Cgo_ptr (ptr Pointer ) Pointer
func reflect.add (p Pointer , x uintptr , whySafe string ) Pointer
func reflect.arrayAt (p Pointer , i int , eltSize uintptr , whySafe string ) Pointer
func reflect.makechan (typ *abi .Type , size int ) (ch Pointer )
func reflect.makemap (t *abi .Type , cap int ) (m Pointer )
func reflect.mapaccess (t *abi .Type , m Pointer , key Pointer ) (val Pointer )
func reflect.mapaccess_faststr (t *abi .Type , m Pointer , key string ) (val Pointer )
func reflect.mapiterelem (it *reflect .hiter ) (elem Pointer )
func reflect.mapiterkey (it *reflect .hiter ) (key Pointer )
func reflect.methodReceiver (op string , v reflect .Value , methodIndex int ) (rcvrtype *abi .Type , t *reflect .funcType , fn Pointer )
func reflect.noescape (p Pointer ) Pointer
func reflect.resolveNameOff (ptrInModule Pointer , off int32 ) Pointer
func reflect.resolveTextOff (rtype Pointer , off int32 ) Pointer
func reflect.resolveTypeOff (rtype Pointer , off int32 ) Pointer
func reflect.textOffFor (t *abi .Type , off reflect .aTextOff ) Pointer
func reflect.typelinks () (sections []Pointer , offset [][]int32 )
func reflect.unsafe_New (*abi .Type ) Pointer
func reflect.unsafe_NewArray (*abi .Type , int ) Pointer
func reflect.Value .pointer () Pointer
func runtime.add (p Pointer , x uintptr ) Pointer
func runtime.arena_newArena () Pointer
func runtime.chanbuf (c *runtime .hchan , i uint ) Pointer
func runtime.convT (t *runtime ._type , v Pointer ) Pointer
func runtime.convT16 (val uint16 ) (x Pointer )
func runtime.convT32 (val uint32 ) (x Pointer )
func runtime.convT64 (val uint64 ) (x Pointer )
func runtime.convTnoptr (t *runtime ._type , v Pointer ) Pointer
func runtime.convTslice (val []byte ) (x Pointer )
func runtime.convTstring (val string ) (x Pointer )
func runtime.cstring (s string ) Pointer
func runtime.funcdata (f runtime .funcInfo , i uint8 ) Pointer
func runtime.makeBucketArray (t *runtime .maptype , b uint8 , dirtyalloc Pointer ) (buckets Pointer , nextOverflow *runtime .bmap )
func runtime.makeslice (et *runtime ._type , len, cap int ) Pointer
func runtime.makeslice64 (et *runtime ._type , len64, cap64 int64 ) Pointer
func runtime.makeslicecopy (et *runtime ._type , tolen int , fromlen int , from Pointer ) Pointer
func runtime.mallocgc (size uintptr , typ *runtime ._type , needzero bool ) Pointer
func runtime.mapaccess1 (t *runtime .maptype , h *runtime .hmap , key Pointer ) Pointer
func runtime.mapaccess1_fast32 (t *runtime .maptype , h *runtime .hmap , key uint32 ) Pointer
func runtime.mapaccess1_fast64 (t *runtime .maptype , h *runtime .hmap , key uint64 ) Pointer
func runtime.mapaccess1_faststr (t *runtime .maptype , h *runtime .hmap , ky string ) Pointer
func runtime.mapaccess1_fat (t *runtime .maptype , h *runtime .hmap , key, zero Pointer ) Pointer
func runtime.mapaccess2 (t *runtime .maptype , h *runtime .hmap , key Pointer ) (Pointer , bool )
func runtime.mapaccess2_fast32 (t *runtime .maptype , h *runtime .hmap , key uint32 ) (Pointer , bool )
func runtime.mapaccess2_fast64 (t *runtime .maptype , h *runtime .hmap , key uint64 ) (Pointer , bool )
func runtime.mapaccess2_faststr (t *runtime .maptype , h *runtime .hmap , ky string ) (Pointer , bool )
func runtime.mapaccess2_fat (t *runtime .maptype , h *runtime .hmap , key, zero Pointer ) (Pointer , bool )
func runtime.mapaccessK (t *runtime .maptype , h *runtime .hmap , key Pointer ) (Pointer , Pointer )
func runtime.mapaccessK (t *runtime .maptype , h *runtime .hmap , key Pointer ) (Pointer , Pointer )
func runtime.mapassign (t *runtime .maptype , h *runtime .hmap , key Pointer ) Pointer
func runtime.mapassign_fast32 (t *runtime .maptype , h *runtime .hmap , key uint32 ) Pointer
func runtime.mapassign_fast32ptr (t *runtime .maptype , h *runtime .hmap , key Pointer ) Pointer
func runtime.mapassign_fast64 (t *runtime .maptype , h *runtime .hmap , key uint64 ) Pointer
func runtime.mapassign_fast64ptr (t *runtime .maptype , h *runtime .hmap , key Pointer ) Pointer
func runtime.mapassign_faststr (t *runtime .maptype , h *runtime .hmap , s string ) Pointer
func runtime.mmap (addr Pointer , n uintptr , prot, flags, fd int32 , off uint32 ) (Pointer , int )
func runtime.newarray (typ *runtime ._type , n int ) Pointer
func runtime.newobject (typ *runtime ._type ) Pointer
func runtime.newUserArenaChunk () (Pointer , *runtime .mspan )
func runtime.noescape (p Pointer ) Pointer
func runtime.persistentalloc (size, align uintptr , sysStat *runtime .sysMemStat ) Pointer
func runtime.pinnerGetPtr (i *any ) Pointer
func runtime.readvarintUnsafe (fd Pointer ) (uint32 , Pointer )
func runtime.reflect_mapaccess (t *runtime .maptype , h *runtime .hmap , key Pointer ) Pointer
func runtime.reflect_mapaccess_faststr (t *runtime .maptype , h *runtime .hmap , key string ) Pointer
func runtime.reflect_mapiterelem (it *runtime .hiter ) Pointer
func runtime.reflect_mapiterkey (it *runtime .hiter ) Pointer
func runtime.reflect_resolveNameOff (ptrInModule Pointer , off int32 ) Pointer
func runtime.reflect_resolveTextOff (rtype Pointer , off int32 ) Pointer
func runtime.reflect_resolveTypeOff (rtype Pointer , off int32 ) Pointer
func runtime.reflect_typelinks () ([]Pointer , [][]int32 )
func runtime.reflect_unsafe_New (typ *runtime ._type ) Pointer
func runtime.reflect_unsafe_NewArray (typ *runtime ._type , n int ) Pointer
func runtime.reflectlite_resolveNameOff (ptrInModule Pointer , off int32 ) Pointer
func runtime.reflectlite_resolveTypeOff (rtype Pointer , off int32 ) Pointer
func runtime.reflectlite_unsafe_New (typ *runtime ._type ) Pointer
func runtime.runtime_getProfLabel () Pointer
func runtime.runtime_pprof_readProfile () ([]uint64 , []Pointer , bool )
func runtime.sync_atomic_SwapPointer (ptr *Pointer , new Pointer ) Pointer
func runtime.sysAlloc (n uintptr , sysStat *runtime .sysMemStat ) Pointer
func runtime.sysAllocOS (n uintptr ) Pointer
func runtime.sysMmap (addr Pointer , n uintptr , prot, flags, fd int32 , off uint32 ) (p Pointer , err int )
func runtime.sysReserve (v Pointer , n uintptr ) Pointer
func runtime.sysReserveAligned (v Pointer , size, align uintptr ) (Pointer , uintptr )
func runtime.sysReserveOS (v Pointer , n uintptr ) Pointer
func runtime/cgo._Cgo_ptr (ptr Pointer ) Pointer
func strings.noescape (p Pointer ) Pointer
func sync.poolRaceAddr (x any ) Pointer
func syscall.(*Cmsghdr ).data (offset uintptr ) Pointer
func syscall.(*SockaddrInet4 ).sockaddr () (Pointer , syscall ._Socklen , error )
func syscall.(*SockaddrInet6 ).sockaddr () (Pointer , syscall ._Socklen , error )
func syscall.(*SockaddrLinklayer ).sockaddr () (Pointer , syscall ._Socklen , error )
func syscall.(*SockaddrNetlink ).sockaddr () (Pointer , syscall ._Socklen , error )
func syscall.(*SockaddrUnix ).sockaddr () (Pointer , syscall ._Socklen , error )
As Inputs Of (at least 422, in which 31 are exported )
func go.uber.org/atomic.NewUnsafePointer (val Pointer ) *atomic .UnsafePointer
func go.uber.org/atomic.(*UnsafePointer ).CAS (old, new Pointer ) (swapped bool )
func go.uber.org/atomic.(*UnsafePointer ).CompareAndSwap (old, new Pointer ) (swapped bool )
func go.uber.org/atomic.(*UnsafePointer ).Store (val Pointer )
func go.uber.org/atomic.(*UnsafePointer ).Swap (val Pointer ) (old Pointer )
func internal/race.Acquire (addr Pointer )
func internal/race.Read (addr Pointer )
func internal/race.ReadRange (addr Pointer , len int )
func internal/race.Release (addr Pointer )
func internal/race.ReleaseMerge (addr Pointer )
func internal/race.Write (addr Pointer )
func internal/race.WriteRange (addr Pointer , len int )
func reflect.NewAt (typ reflect .Type , p Pointer ) reflect .Value
func reflect.Value .SetPointer (x Pointer )
func runtime.SetCgoTraceback (version int , traceback, context, symbolizer Pointer )
func runtime/internal/atomic.Casp1 (ptr *Pointer , old, new Pointer ) bool
func runtime/internal/atomic.Casp1 (ptr *Pointer , old, new Pointer ) bool
func runtime/internal/atomic.Loadp (ptr Pointer ) Pointer
func runtime/internal/atomic.StorepNoWB (ptr Pointer , val Pointer )
func runtime/internal/atomic.StorepNoWB (ptr Pointer , val Pointer )
func runtime/internal/atomic.(*UnsafePointer ).CompareAndSwap (old, new Pointer ) bool
func runtime/internal/atomic.(*UnsafePointer ).CompareAndSwapNoWB (old, new Pointer ) bool
func runtime/internal/atomic.(*UnsafePointer ).Store (value Pointer )
func runtime/internal/atomic.(*UnsafePointer ).StoreNoWB (value Pointer )
func sync/atomic.CompareAndSwapPointer (addr *Pointer , old, new Pointer ) (swapped bool )
func sync/atomic.CompareAndSwapPointer (addr *Pointer , old, new Pointer ) (swapped bool )
func sync/atomic.LoadPointer (addr *Pointer ) (val Pointer )
func sync/atomic.StorePointer (addr *Pointer , val Pointer )
func sync/atomic.StorePointer (addr *Pointer , val Pointer )
func sync/atomic.SwapPointer (addr *Pointer , new Pointer ) (old Pointer )
func sync/atomic.SwapPointer (addr *Pointer , new Pointer ) (old Pointer )
/* 391+ unexporteds ... */ /* 391+ unexporteds: */
func internal/abi.addChecked (p Pointer , x uintptr , whySafe string ) Pointer
func internal/bytealg.abigen_runtime_memequal (a, b Pointer , size uintptr ) bool
func internal/bytealg.abigen_runtime_memequal_varlen (a, b Pointer ) bool
func internal/godebug.write (fd uintptr , p Pointer , n int32 ) int32
func internal/reflectlite.add (p Pointer , x uintptr , whySafe string ) Pointer
func internal/reflectlite.arrayAt (p Pointer , i int , eltSize uintptr , whySafe string ) Pointer
func internal/reflectlite.chanlen (Pointer ) int
func internal/reflectlite.ifaceE2I (t *abi .Type , src any , dst Pointer )
func internal/reflectlite.maplen (Pointer ) int
func internal/reflectlite.resolveNameOff (ptrInModule Pointer , off int32 ) Pointer
func internal/reflectlite.resolveTypeOff (rtype Pointer , off int32 ) Pointer
func internal/reflectlite.typedmemmove (t *abi .Type , dst, src Pointer )
func internal/reflectlite.Value .assignTo (context string , dst *abi .Type , target Pointer ) reflectlite .Value
func net._C_free (p Pointer )
func net._Cfunc_free (p0 Pointer ) (r1 net ._Ctype_void )
func net._Cgo_ptr (ptr Pointer ) Pointer
func net._cgo_runtime_cgocall (Pointer , uintptr ) int32
func reflect.add (p Pointer , x uintptr , whySafe string ) Pointer
func reflect.addReflectOff (ptr Pointer ) int32
func reflect.arrayAt (p Pointer , i int , eltSize uintptr , whySafe string ) Pointer
func reflect.call (stackArgsType *abi .Type , f, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func reflect.callMethod (ctxt *reflect .methodValue , frame Pointer , retValid *bool , regs *abi .RegArgs )
func reflect.callReflect (ctxt *reflect .makeFuncImpl , frame Pointer , retValid *bool , regs *abi .RegArgs )
func reflect.chancap (ch Pointer ) int
func reflect.chanclose (ch Pointer )
func reflect.chanlen (ch Pointer ) int
func reflect.chanrecv (ch Pointer , nb bool , val Pointer ) (selected, received bool )
func reflect.chanrecv (ch Pointer , nb bool , val Pointer ) (selected, received bool )
func reflect.chansend (ch Pointer , val Pointer , nb bool ) bool
func reflect.chansend (ch Pointer , val Pointer , nb bool ) bool
func reflect.chansend0 (ch Pointer , val Pointer , nb bool ) bool
func reflect.chansend0 (ch Pointer , val Pointer , nb bool ) bool
func reflect.contentEscapes (x Pointer )
func reflect.copyVal (typ *abi .Type , fl reflect .flag , ptr Pointer ) reflect .Value
func reflect.floatFromReg (r *abi .RegArgs , reg int , argSize uintptr , to Pointer )
func reflect.floatToReg (r *abi .RegArgs , reg int , argSize uintptr , from Pointer )
func reflect.ifaceE2I (t *abi .Type , src any , dst Pointer )
func reflect.intFromReg (r *abi .RegArgs , reg int , argSize uintptr , to Pointer )
func reflect.intToReg (r *abi .RegArgs , reg int , argSize uintptr , from Pointer )
func reflect.mapaccess (t *abi .Type , m Pointer , key Pointer ) (val Pointer )
func reflect.mapaccess (t *abi .Type , m Pointer , key Pointer ) (val Pointer )
func reflect.mapaccess_faststr (t *abi .Type , m Pointer , key string ) (val Pointer )
func reflect.mapassign (t *abi .Type , m Pointer , key, val Pointer )
func reflect.mapassign (t *abi .Type , m Pointer , key, val Pointer )
func reflect.mapassign0 (t *abi .Type , m Pointer , key, val Pointer )
func reflect.mapassign0 (t *abi .Type , m Pointer , key, val Pointer )
func reflect.mapassign_faststr (t *abi .Type , m Pointer , key string , val Pointer )
func reflect.mapassign_faststr (t *abi .Type , m Pointer , key string , val Pointer )
func reflect.mapassign_faststr0 (t *abi .Type , m Pointer , key string , val Pointer )
func reflect.mapassign_faststr0 (t *abi .Type , m Pointer , key string , val Pointer )
func reflect.mapclear (t *abi .Type , m Pointer )
func reflect.mapdelete (t *abi .Type , m Pointer , key Pointer )
func reflect.mapdelete (t *abi .Type , m Pointer , key Pointer )
func reflect.mapdelete_faststr (t *abi .Type , m Pointer , key string )
func reflect.mapiterinit (t *abi .Type , m Pointer , it *reflect .hiter )
func reflect.maplen (m Pointer ) int
func reflect.memmove (dst, src Pointer , size uintptr )
func reflect.noescape (p Pointer ) Pointer
func reflect.resolveNameOff (ptrInModule Pointer , off int32 ) Pointer
func reflect.resolveReflectText (ptr Pointer ) reflect .aTextOff
func reflect.resolveTextOff (rtype Pointer , off int32 ) Pointer
func reflect.resolveTypeOff (rtype Pointer , off int32 ) Pointer
func reflect.rtypeOff (section Pointer , off int32 ) *abi .Type
func reflect.storeRcvr (v reflect .Value , p Pointer )
func reflect.typedarrayclear (elemType *abi .Type , ptr Pointer , len int )
func reflect.typedmemclr (t *abi .Type , ptr Pointer )
func reflect.typedmemclrpartial (t *abi .Type , ptr Pointer , off, size uintptr )
func reflect.typedmemmove (t *abi .Type , dst, src Pointer )
func reflect.typehash (t *abi .Type , p Pointer , h uintptr ) uintptr
func reflect.Value .assignTo (context string , dst *abi .Type , target Pointer ) reflect .Value
func runtime.add (p Pointer , x uintptr ) Pointer
func runtime.addCovMeta (p Pointer , dlen uint32 , hash [16]byte , pkpath string , pkid int , cmode uint8 , cgran uint8 ) uint32
func runtime.addfinalizer (p Pointer , f *runtime .funcval , nret uintptr , fint *runtime ._type , ot *runtime .ptrtype ) bool
func runtime.addOneOpenDeferFrame (gp *runtime .g , pc uintptr , sp Pointer )
func runtime.addspecial (p Pointer , s *runtime .special ) bool
func runtime.adjustpointer (adjinfo *runtime .adjustinfo , vpp Pointer )
func runtime.adjustpointers (scanp Pointer , bv *runtime .bitvector , adjinfo *runtime .adjustinfo , f runtime .funcInfo )
func runtime.arena_arena_Free (arena Pointer )
func runtime.arena_arena_New (arena Pointer , typ any ) any
func runtime.arena_arena_Slice (arena Pointer , slice any , cap int )
func runtime.asanpoison (addr Pointer , sz uintptr )
func runtime.asanread (addr Pointer , sz uintptr )
func runtime.asanregisterglobals (addr Pointer , sz uintptr )
func runtime.asanunpoison (addr Pointer , sz uintptr )
func runtime.asanwrite (addr Pointer , sz uintptr )
func runtime.asmcgocall (fn, arg Pointer ) int32
func runtime.asmcgocall_no_g (fn, arg Pointer )
func runtime.atomic_casPointer (ptr *Pointer , old, new Pointer ) bool
func runtime.atomic_casPointer (ptr *Pointer , old, new Pointer ) bool
func runtime.atomic_storePointer (ptr *Pointer , new Pointer )
func runtime.atomic_storePointer (ptr *Pointer , new Pointer )
func runtime.atomicstorep (ptr Pointer , new Pointer )
func runtime.atomicstorep (ptr Pointer , new Pointer )
func runtime.atomicwb (ptr *Pointer , new Pointer )
func runtime.atomicwb (ptr *Pointer , new Pointer )
func runtime.boring_registerCache (p Pointer )
func runtime.c128equal (p, q Pointer ) bool
func runtime.c128hash (p Pointer , h uintptr ) uintptr
func runtime.c64equal (p, q Pointer ) bool
func runtime.c64hash (p Pointer , h uintptr ) uintptr
func runtime.call1024 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call1048576 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call1073741824 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call128 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call131072 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call134217728 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call16 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call16384 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call16777216 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call2048 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call2097152 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call256 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call262144 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call268435456 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call32 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call32768 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call33554432 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call4096 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call4194304 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call512 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call524288 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call536870912 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call64 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call65536 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call67108864 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call8192 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.call8388608 (typ, fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.callCgoMmap (addr Pointer , n uintptr , prot, flags, fd int32 , off uint32 ) uintptr
func runtime.callCgoMunmap (addr Pointer , n uintptr )
func runtime.cgocall (fn, arg Pointer ) int32
func runtime.cgocallbackg (fn, frame Pointer , ctxt uintptr )
func runtime.cgocallbackg1 (fn, frame Pointer , ctxt uintptr )
func runtime.cgoCheckArg (t *runtime ._type , p Pointer , indir, top bool , msg string )
func runtime.cgoCheckBits (src Pointer , gcbits *byte , off, size uintptr )
func runtime.cgoCheckMemmove (typ *runtime ._type , dst, src Pointer )
func runtime.cgoCheckMemmove2 (typ *runtime ._type , dst, src Pointer , off, size uintptr )
func runtime.cgoCheckPtrWrite (dst *Pointer , src Pointer )
func runtime.cgoCheckPtrWrite (dst *Pointer , src Pointer )
func runtime.cgoCheckSliceCopy (typ *runtime ._type , dst, src Pointer , n int )
func runtime.cgoCheckTypedBlock (typ *runtime ._type , src Pointer , off, size uintptr )
func runtime.cgoCheckUnknownPointer (p Pointer , msg string ) (base, i uintptr )
func runtime.cgoCheckUsingType (typ *runtime ._type , src Pointer , off, size uintptr )
func runtime.cgoInRange (p Pointer , start, end uintptr ) bool
func runtime.cgoIsGoPointer (p Pointer ) bool
func runtime.chanparkcommit (gp *runtime .g , chanLock Pointer ) bool
func runtime.chanrecv (c *runtime .hchan , ep Pointer , block bool ) (selected, received bool )
func runtime.chanrecv1 (c *runtime .hchan , elem Pointer )
func runtime.chanrecv2 (c *runtime .hchan , elem Pointer ) (received bool )
func runtime.chansend (c *runtime .hchan , ep Pointer , block bool , callerpc uintptr ) bool
func runtime.chansend1 (c *runtime .hchan , elem Pointer )
func runtime.checkptrAlignment (p Pointer , elem *runtime ._type , n uintptr )
func runtime.checkptrArithmetic (p Pointer , originals []Pointer )
func runtime.checkptrArithmetic (p Pointer , originals []Pointer )
func runtime.checkptrBase (p Pointer ) uintptr
func runtime.checkptrStraddles (ptr Pointer , size uintptr ) bool
func runtime.clobberfree (x Pointer , size uintptr )
func runtime.clone (flags int32 , stk, mp, gp, fn Pointer ) int32
func runtime.connect (fd int32 , addr Pointer , len int32 ) int32
func runtime.convT (t *runtime ._type , v Pointer ) Pointer
func runtime.convTnoptr (t *runtime ._type , v Pointer ) Pointer
func runtime.dumpfinalizer (obj Pointer , fn *runtime .funcval , fint *runtime ._type , ot *runtime .ptrtype )
func runtime.dumpmemrange (data Pointer , len uintptr )
func runtime.dumpobj (obj Pointer , size uintptr , bv runtime .bitvector )
func runtime.dumpotherroot (description string , to Pointer )
func runtime.dwrite (data Pointer , len uintptr )
func runtime.efaceeq (t *runtime ._type , x, y Pointer ) bool
func runtime.f32equal (p, q Pointer ) bool
func runtime.f32hash (p Pointer , h uintptr ) uintptr
func runtime.f64equal (p, q Pointer ) bool
func runtime.f64hash (p Pointer , h uintptr ) uintptr
func runtime.finalizercommit (gp *runtime .g , lock Pointer ) bool
func runtime.finq_callback (fn *runtime .funcval , obj Pointer , nret uintptr , fint *runtime ._type , ot *runtime .ptrtype )
func runtime.fpTracebackPCs (fp Pointer , pcBuf []uintptr ) (i int )
func runtime.freeSpecial (s *runtime .special , p Pointer , size uintptr )
func runtime.freeUserArenaChunk (s *runtime .mspan , x Pointer )
func runtime.futex (addr Pointer , op int32 , val uint32 , ts, addr2 Pointer , val3 uint32 ) int32
func runtime.futex (addr Pointer , op int32 , val uint32 , ts, addr2 Pointer , val3 uint32 ) int32
func runtime.gcTestIsReachable (ptrs ...Pointer ) (mask uint64 )
func runtime.gcTestPointerClass (p Pointer ) string
func runtime.gopark (unlockf func(*runtime .g , Pointer ) bool , lock Pointer , reason runtime .waitReason , traceReason runtime .traceBlockReason , traceskip int )
func runtime.goroutineProfileWithLabels (p []runtime .StackRecord , labels []Pointer ) (n int , ok bool )
func runtime.goroutineProfileWithLabelsConcurrent (p []runtime .StackRecord , labels []Pointer ) (n int , ok bool )
func runtime.goroutineProfileWithLabelsSync (p []runtime .StackRecord , labels []Pointer ) (n int , ok bool )
func runtime.gostartcall (buf *runtime .gobuf , fn, ctxt Pointer )
func runtime.growslice (oldPtr Pointer , newLen, oldCap, num int , et *runtime ._type ) runtime .slice
func runtime.ifaceeq (tab *runtime .itab , x, y Pointer ) bool
func runtime.interequal (p, q Pointer ) bool
func runtime.interhash (p Pointer , h uintptr ) uintptr
func runtime.isGoPointerWithoutSpan (p Pointer ) bool
func runtime.isPinned (ptr Pointer ) bool
func runtime.keys (m any , p Pointer )
func runtime.madvise (addr Pointer , n uintptr , flags int32 ) int32
func runtime.makeBucketArray (t *runtime .maptype , b uint8 , dirtyalloc Pointer ) (buckets Pointer , nextOverflow *runtime .bmap )
func runtime.makeslicecopy (et *runtime ._type , tolen int , fromlen int , from Pointer ) Pointer
func runtime.mapaccess1 (t *runtime .maptype , h *runtime .hmap , key Pointer ) Pointer
func runtime.mapaccess1_fat (t *runtime .maptype , h *runtime .hmap , key, zero Pointer ) Pointer
func runtime.mapaccess2 (t *runtime .maptype , h *runtime .hmap , key Pointer ) (Pointer , bool )
func runtime.mapaccess2_fat (t *runtime .maptype , h *runtime .hmap , key, zero Pointer ) (Pointer , bool )
func runtime.mapaccessK (t *runtime .maptype , h *runtime .hmap , key Pointer ) (Pointer , Pointer )
func runtime.mapassign (t *runtime .maptype , h *runtime .hmap , key Pointer ) Pointer
func runtime.mapassign_fast32ptr (t *runtime .maptype , h *runtime .hmap , key Pointer ) Pointer
func runtime.mapassign_fast64ptr (t *runtime .maptype , h *runtime .hmap , key Pointer ) Pointer
func runtime.mapdelete (t *runtime .maptype , h *runtime .hmap , key Pointer )
func runtime.memclrHasPointers (ptr Pointer , n uintptr )
func runtime.memclrNoHeapPointers (ptr Pointer , n uintptr )
func runtime.memclrNoHeapPointersChunked (size uintptr , x Pointer )
func runtime.memequal (a, b Pointer , size uintptr ) bool
func runtime.memequal0 (p, q Pointer ) bool
func runtime.memequal128 (p, q Pointer ) bool
func runtime.memequal16 (p, q Pointer ) bool
func runtime.memequal32 (p, q Pointer ) bool
func runtime.memequal64 (p, q Pointer ) bool
func runtime.memequal8 (p, q Pointer ) bool
func runtime.memequal_varlen (a, b Pointer ) bool
func runtime.memhash (p Pointer , h, s uintptr ) uintptr
func runtime.memhash0 (p Pointer , h uintptr ) uintptr
func runtime.memhash128 (p Pointer , h uintptr ) uintptr
func runtime.memhash16 (p Pointer , h uintptr ) uintptr
func runtime.memhash32 (p Pointer , h uintptr ) uintptr
func runtime.memhash32Fallback (p Pointer , seed uintptr ) uintptr
func runtime.memhash64 (p Pointer , h uintptr ) uintptr
func runtime.memhash64Fallback (p Pointer , seed uintptr ) uintptr
func runtime.memhash8 (p Pointer , h uintptr ) uintptr
func runtime.memhash_varlen (p Pointer , h uintptr ) uintptr
func runtime.memhashFallback (p Pointer , seed, s uintptr ) uintptr
func runtime.memmove (to, from Pointer , n uintptr )
func runtime.mincore (addr Pointer , n uintptr , dst *byte ) int32
func runtime.mmap (addr Pointer , n uintptr , prot, flags, fd int32 , off uint32 ) (Pointer , int )
func runtime.mProf_Malloc (p Pointer , size uintptr )
func runtime.msanfree (addr Pointer , sz uintptr )
func runtime.msanmalloc (addr Pointer , sz uintptr )
func runtime.msanmove (dst, src Pointer , sz uintptr )
func runtime.msanread (addr Pointer , sz uintptr )
func runtime.msanwrite (addr Pointer , sz uintptr )
func runtime.munmap (addr Pointer , n uintptr )
func runtime.netpollblockcommit (gp *runtime .g , gpp Pointer ) bool
func runtime.newosproc0 (stacksize uintptr , fn Pointer )
func runtime.nilinterequal (p, q Pointer ) bool
func runtime.nilinterhash (p Pointer , h uintptr ) uintptr
func runtime.noescape (p Pointer ) Pointer
func runtime.parkunlock_c (gp *runtime .g , lock Pointer ) bool
func runtime.pinnerGetPinCounter (addr Pointer ) *uintptr
func runtime.printArgs (f runtime .funcInfo , argp Pointer , pc uintptr )
func runtime.printpointer (p Pointer )
func runtime.profilealloc (mp *runtime .m , x Pointer , size uintptr )
func runtime.queuefinalizer (p Pointer , fn *runtime .funcval , nret uintptr , fint *runtime ._type , ot *runtime .ptrtype )
func runtime.r4 (p Pointer ) uintptr
func runtime.r8 (p Pointer ) uintptr
func runtime.raceacquire (addr Pointer )
func runtime.raceacquirectx (racectx uintptr , addr Pointer )
func runtime.raceacquireg (gp *runtime .g , addr Pointer )
func runtime.racefree (p Pointer , sz uintptr )
func runtime.racemalloc (p Pointer , sz uintptr )
func runtime.racemapshadow (addr Pointer , size uintptr )
func runtime.raceReadObjectPC (t *runtime ._type , addr Pointer , callerpc, pc uintptr )
func runtime.racereadpc (addr Pointer , callerpc, pc uintptr )
func runtime.racereadrangepc (addr Pointer , sz, callerpc, pc uintptr )
func runtime.racerelease (addr Pointer )
func runtime.racereleaseacquire (addr Pointer )
func runtime.racereleaseacquireg (gp *runtime .g , addr Pointer )
func runtime.racereleaseg (gp *runtime .g , addr Pointer )
func runtime.racereleasemerge (addr Pointer )
func runtime.racereleasemergeg (gp *runtime .g , addr Pointer )
func runtime.raceWriteObjectPC (t *runtime ._type , addr Pointer , callerpc, pc uintptr )
func runtime.racewritepc (addr Pointer , callerpc, pc uintptr )
func runtime.racewriterangepc (addr Pointer , sz, callerpc, pc uintptr )
func runtime.read (fd int32 , p Pointer , n int32 ) int32
func runtime.readMetrics (samplesp Pointer , len int , cap int )
func runtime.readUnaligned32 (p Pointer ) uint32
func runtime.readUnaligned64 (p Pointer ) uint64
func runtime.readvarintUnsafe (fd Pointer ) (uint32 , Pointer )
func runtime.recordspan (vh Pointer , p Pointer )
func runtime.recordspan (vh Pointer , p Pointer )
func runtime.recv (c *runtime .hchan , sg *runtime .sudog , ep Pointer , unlockf func(), skip int )
func runtime.recvDirect (t *runtime ._type , sg *runtime .sudog , dst Pointer )
func runtime.reflect_addReflectOff (ptr Pointer ) int32
func runtime.reflect_chanrecv (c *runtime .hchan , nb bool , elem Pointer ) (selected bool , received bool )
func runtime.reflect_chansend (c *runtime .hchan , elem Pointer , nb bool ) (selected bool )
func runtime.reflect_mapaccess (t *runtime .maptype , h *runtime .hmap , key Pointer ) Pointer
func runtime.reflect_mapassign (t *runtime .maptype , h *runtime .hmap , key Pointer , elem Pointer )
func runtime.reflect_mapassign (t *runtime .maptype , h *runtime .hmap , key Pointer , elem Pointer )
func runtime.reflect_mapassign_faststr (t *runtime .maptype , h *runtime .hmap , key string , elem Pointer )
func runtime.reflect_mapdelete (t *runtime .maptype , h *runtime .hmap , key Pointer )
func runtime.reflect_memclrNoHeapPointers (ptr Pointer , n uintptr )
func runtime.reflect_memmove (to, from Pointer , n uintptr )
func runtime.reflect_resolveNameOff (ptrInModule Pointer , off int32 ) Pointer
func runtime.reflect_resolveTextOff (rtype Pointer , off int32 ) Pointer
func runtime.reflect_resolveTypeOff (rtype Pointer , off int32 ) Pointer
func runtime.reflect_typedarrayclear (typ *runtime ._type , ptr Pointer , len int )
func runtime.reflect_typedmemclr (typ *runtime ._type , ptr Pointer )
func runtime.reflect_typedmemclrpartial (typ *runtime ._type , ptr Pointer , off, size uintptr )
func runtime.reflect_typedmemmove (typ *runtime ._type , dst, src Pointer )
func runtime.reflect_typehash (t *runtime ._type , p Pointer , h uintptr ) uintptr
func runtime.reflectcall (stackArgsType *runtime ._type , fn, stackArgs Pointer , stackArgsSize, stackRetOffset, frameSize uint32 , regArgs *abi .RegArgs )
func runtime.reflectcallmove (typ *runtime ._type , dst, src Pointer , size uintptr , regs *abi .RegArgs )
func runtime.reflectlite_resolveNameOff (ptrInModule Pointer , off int32 ) Pointer
func runtime.reflectlite_resolveTypeOff (rtype Pointer , off int32 ) Pointer
func runtime.reflectlite_typedmemmove (typ *runtime ._type , dst, src Pointer )
func runtime.removefinalizer (p Pointer )
func runtime.removespecial (p Pointer , kind uint8 ) *runtime .special
func runtime.resetForSleep (gp *runtime .g , ut Pointer ) bool
func runtime.resolveNameOff (ptrInModule Pointer , off runtime .nameOff ) runtime .name
func runtime.resolveTypeOff (ptrInModule Pointer , off runtime .typeOff ) *runtime ._type
func runtime.runtime_goroutineProfileWithLabels (p []runtime .StackRecord , labels []Pointer ) (n int , ok bool )
func runtime.runtime_setProfLabel (labels Pointer )
func runtime.selectnbrecv (elem Pointer , c *runtime .hchan ) (selected, received bool )
func runtime.selectnbsend (c *runtime .hchan , elem Pointer ) (selected bool )
func runtime.selparkcommit (gp *runtime .g , _ Pointer ) bool
func runtime.send (c *runtime .hchan , sg *runtime .sudog , ep Pointer , unlockf func(), skip int )
func runtime.sendDirect (t *runtime ._type , sg *runtime .sudog , src Pointer )
func runtime.setPinned (ptr Pointer , pin bool )
func runtime.setprofilebucket (p Pointer , b *runtime .bucket )
func runtime.sigfwd (fn uintptr , sig uint32 , info *runtime .siginfo , ctx Pointer )
func runtime.sigfwdgo (sig uint32 , info *runtime .siginfo , ctx Pointer ) bool
func runtime.sighandler (sig uint32 , info *runtime .siginfo , ctxt Pointer , gp *runtime .g )
func runtime.sigprofNonGo (sig uint32 , info *runtime .siginfo , ctx Pointer )
func runtime.sigtrampgo (sig uint32 , info *runtime .siginfo , ctx Pointer )
func runtime.slicecopy (toPtr Pointer , toLen int , fromPtr Pointer , fromLen int , width uintptr ) int
func runtime.slicecopy (toPtr Pointer , toLen int , fromPtr Pointer , fromLen int , width uintptr ) int
func runtime.strequal (p, q Pointer ) bool
func runtime.strhash (p Pointer , h uintptr ) uintptr
func runtime.strhashFallback (a Pointer , h uintptr ) uintptr
func runtime.sync_atomic_CompareAndSwapPointer (ptr *Pointer , old, new Pointer ) bool
func runtime.sync_atomic_CompareAndSwapPointer (ptr *Pointer , old, new Pointer ) bool
func runtime.sync_atomic_StorePointer (ptr *Pointer , new Pointer )
func runtime.sync_atomic_StorePointer (ptr *Pointer , new Pointer )
func runtime.sync_atomic_SwapPointer (ptr *Pointer , new Pointer ) Pointer
func runtime.sync_atomic_SwapPointer (ptr *Pointer , new Pointer ) Pointer
func runtime.syscall_cgocaller (fn Pointer , args ...uintptr ) uintptr
func runtime.sysFault (v Pointer , n uintptr )
func runtime.sysFaultOS (v Pointer , n uintptr )
func runtime.sysFree (v Pointer , n uintptr , sysStat *runtime .sysMemStat )
func runtime.sysFreeOS (v Pointer , n uintptr )
func runtime.sysHugePage (v Pointer , n uintptr )
func runtime.sysHugePageCollapse (v Pointer , n uintptr )
func runtime.sysHugePageCollapseOS (v Pointer , n uintptr )
func runtime.sysHugePageOS (v Pointer , n uintptr )
func runtime.sysMap (v Pointer , n uintptr , sysStat *runtime .sysMemStat )
func runtime.sysMapOS (v Pointer , n uintptr )
func runtime.sysMmap (addr Pointer , n uintptr , prot, flags, fd int32 , off uint32 ) (p Pointer , err int )
func runtime.sysMunmap (addr Pointer , n uintptr )
func runtime.sysNoHugePage (v Pointer , n uintptr )
func runtime.sysNoHugePageOS (v Pointer , n uintptr )
func runtime.sysReserve (v Pointer , n uintptr ) Pointer
func runtime.sysReserveAligned (v Pointer , size, align uintptr ) (Pointer , uintptr )
func runtime.sysReserveOS (v Pointer , n uintptr ) Pointer
func runtime.sysUnused (v Pointer , n uintptr )
func runtime.sysUnusedOS (v Pointer , n uintptr )
func runtime.sysUsed (v Pointer , n, prepared uintptr )
func runtime.sysUsedOS (v Pointer , n uintptr )
func runtime.taggedPointerPack (ptr Pointer , tag uintptr ) runtime .taggedPointer
func runtime.tracealloc (p Pointer , size uintptr , typ *runtime ._type )
func runtime.tracefree (p Pointer , size uintptr )
func runtime.typedmemclr (typ *runtime ._type , ptr Pointer )
func runtime.typedmemmove (typ *abi .Type , dst, src Pointer )
func runtime.typedslicecopy (typ *runtime ._type , dstPtr Pointer , dstLen int , srcPtr Pointer , srcLen int ) int
func runtime.typedslicecopy (typ *runtime ._type , dstPtr Pointer , dstLen int , srcPtr Pointer , srcLen int ) int
func runtime.typehash (t *runtime ._type , p Pointer , h uintptr ) uintptr
func runtime.unsafeslice (et *runtime ._type , ptr Pointer , len int )
func runtime.unsafeslice64 (et *runtime ._type , ptr Pointer , len64 int64 )
func runtime.unsafeslicecheckptr (et *runtime ._type , ptr Pointer , len64 int64 )
func runtime.unsafestring (ptr Pointer , len int )
func runtime.unsafestring64 (ptr Pointer , len64 int64 )
func runtime.unsafestringcheckptr (ptr Pointer , len64 int64 )
func runtime.userArenaHeapBitsSetSliceType (typ *runtime ._type , n int , ptr Pointer , base uintptr )
func runtime.userArenaHeapBitsSetType (typ *runtime ._type , ptr Pointer , base uintptr )
func runtime.values (m any , p Pointer )
func runtime.wbMove (typ *runtime ._type , dst, src Pointer )
func runtime.wbZero (typ *runtime ._type , dst Pointer )
func runtime.write (fd uintptr , p Pointer , n int32 ) int32
func runtime.write1 (fd uintptr , p Pointer , n int32 ) int32
func runtime/cgo._Cgo_ptr (ptr Pointer ) Pointer
func runtime/cgo._cgo_runtime_cgocall (Pointer , uintptr ) int32
func runtime/internal/atomic.casPointer (ptr *Pointer , old, new Pointer ) bool
func runtime/internal/atomic.casPointer (ptr *Pointer , old, new Pointer ) bool
func runtime/internal/atomic.storePointer (ptr *Pointer , new Pointer )
func runtime/internal/atomic.storePointer (ptr *Pointer , new Pointer )
func strings.noescape (p Pointer ) Pointer
func sync.indexLocal (l Pointer , i int ) *sync .poolLocal
func syscall.asanRead (addr Pointer , len int )
func syscall.asanWrite (addr Pointer , len int )
func syscall.bind (s int , addr Pointer , addrlen syscall ._Socklen ) (err error )
func syscall.cgocaller (Pointer , ...uintptr ) uintptr
func syscall.connect (s int , addr Pointer , addrlen syscall ._Socklen ) (err error )
func syscall.getsockopt (s int , level int , name int , val Pointer , vallen *syscall ._Socklen ) (err error )
func syscall.msanRead (addr Pointer , len int )
func syscall.msanWrite (addr Pointer , len int )
func syscall.ptracePtr (request int , pid int , addr uintptr , data Pointer ) (err error )
func syscall.sendmsgN (fd int , p, oob []byte , ptr Pointer , salen syscall ._Socklen , flags int ) (n int , err error )
func syscall.sendto (s int , buf []byte , flags int , to Pointer , addrlen syscall ._Socklen ) (err error )
func syscall.setsockopt (s int , level int , name int , val Pointer , vallen uintptr ) (err error )
As Types Of (total 49, none are exported )
/* 49 unexporteds ... */ /* 49 unexporteds: */
var net._cgo_9c8efe9babca_C2func_getaddrinfo
var net._cgo_9c8efe9babca_C2func_getnameinfo
var net._cgo_9c8efe9babca_C2func_res_search
var net._cgo_9c8efe9babca_Cfunc__Cmalloc
var net._cgo_9c8efe9babca_Cfunc_free
var net._cgo_9c8efe9babca_Cfunc_freeaddrinfo
var net._cgo_9c8efe9babca_Cfunc_gai_strerror
var net._cgo_9c8efe9babca_Cfunc_getaddrinfo
var net._cgo_9c8efe9babca_Cfunc_getnameinfo
var net._cgo_9c8efe9babca_Cfunc_res_search
var runtime._cgo_bindm
var runtime._cgo_callers
var runtime._cgo_getstackbound
var runtime._cgo_init
var runtime._cgo_mmap
var runtime._cgo_munmap
var runtime._cgo_notify_runtime_init_done
var runtime._cgo_pthread_key_created
var runtime._cgo_set_context_function
var runtime._cgo_setenv
var runtime._cgo_sigaction
var runtime._cgo_sys_thread_create
var runtime._cgo_thread_start
var runtime._cgo_unsetenv
var runtime._cgo_yield
var runtime.cgo_yield *Pointer
var runtime.cgoContext
var runtime.cgoSymbolizer
var runtime.cgoThreadStart
var runtime.cgoTraceback
var runtime/cgo._cgo_yield
var runtime/cgo.cgo_libc_setegid
var runtime/cgo.cgo_libc_seteuid
var runtime/cgo.cgo_libc_setgid
var runtime/cgo.cgo_libc_setgroups
var runtime/cgo.cgo_libc_setregid
var runtime/cgo.cgo_libc_setresgid
var runtime/cgo.cgo_libc_setresuid
var runtime/cgo.cgo_libc_setreuid
var runtime/cgo.cgo_libc_setuid
var syscall.cgo_libc_setegid
var syscall.cgo_libc_seteuid
var syscall.cgo_libc_setgid
var syscall.cgo_libc_setgroups
var syscall.cgo_libc_setregid
var syscall.cgo_libc_setresgid
var syscall.cgo_libc_setresuid
var syscall.cgo_libc_setreuid
var syscall.cgo_libc_setuid
Package-Level Functions (total 8, all are exported)
The pages are generated with Golds v0.6.7 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds .