Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for VLP (0.01 sec)

  1. src/sync/atomic/value.go

    	typ := LoadPointer(&vp.typ)
    	if typ == nil || typ == unsafe.Pointer(&firstStoreInProgress) {
    		// First store not yet completed.
    		return nil
    	}
    	data := LoadPointer(&vp.data)
    	vlp := (*efaceWords)(unsafe.Pointer(&val))
    	vlp.typ = typ
    	vlp.data = data
    	return
    }
    
    var firstStoreInProgress byte
    
    // Store sets the value of the [Value] v to val.
    // All calls to Store for a given Value must use values of the same concrete type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:48:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top