- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,425 for fUintptr (0.47 sec)
-
src/cmd/compile/internal/types/universe.go
{"string", TSTRING}, } var typedefs = [...]struct { name string etype Kind sameas32 Kind sameas64 Kind }{ {"int", TINT, TINT32, TINT64}, {"uint", TUINT, TUINT32, TUINT64}, {"uintptr", TUINTPTR, TUINT32, TUINT64}, } func InitTypes(defTypeName func(sym *Sym, typ *Type) Object) { if PtrSize == 0 { base.Fatalf("InitTypes called before PtrSize was set") } SlicePtrOffset = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:49 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/compile/internal/walk/range.go
ptr.SetBounded(true) huVal := ir.NewConvExpr(base.Pos, ir.OCONVNOP, types.Types[types.TUNSAFEPTR], ptr) huVal = ir.NewConvExpr(base.Pos, ir.OCONVNOP, types.Types[types.TUINTPTR], huVal) hu := typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TUINTPTR]) init = append(init, ir.NewAssignStmt(base.Pos, hu, huVal)) // Convert hu to hp at the top of the loop (after the condition has been checked).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:33 UTC 2023 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
mem := typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TUINTPTR]) overflow := typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TBOOL]) decl := types.NewSignature(nil, []*types.Field{ types.NewField(base.Pos, nil, types.Types[types.TUINTPTR]), types.NewField(base.Pos, nil, types.Types[types.TUINTPTR]), }, []*types.Field{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0) -
src/cmd/compile/internal/ir/func.go
var e Node = NewLinksymExpr(pos, name.LinksymABI(abi), types.Types[types.TUINTPTR]) e = NewAddrExpr(pos, e) e.SetType(types.Types[types.TUINTPTR].PtrTo()) e = NewConvExpr(pos, OCONVNOP, types.Types[types.TUINTPTR], e) e.SetTypecheck(1) return e } // fn is not a defined function. It must be ABIInternal. // Read the address from func value, i.e. *(*uintptr)(idata(fn)). if wantABI != obj.ABIInternal {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/writebarrier.go
addEntry := func(pos src.XPos, v *Value) { if curCall == nil || curCall.AuxInt == maxEntries { t := types.NewTuple(types.Types[types.TUINTPTR].PtrTo(), types.TypeMem) curCall = bThen.NewValue1(pos, OpWB, t, memThen) curPtr = bThen.NewValue1(pos, OpSelect0, types.Types[types.TUINTPTR].PtrTo(), curCall) memThen = bThen.NewValue1(pos, OpSelect1, types.TypeMem, curCall) } // Store value in write buffer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 23.5K bytes - Viewed (0) -
src/runtime/netpoll.go
// pdNil - none of the above. const ( pdNil uintptr = 0 pdReady uintptr = 1 pdWait uintptr = 2 ) const pollBlockSize = 4 * 1024 // Network poller descriptor. // // No heap pointers. type pollDesc struct { _ sys.NotInHeap link *pollDesc // in pollcache, protected by pollcache.lock fd uintptr // constant for pollDesc usage lifetime fdseq atomic.Uintptr // protects against stale pollDesc
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 20.7K bytes - Viewed (0) -
src/cmd/compile/internal/ir/const.go
func NewString(pos src.XPos, s string) Node { return NewBasicLit(pos, types.UntypedString, constant.MakeString(s)) } // NewUintptr returns an OLITERAL representing v as a uintptr. func NewUintptr(pos src.XPos, v int64) Node { return NewBasicLit(pos, types.Types[types.TUINTPTR], constant.MakeInt64(v)) } // NewZero returns a zero value of the given type. func NewZero(pos src.XPos, typ *types.Type) Node { switch { case typ.HasNil():
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 18:53:26 UTC 2023 - 4K bytes - Viewed (0) -
src/runtime/traceback.go
// for the first frame. u.initAt(^uintptr(0), ^uintptr(0), ^uintptr(0), gp, flags) } func (u *unwinder) initAt(pc0, sp0, lr0 uintptr, gp *g, flags unwindFlags) { // Don't call this "g"; it's too easy get "g" and "gp" confused. if ourg := getg(); ourg == gp && ourg == ourg.m.curg { // The starting sp has been passed in as a uintptr, and the caller may // have other uintptr-typed stack references as well.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
test/fixedbugs/issue24491a.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 19:36:58 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) { var _p0 unsafe.Pointer if len(mib) > 0 { _p0 = unsafe.Pointer(&mib[0]) } else { _p0 = unsafe.Pointer(&_zero) } _, _, e1 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) if e1 != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 57.5K bytes - Viewed (0)