MCPcopy
hub / github.com/protocolbuffers/protobuf-go / LoadMessageInfo

Method LoadMessageInfo

internal/impl/pointer_unsafe.go:204–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202 return mi
203}
204func (ms *messageState) LoadMessageInfo() *MessageInfo {
205 return (*MessageInfo)(atomic.LoadPointer((*unsafe.Pointer)(unsafe.Pointer(&ms.atomicMessageInfo))))
206}
207func (ms *messageState) StoreMessageInfo(mi *MessageInfo) {
208 atomic.StorePointer((*unsafe.Pointer)(unsafe.Pointer(&ms.atomicMessageInfo)), unsafe.Pointer(mi))
209}

Callers 15

messageInfoMethod · 0.95
ProtoReflectMethod · 0.80
ProtoReflectMethod · 0.80
ProtoReflectMethod · 0.80
ProtoReflectMethod · 0.80
ProtoReflectMethod · 0.80
ProtoReflectMethod · 0.80
ProtoReflectMethod · 0.80
ProtoReflectMethod · 0.80
ProtoReflectMethod · 0.80
ProtoReflectMethod · 0.80
ProtoReflectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected