- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PtrBytes (0.11 sec)
-
src/runtime/mbitmap.go
}) // Write a dummy _type in the new space. // // We only need to write size, PtrBytes, and GCData, since that's all // the GC cares about. gctyp = (*_type)(unsafe.Pointer(progSpan.base())) gctyp.Size_ = typ.Size_ gctyp.PtrBytes = typ.PtrBytes gctyp.GCData = (*byte)(add(unsafe.Pointer(progSpan.base()), heapBitsOff)) gctyp.TFlag = abi.TFlagUnrolledBitmap
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
src/reflect/type.go
if length > 0 && typ.Pointers() { array.PtrBytes = typ.Size_*uintptr(length-1) + typ.PtrBytes } array.Align_ = typ.Align_ array.FieldAlign_ = typ.FieldAlign_ array.Len = uintptr(length) array.Slice = &(SliceOf(elem).(*rtype).t) switch { case !typ.Pointers() || array.Size_ == 0: // No pointers. array.GCData = nil array.PtrBytes = 0 case length == 1:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0)