MCPcopy Create free account
hub / github.com/google/gapid / Assign

Method Assign

gapis/memory/pointer.go:108–114  ·  view source on GitHub ↗
(o interface{})

Source from the content-addressed store, hash-verified

106}
107
108func (p *ptr) Assign(o interface{}) bool {
109 if o, ok := o.(Pointer); ok {
110 *p = ptr{o.Address(), p.elTy}
111 return true
112 }
113 return false
114}
115
116// Encode encodes this object to the encoder.
117func (p ptr) Encode(e *Encoder) { e.Pointer(p.addr) }

Callers

nothing calls this directly

Calls 1

AddressMethod · 0.65

Tested by

no test coverage detected