- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PtrBytes (0.33 sec)
-
src/runtime/cgocheck.go
// //go:nosplit //go:nowritebarrier func cgoCheckTypedBlock(typ *_type, src unsafe.Pointer, off, size uintptr) { // Anything past typ.PtrBytes is not a pointer. if typ.PtrBytes <= off { return } if ptrdataSize := typ.PtrBytes - off; size > ptrdataSize { size = ptrdataSize } if typ.Kind_&abi.KindGCProg == 0 { cgoCheckBits(src, typ.GCData, off, size) return }
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/runtime/tracetype.go
w.byte(byte(traceAllocFreeTypesBatch)) } // Emit type. w.varint(uint64(node.id)) w.varint(uint64(uintptr(unsafe.Pointer(typ)))) w.varint(uint64(typ.Size())) w.varint(uint64(typ.PtrBytes)) w.varint(uint64(len(typName))) w.stringData(typName) // Recursively walk all child nodes. for i := range node.children { child := node.children[i].Load() if child == nil { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 2.3K bytes - Viewed (0) -
src/reflect/export_test.go
} if ft.Kind_&abi.KindGCProg != 0 { panic("can't handle gc programs") } // Expand frame type's GC bitmap into byte-map. ptrs = ft.Pointers() if ptrs { nptrs := ft.PtrBytes / goarch.PtrSize gcdata := ft.GcSlice(0, (nptrs+7)/8) for i := uintptr(0); i < nptrs; i++ { gc = append(gc, gcdata[i/8]>>(i%8)&1) } } return } func TypeLinks() []string { var r []string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 3.8K bytes - Viewed (0)