- Sort Score
- Result 10 results
- Languages All
Results 31 - 38 of 38 for Dtype (0.04 sec)
-
src/runtime/panic.go
defer func() { 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() }
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
const UserArenaChunkBytes = userArenaChunkBytes 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
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/cmd/cgo/doc.go
Go struct types are not supported; use a C struct type. Go array types are not supported; use a C pointer. Go functions that take arguments of type string may be called with the C type _GoString_, described above. The _GoString_ type will be automatically defined in the preamble. Note that there is no way for C code to create a value of this type; this is only useful for passing string values from Go to C and back to Go.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 17:12:16 UTC 2024 - 42.2K bytes - Viewed (0) -
src/runtime/os_windows.go
} else { h = _INVALID_HANDLE_VALUE timeout = uintptr(us) / 1000 // ms units } stdcall2(_WaitForSingleObject, h, timeout) }) } func ctrlHandler(_type uint32) uintptr { var s uint32 switch _type { case _CTRL_C_EVENT, _CTRL_BREAK_EVENT: s = _SIGINT case _CTRL_CLOSE_EVENT, _CTRL_LOGOFF_EVENT, _CTRL_SHUTDOWN_EVENT: s = _SIGTERM default: return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 41.5K bytes - Viewed (0) -
src/runtime/symtab.go
// a package against any previously loaded version of the package. // This is done in plugin.lastmoduleinit. type modulehash struct { modulename string linktimehash string runtimehash *string } // pinnedTypemaps are the map[typeOff]*_type from the moduledata objects. // // These typemap objects are allocated at run time on the heap, but the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
src/net/http/request_test.go
contentType Header }{ {"text", "", Header{"Content-Type": {"text/plain"}}}, // Empty content type is legal - may be treated as // application/octet-stream (RFC 7231, section 3.1.1.5) {"empty", "", Header{}}, {"boundary", "mime: invalid media parameter", Header{"Content-Type": {"text/plain; boundary="}}}, {"unknown", "", Header{"Content-Type": {"application/unknown"}}}, } { t.Run(test.name,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0) -
src/runtime/stubs.go
// only in a very limited callee of reflectcall, the stackArgs are copied, and // regArgs is only used in the reflectcall frame. // //go:noescape func reflectcall(stackArgsType *_type, fn, stackArgs unsafe.Pointer, stackArgsSize, stackRetOffset, frameSize uint32, regArgs *abi.RegArgs) // procyield should be an internal detail, // but widely used packages access it using linkname.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
return f } // A TypeInfo contains information for a symbol // that contains a runtime._type. type TypeInfo struct { Type interface{} // a *cmd/compile/internal/types.Type } func (s *LSym) NewTypeInfo() *TypeInfo { if s.Extra != nil { panic(fmt.Sprintf("invalid use of LSym - NewTypeInfo with Extra of type %T", *s.Extra)) } t := new(TypeInfo) s.Extra = new(interface{}) *s.Extra = t return t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0)