Home
last modified time | relevance | path

Searched refs:DoubleField (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs51 Assert.IsNull(message.DoubleField); in NullIsDefault()
67 DoubleField = 12.25d, in NonDefaultSingleValues()
81 Assert.AreEqual(12.25d, parsed.DoubleField); in NonDefaultSingleValues()
97 DoubleField = 0d, in NonNullDefaultIsPreservedThroughSerialization()
111 Assert.AreEqual(0d, parsed.DoubleField); in NonNullDefaultIsPreservedThroughSerialization()
135 DoubleField = { 12.5, -1.5, 0d }, in RepeatedWrappersSerializeDeserialize()
188 DoubleField = { { 1, 12.5 }, { 10, -1.5 }, { 20, 0d } }, in MapWrappersSerializeDeserialize()
214 DoubleField = 12.25d, in Reflection_SingleValues()
275 message.DoubleField = 0.0f; in Oneof()
276 … Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.DoubleField, message.OneofFieldCase); in Oneof()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestWellKnownTypes.cs210 DoubleField = other.DoubleField; in TestWellKnownTypes()
320 public double? DoubleField { property in Google.Protobuf.TestProtos.TestWellKnownTypes
448 if (DoubleField != other.DoubleField) return false; in Equals()
472 if (doubleField_ != null) hash ^= DoubleField.GetHashCode(); in GetHashCode()
527 _single_doubleField_codec.WriteTagAndValue(output, DoubleField); in WriteTo()
589 size += _single_doubleField_codec.CalculateSizeWithTag(DoubleField); in CalculateSize()
680 if (doubleField_ == null || other.DoubleField != 0D) { in MergeFrom()
681 DoubleField = other.DoubleField; in MergeFrom()
805 DoubleField = value; in MergeFrom()
1014 public pbc::RepeatedField<double?> DoubleField { property in Google.Protobuf.TestProtos.RepeatedWellKnownTypes
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs97 DoubleField = 0d, in SingularWrappers_DefaultNonNullValues()
115 DoubleField = 12.25d, in SingularWrappers_NonDefaultValues()
180 DoubleField = { 12.5, -1.5, 0d }, in RepeatedWrappers()