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

Function Float64

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

Float64 stores v in a new float64 value and returns a pointer to it.

(v float64)

Source from the content-addressed store, hash-verified

29
30// Float64 stores v in a new float64 value and returns a pointer to it.
31func Float64(v float64) *float64 { return &v }
32
33// String stores v in a new string value and returns a pointer to it.
34func String(v string) *string { return &v }

Callers 12

text_test.goFile · 0.92
TestMapParsingFunction · 0.92
initGoTestFunction · 0.92
TestResetFunction · 0.92
TestEncodeDecode3Function · 0.92
TestEncodeDecode4Function · 0.92
TestBadWireTypeUnknownFunction · 0.92
TestAllSetDefaultsFunction · 0.92
TestMapFieldRoundTripsFunction · 0.92
proto_test.goFile · 0.92
json_test.goFile · 0.92

Calls

no outgoing calls

Tested by 8

TestMapParsingFunction · 0.74
initGoTestFunction · 0.74
TestResetFunction · 0.74
TestEncodeDecode3Function · 0.74
TestEncodeDecode4Function · 0.74
TestBadWireTypeUnknownFunction · 0.74
TestAllSetDefaultsFunction · 0.74
TestMapFieldRoundTripsFunction · 0.74