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

Struct NonFinites

internal/testprotos/jsonpb_proto/test2.pb.go:256–266  ·  view source on GitHub ↗

Test message for holding special non-finites primitives.

Source from the content-addressed store, hash-verified

254
255// Test message for holding special non-finites primitives.
256type NonFinites struct {
257 FNan *float32 `protobuf:"fixed32,1,opt,name=f_nan,json=fNan" json:"f_nan,omitempty"`
258 FPinf *float32 `protobuf:"fixed32,2,opt,name=f_pinf,json=fPinf" json:"f_pinf,omitempty"`
259 FNinf *float32 `protobuf:"fixed32,3,opt,name=f_ninf,json=fNinf" json:"f_ninf,omitempty"`
260 DNan *float64 `protobuf:"fixed64,4,opt,name=d_nan,json=dNan" json:"d_nan,omitempty"`
261 DPinf *float64 `protobuf:"fixed64,5,opt,name=d_pinf,json=dPinf" json:"d_pinf,omitempty"`
262 DNinf *float64 `protobuf:"fixed64,6,opt,name=d_ninf,json=dNinf" json:"d_ninf,omitempty"`
263 XXX_NoUnkeyedLiteral struct{} `json:"-"`
264 XXX_unrecognized []byte `json:"-"`
265 XXX_sizecache int32 `json:"-"`
266}
267
268func (m *NonFinites) Reset() { *m = NonFinites{} }
269func (m *NonFinites) String() string { return proto.CompactTextString(m) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected