Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StoreMarked (0.09 sec)

  1. src/runtime/mranges.go

    func (b *atomicOffAddr) StoreUnmark(markedAddr, newAddr uintptr) {
    	b.a.CompareAndSwap(-int64(markedAddr-arenaBaseOffset), int64(newAddr-arenaBaseOffset))
    }
    
    // StoreMarked stores addr but first converted to the offset address
    // space and then negated.
    func (b *atomicOffAddr) StoreMarked(addr uintptr) {
    	b.a.Store(-int64(addr - arenaBaseOffset))
    }
    
    // Load returns the address in the box as a virtual address. It also
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top