MCPcopy
hub / github.com/golang/protobuf / Int64

Function Int64

proto/wrappers.go:19–19  ·  view source on GitHub ↗

Int64 stores v in a new int64 value and returns a pointer to it.

(v int64)

Source from the content-addressed store, hash-verified

17
18// Int64 stores v in a new int64 value and returns a pointer to it.
19func Int64(v int64) *int64 { return &v }
20
21// Uint32 stores v in a new uint32 value and returns a pointer to it.
22func Uint32(v uint32) *uint32 { return &v }

Callers 15

newTestMessageFunction · 0.92
text_test.goFile · 0.92
initGoTestFunction · 0.92
TestBufferMarshalAllocsFunction · 0.92
TestResetFunction · 0.92
TestEncodeDecode3Function · 0.92
TestEncodeDecode4Function · 0.92
TestNegativeInt32Function · 0.92
TestAllSetDefaultsFunction · 0.92

Calls

no outgoing calls

Tested by 12

newTestMessageFunction · 0.74
initGoTestFunction · 0.74
TestBufferMarshalAllocsFunction · 0.74
TestResetFunction · 0.74
TestEncodeDecode3Function · 0.74
TestEncodeDecode4Function · 0.74
TestNegativeInt32Function · 0.74
TestAllSetDefaultsFunction · 0.74
TestProto3SetDefaultsFunction · 0.74