- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for doubleCheckHeapPointersInterior (1.15 sec)
-
src/runtime/mbitmap.go
} // Round up the type to the size of the type. size = (size + gctyp.Size_ - 1) / gctyp.Size_ * gctyp.Size_ if interior+size > x+maxIterBytes { size = x + maxIterBytes - interior } doubleCheckHeapPointersInterior(x, interior, size, dataSize, gctyp, header, span) } return } func doubleCheckHeapPointers(x, dataSize uintptr, typ *_type, header **_type, span *mspan) { // Check that scanning the full object works.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
src/runtime/arena.go
s.largeType.PtrBytes = uintptr(ptr) - base + typ.PtrBytes // Double-check that the bitmap was written out correctly. const doubleCheck = false if doubleCheck { doubleCheckHeapPointersInterior(uintptr(ptr), uintptr(ptr), typ.Size_, typ.Size_, typ, &s.largeType, s) } } type writeUserArenaHeapBits struct { offset uintptr // offset in span that the low bit of mask represents the pointer state of.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0)