- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for _Type (0.03 sec)
-
test/fixedbugs/issue9604b.go
_type{"uint16", 16, false}, _type{"int32", 32, true}, _type{"uint32", 32, false}, _type{"int64", 64, true}, _type{"uint64", 64, false}, _type{"int", 8 * uint(unsafe.Sizeof(int(0))), true}, _type{"uint", 8 * uint(unsafe.Sizeof(uint(0))), false}, _type{"uintptr", 8 * uint(unsafe.Sizeof((*byte)(nil))), false}, } type binop struct { name string eval func(x, y *big.Int) *big.Int } var binops = []binop{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 4.8K bytes - Viewed (0) -
src/cmd/compile/internal/reflectdata/helpers.go
// ConvIfaceTypeWord asserts that n is conversion to interface type, // and returns an expression that yields the *runtime._type or // *runtime.itab value necessary for implementing the conversion. // // - *runtime._type for the destination type, for I2I conversions // - *runtime.itab, for T2I conversions // - *runtime._type for the source type, for T2E conversions func ConvIfaceTypeWord(pos src.XPos, n *ir.ConvExpr) ir.Node {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 04:50:32 UTC 2023 - 7.1K bytes - Viewed (0) -
src/runtime/unsafe.go
} } // Keep this code in sync with cmd/compile/internal/walk/builtin.go:walkUnsafeSlice func unsafeslice64(et *_type, ptr unsafe.Pointer, len64 int64) { len := int(len64) if int64(len) != len64 { panicunsafeslicelen1(getcallerpc()) } unsafeslice(et, ptr, len) } func unsafeslicecheckptr(et *_type, ptr unsafe.Pointer, len64 int64) { unsafeslice64(et, ptr, len64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:51:18 UTC 2024 - 3.1K bytes - Viewed (0) -
src/runtime/export_debug_test.go
if tid == 0 { return nil, plainError("missing tid") } f := efaceOf(&fn) if f._type == nil || f._type.Kind_&abi.KindMask != abi.Func { return nil, plainError("fn must be a function") } fv := (*funcval)(f.data) a := efaceOf(&stackArgs) if a._type != nil && a._type.Kind_&abi.KindMask != abi.Pointer { return nil, plainError("args must be a pointer or nil") } argp := a.data
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 5.1K bytes - Viewed (0) -
src/runtime/race0.go
import ( "unsafe" ) const raceenabled = false // Because raceenabled is false, none of these functions should be called. func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") } func raceWriteObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") } func raceinit() (uintptr, uintptr) { throw("race"); return 0, 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.8K bytes - Viewed (0) -
src/runtime/cgocheck.go
// pointer into non-Go memory. // // This is called from generated code when GOEXPERIMENT=cgocheck2 is enabled. // //go:nosplit //go:nowritebarrier func cgoCheckMemmove(typ *_type, dst, src unsafe.Pointer) { cgoCheckMemmove2(typ, dst, src, 0, typ.Size_) } // cgoCheckMemmove2 is called when moving a block of memory. // dst and src point off bytes into the value to copy.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/compile/internal/typebits/typebits.go
// treat it as such. // 1. If it is a non-empty interface, the pointer points to an itab // which is always in persistentalloc space. // 2. If it is an empty interface, the pointer points to a _type. // a. If it is a compile-time-allocated type, it points into // the read-only data section. // b. If it is a reflect-allocated type, it points into the Go heap.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 01:53:41 UTC 2023 - 3.2K bytes - Viewed (0) -
src/runtime/typekind.go
// license that can be found in the LICENSE file. package runtime import "internal/abi" // isDirectIface reports whether t is stored directly in an interface value. func isDirectIface(t *_type) bool { return t.Kind_&abi.KindDirectIface != 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 356 bytes - Viewed (0) -
src/internal/abi/switch.go
Inter *InterfaceType CanFail bool } type TypeAssertCache struct { Mask uintptr Entries [1]TypeAssertCacheEntry } type TypeAssertCacheEntry struct { // type of source value (a *runtime._type) Typ uintptr // itab to use for result (a *runtime.itab) // nil if CanFail is set and conversion would fail. Itab uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 17:02:53 UTC 2023 - 1.6K bytes - Viewed (0) -
src/runtime/defs_plan9_386.go
dx uint32 /* ... */ cx uint32 /* ... */ ax uint32 /* ... */ gs uint32 /* data segments */ fs uint32 /* ... */ es uint32 /* ... */ ds uint32 /* ... */ trap uint32 /* trap _type */ ecode uint32 /* error code (or zero) */ pc uint32 /* pc */ cs uint32 /* old context */ flags uint32 /* old flags */ sp uint32 ss uint32 /* old stack segment */ } type sigctxt struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 21 22:12:04 UTC 2021 - 1.6K bytes - Viewed (0)