Home
last modified time | relevance | path

Searched refs:OptionalFloat (Results 1 – 25 of 42) sorted by relevance

12

/external/golang-protobuf/proto/
Dequal_test.go126 x: &testpb.TestAllTypes{OptionalFloat: proto.Float32(1)},
127 y: &testpb.TestAllTypes{OptionalFloat: proto.Float32(2)},
132 x: &testpb.TestAllTypes{OptionalFloat: proto.Float32(float32(math.NaN()))},
133 y: &testpb.TestAllTypes{OptionalFloat: proto.Float32(0)},
190 x: &testpb.TestAllTypes{OptionalFloat: proto.Float32(2)},
191 y: &testpb.TestAllTypes{OptionalFloat: proto.Float32(2)},
198 x: &testpb.TestAllTypes{OptionalFloat: proto.Float32(float32(math.NaN()))},
199 y: &testpb.TestAllTypes{OptionalFloat: proto.Float32(float32(math.NaN()))},
256 y: &testpb.TestAllTypes{OptionalFloat: proto.Float32(0)},
307 y: &test3pb.TestAllTypes{OptionalFloat: proto.Float32(0)},
/external/golang-protobuf/internal/testprotos/fieldtrack/
Dfieldtrack.pb.go36OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=o… member
206 if x != nil && x.OptionalFloat != nil {
207 return *x.OptionalFloat
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestProto3Optional.cs406 public float OptionalFloat { property in ProtobufUnittest.TestProto3Optional
649 …obufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OptionalFloat, other.OptionalFloat)) re… in Equals()
677 …t) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OptionalFloat); in GetHashCode()
748 output.WriteFloat(OptionalFloat); in WriteTo()
842 output.WriteFloat(OptionalFloat); in IBufferMessage.InternalWriteTo()
1000 OptionalFloat = other.OptionalFloat; in MergeFrom()
1094 OptionalFloat = input.ReadFloat(); in MergeFrom()
1199 OptionalFloat = input.ReadFloat(); in IBufferMessage.InternalMergeFrom()
DTestMessagesProto3.cs613 public float OptionalFloat { property in ProtobufTestMessages.Proto3.TestAllTypesProto3
2307 …obufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OptionalFloat, other.OptionalFloat)) re… in Equals()
2466 …if (OptionalFloat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetH… in GetHashCode()
2666 if (OptionalFloat != 0F) { in WriteTo()
2668 output.WriteFloat(OptionalFloat); in WriteTo()
3019 if (OptionalFloat != 0F) { in IBufferMessage.InternalWriteTo()
3021 output.WriteFloat(OptionalFloat); in IBufferMessage.InternalWriteTo()
3362 if (OptionalFloat != 0F) { in CalculateSize()
3659 if (other.OptionalFloat != 0F) { in MergeFrom()
3660 OptionalFloat = other.OptionalFloat; in MergeFrom()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestProto3Optional.cs406 public float OptionalFloat { property in ProtobufUnittest.TestProto3Optional
649 …obufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OptionalFloat, other.OptionalFloat)) re… in Equals()
677 …t) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OptionalFloat); in GetHashCode()
748 output.WriteFloat(OptionalFloat); in WriteTo()
842 output.WriteFloat(OptionalFloat); in IBufferMessage.InternalWriteTo()
1000 OptionalFloat = other.OptionalFloat; in MergeFrom()
1094 OptionalFloat = input.ReadFloat(); in MergeFrom()
1199 OptionalFloat = input.ReadFloat(); in IBufferMessage.InternalMergeFrom()
DTestMessagesProto3.cs613 public float OptionalFloat { property in ProtobufTestMessages.Proto3.TestAllTypesProto3
2307 …obufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OptionalFloat, other.OptionalFloat)) re… in Equals()
2466 …if (OptionalFloat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetH… in GetHashCode()
2666 if (OptionalFloat != 0F) { in WriteTo()
2668 output.WriteFloat(OptionalFloat); in WriteTo()
3019 if (OptionalFloat != 0F) { in IBufferMessage.InternalWriteTo()
3021 output.WriteFloat(OptionalFloat); in IBufferMessage.InternalWriteTo()
3362 if (OptionalFloat != 0F) { in CalculateSize()
3659 if (other.OptionalFloat != 0F) { in MergeFrom()
3660 OptionalFloat = other.OptionalFloat; in MergeFrom()
[all …]
/external/golang-protobuf/internal/testprotos/nullable/
Dnullable.go20OptionalFloat float32 `protobuf:"fixed32,105,opt,name=optional_fl… member
127OptionalFloat float32 `protobuf:"fixed32,105,opt,name=optional_fl… member
/external/golang-protobuf/cmd/protoc-gen-go/testdata/proto3/
Dfields.pb.go75OptionalFloat float32 `protobuf:"fixed32,11,opt,name=optional_floa… member
208 return x.OptionalFloat
/external/golang-protobuf/internal/cmd/generate-corpus/
Dmain.go39 OptionalFloat: proto.Float32(1011.5),
/external/golang-protobuf/internal/testprotos/test3/
Dtest.pb.go157OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optio… member
470 if x != nil && x.OptionalFloat != nil {
471 return *x.OptionalFloat
/external/golang-protobuf/testing/protocmp/
Dreflect_test.go26 OptionalFloat: proto.Float32(32.32),
Dxform_test.go35 OptionalFloat: proto.Float32(32.32),
/external/golang-protobuf/cmd/protoc-gen-go/testdata/proto2/
Dfields.pb.go89OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_f… member
324 if x != nil && x.OptionalFloat != nil {
325 return *x.OptionalFloat
/external/protobuf/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs111 OptionalFloat = 12.25f, in CreateFullTestAllTypesProto2()
DJsonParserTest.cs1081 message.OptionalFloat = 1; in ParseAllNullValues()
1121 Assert.AreEqual(0, message.OptionalFloat); in ParseAllNullValues()
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs111 OptionalFloat = 12.25f, in CreateFullTestAllTypesProto2()
DJsonParserTest.cs1081 message.OptionalFloat = 1; in ParseAllNullValues()
1121 Assert.AreEqual(0, message.OptionalFloat); in ParseAllNullValues()
/external/golang-protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e/
Dtest.pb.go150OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=o… member
329 return m.OptionalFloat
/external/golang-protobuf/internal/testprotos/conformance/
Dtest_messages_proto2.pb.go251OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_f… member
512 if x != nil && x.OptionalFloat != nil {
513 return *x.OptionalFloat
Dtest_messages_proto3.pb.go284OptionalFloat float32 `protobuf:"fixed32,11,opt,name=optional_f… member
541 return x.OptionalFloat
/external/golang-protobuf/internal/msgfmt/
Dformat_test.go40 OptionalFloat: proto.Float32(32.32),
/external/golang-protobuf/internal/testprotos/legacy/proto3_20180125_92554152/
Dtest.pb.go128OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=o… member
383 return m.OptionalFloat
/external/golang-protobuf/internal/testprotos/legacy/proto3_20180430_b4deda09/
Dtest.pb.go142OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=o… member
421 return m.OptionalFloat
/external/golang-protobuf/internal/testprotos/legacy/proto3_20180814_aa810b61/
Dtest.pb.go142OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=o… member
320 return m.OptionalFloat
/external/golang-protobuf/internal/impl/
Dlegacy_aberrant_test.go35 OptionalFloat *float32 `protobuf:"fixed32,10,opt,name=opt_float,def=3.14159"` member

12