Home
last modified time | relevance | path

Searched refs:BitwiseSingleEqualityComparer (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/Collections/
DProtobufEqualityComparers.cs53 … : typeof(T) == typeof(float) ? (EqualityComparer<T>) (object) BitwiseSingleEqualityComparer in GetEqualityComparer()
69 …public static EqualityComparer<float> BitwiseSingleEqualityComparer { get; } = new BitwiseSingleEq… property in Google.Protobuf.Collections.ProtobufEqualityComparers
122 : BitwiseSingleEqualityComparer.Equals(x.Value, y.Value); in Equals()
127 obj == null ? 293864 : BitwiseSingleEqualityComparer.GetHashCode(obj.Value); in GetHashCode()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DProtobufEqualityComparersTest.cs71 Assert.AreSame(BitwiseSingleEqualityComparer, GetEqualityComparer<float>()); in GetEqualityComparer_NotDefault()
91 ValidateEqualityComparer(BitwiseSingleEqualityComparer, doubles.Select(d => (float) d)); in SingleComparisons()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DWrappers.cs258 …if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Value, other.Value)) retu… in Equals()
265 …if (Value != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(… in GetHashCode()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DTestMessagesProto3.cs1774 …if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OptionalFloat, other.Opti… in Equals()
1833 …if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OneofFloat, other.OneofFl… in Equals()
1902 …if (OptionalFloat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetH… in GetHashCode()
1961 …dOneofCase.OneofFloat) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHas… in GetHashCode()
DUnittestProto3.cs911 …if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SingleFloat, other.Single… in Equals()
966 …if (SingleFloat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHas… in GetHashCode()
3631 …if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MyFloat, other.MyFloat)) … in Equals()
3641 …if (MyFloat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCod… in GetHashCode()