- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for efaceeq (0.16 sec)
-
src/go/printer/testdata/declarations.golden
_ bool // a comment _ bool ) // don't lose blank lines in this struct type _ struct { String struct { Str, Len int } Slice struct { Array, Len, Cap int } Eface struct { Typ, Ptr int } UncommonType struct { Name, PkgPath int } CommonType struct { Size, Hash, Alg, Align, FieldAlign, String, UncommonType int } Type struct { Typ, Ptr int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 13 22:24:31 UTC 2021 - 16.2K bytes - Viewed (0) -
src/runtime/syscall_windows.go
// cdecl calling convention; otherwise, it will use stdcall. On amd64, // it always uses fastcall. On arm, it always uses the ARM convention. // //go:linkname compileCallback syscall.compileCallback func compileCallback(fn eface, cdecl bool) (code uintptr) { if GOARCH != "386" { // cdecl is only meaningful on 386. cdecl = false } if fn._type == nil || (fn._type.Kind_&abi.KindMask) != abi.Func {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0) -
src/runtime/panic.go
text := "panic while printing panic value" switch r := recover().(type) { case nil: // nothing to do case string: throw(text + ": " + r) default: throw(text + ": type " + toRType(efaceOf(&r)._type).string()) } }() for p != nil { switch v := p.arg.(type) { case error: p.arg = v.Error() case stringer: p.arg = v.String() } p = p.link } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 43.8K bytes - Viewed (0) -
src/runtime/export_test.go
type UserArena struct { arena *userArena } func NewUserArena() *UserArena { return &UserArena{newUserArena()} } func (a *UserArena) New(out *any) { i := efaceOf(out) typ := i._type if typ.Kind_&abi.KindMask != abi.Pointer { panic("new result of non-ptr type") } typ = (*ptrtype)(unsafe.Pointer(typ)).Elem i.data = a.arena.new(typ) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/runtime/time.go
func (t *timer) hchan() *hchan { if !t.isChan { badTimer() } // Note: t.arg is a chan time.Time, // and runtime cannot refer to that type, // so we cannot use a type assertion. return (*hchan)(efaceOf(&t.arg).data) } // updateHeap updates t as directed by t.state, updating t.state // and returning a bool indicating whether the state (and ts.heap[0].when) changed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 14:36:24 UTC 2024 - 37.5K bytes - Viewed (0)