- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ptrData (0.14 sec)
-
src/runtime/mbitmap.go
// for an object of size ptrdata. Then it fills that space with the // pointer bitmask specified by the program prog. // The bitmask starts at s.startAddr. // The result must be deallocated with dematerializeGCProg. func materializeGCProg(ptrdata uintptr, prog *byte) *mspan { // Each word of ptrdata needs one bit in the bitmap. bitmapBytes := divRoundUp(ptrdata, 8*goarch.PtrSize)
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
mask[word/8] |= 1 << (word % 8) gcdata = &mask[0] ptrdata = (word + 1) * goarch.PtrSize // overflow word must be last if ptrdata != size { panic("reflect: bad layout computation in MapOf") } } b := &abi.Type{ Align_: goarch.PtrSize, Size_: size, Kind_: abi.Struct, PtrBytes: ptrdata, GCData: gcdata, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/runtime/mgcmark.go
// a gc program (see issue 27447). s = materializeGCProg(r.ptrdata(), gcdata) gcdata = (*byte)(unsafe.Pointer(s.startAddr)) } b := state.stack.lo + uintptr(obj.off) if conservative { scanConservative(b, r.ptrdata(), gcdata, gcw, &state) } else { scanblock(b, r.ptrdata(), gcdata, gcw, &state) } if s != nil { dematerializeGCProg(s) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 52.5K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0)