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

Function Float32

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

Float32 stores v in a new float32 value and returns a pointer to it.

(v float32)

Source from the content-addressed store, hash-verified

26
27// Float32 stores v in a new float32 value and returns a pointer to it.
28func Float32(v float32) *float32 { return &v }
29
30// Float64 stores v in a new float64 value and returns a pointer to it.
31func Float64(v float64) *float64 { return &v }

Callers 9

newTestMessageFunction · 0.92
text_test.goFile · 0.92
initGoTestFunction · 0.92
TestEncodeDecode3Function · 0.92
TestEncodeDecode4Function · 0.92
TestAllSetDefaultsFunction · 0.92
proto_test.goFile · 0.92
json_test.goFile · 0.92

Calls

no outgoing calls

Tested by 6

newTestMessageFunction · 0.74
initGoTestFunction · 0.74
TestEncodeDecode3Function · 0.74
TestEncodeDecode4Function · 0.74
TestAllSetDefaultsFunction · 0.74