- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for Dtype (0.04 sec)
-
src/runtime/runtime-gdb.py
except Exception as e: print("Can't parse ", obj, ": ", e) continue if obj['data'] == 0: dtype = "nil" else: dtype = iface_dtype(obj) if dtype is None: print("Not an interface: ", obj.type) continue print("{0}: {1}".format(obj.type, dtype)) # TODO: print interface's methods and dynamic type's func pointers thereof.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 12:59:20 UTC 2023 - 15.4K bytes - Viewed (0) -
src/internal/reflectlite/type.go
return s[i+1:] } func toRType(t *abi.Type) rtype { return rtype{t} } func elem(t *abi.Type) *abi.Type { et := t.Elem() if et != nil { return et } panic("reflect: Elem of invalid type " + toRType(t).String()) } func (t rtype) Elem() Type { return toType(elem(t.common())) } func (t rtype) In(i int) Type { tt := t.Type.FuncType() if tt == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
src/encoding/gob/type.go
) // userTypeInfo stores the information associated with a type the user has handed // to the package. It's computed once and stored in a map keyed by reflection // type. type userTypeInfo struct { user reflect.Type // the type the user handed us base reflect.Type // the base type after all indirections indir int // number of indirections to reach the base type externalEnc int // xGob, xBinary, or xText
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/runtime/type.go
// license that can be found in the LICENSE file. // Runtime type representation. package runtime import ( "internal/abi" "unsafe" ) type nameOff = abi.NameOff type typeOff = abi.TypeOff type textOff = abi.TextOff type _type = abi.Type // rtype is a wrapper that allows us to define additional methods. type rtype struct { *abi.Type // embedding is okay here (unlike reflect) because none of this is public
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 12.7K bytes - Viewed (0) -
src/runtime/iface.go
stringEface any = stringInterfacePtr("") sliceEface any = sliceInterfacePtr(nil) uint16Type *_type = efaceOf(&uint16Eface)._type uint32Type *_type = efaceOf(&uint32Eface)._type uint64Type *_type = efaceOf(&uint64Eface)._type stringType *_type = efaceOf(&stringEface)._type sliceType *_type = efaceOf(&sliceEface)._type ) // The conv and assert functions below do very similar things.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 22.5K bytes - Viewed (0) -
src/net/rpc/server.go
// - exported method of exported type // - two arguments, both of exported type // - the second argument is a pointer // - one return value, of type error // // It returns an error if the receiver is not an exported type or has // no suitable methods. It also logs the error using package log. // The client accesses each method using a string of the form "Type.Method", // where Type is the receiver's concrete type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 21.6K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
// A typeSwitch walks a type switch. type typeSwitch struct { // Temporary variables (i.e., ONAMEs) used by type switch dispatch logic: srcName ir.Node // value being type-switched on hashName ir.Node // type hash of the value being type-switched on okName ir.Node // boolean used for comma-ok type assertions itabName ir.Node // itab value to use for first word of non-empty interface } type typeClause struct { hash uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
src/runtime/mbarrier.go
// wbMove performs the write barrier operations necessary before // copying a region of memory from src to dst of type typ. // Does not actually do the copying. // //go:nowritebarrierrec //go:nosplit func wbMove(typ *_type, dst, src unsafe.Pointer) { // This always copies a full value of type typ so it's safe to // pass a type here. // // See the comment on bulkBarrierPreWrite.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 15.7K bytes - Viewed (0) -
src/runtime/arena.go
// a pointer/scalar bitmap. We also reserve space for a dummy _type that // refers to the bitmap. The PtrBytes field of the dummy _type indicates how // many of those bits are valid. return userArenaChunkBytes/goarch.PtrSize/8 + unsafe.Sizeof(_type{}) } type userArena struct { // full is a list of full chunks that have not enough free memory left, and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0) -
src/testing/quick/quick.go
config = &defaultConfig } x, xType, ok := functionAndType(f) if !ok { return SetupError("f is not a function") } y, yType, ok := functionAndType(g) if !ok { return SetupError("g is not a function") } if xType != yType { return SetupError("functions have different types") } arguments := make([]reflect.Value, xType.NumIn()) rand := config.getRand()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 10.1K bytes - Viewed (0)