- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for doubleCheck (0.08 sec)
-
src/runtime/mbitmap.go
// // nosplit because it is used during write barriers and must not be preempted. // //go:nosplit func (span *mspan) typePointersOfUnchecked(addr uintptr) typePointers { const doubleCheck = false if doubleCheck && span.objBase(addr) != addr { print("runtime: addr=", addr, " base=", span.objBase(addr), "\n") throw("typePointersOfUnchecked consisting of non-base-address for object") } spc := span.spanclass
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
// point, the GC will observe the new bitmap. 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 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0)