Home
last modified time | relevance | path

Searched refs:GetHashCode (Results 1 – 25 of 174) sorted by relevance

1234567

/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
DProtobufEqualityComparers.cs88 public override int GetHashCode(double obj) => in GetHashCode() method in Google.Protobuf.Collections.ProtobufEqualityComparers.BitwiseDoubleEqualityComparerImpl
89 BitConverter.DoubleToInt64Bits(obj).GetHashCode(); in GetHashCode()
100 public override int GetHashCode(float obj) => in GetHashCode() method in Google.Protobuf.Collections.ProtobufEqualityComparers.BitwiseSingleEqualityComparerImpl
101 BitConverter.DoubleToInt64Bits(obj).GetHashCode(); in GetHashCode()
113 public override int GetHashCode(double? obj) => in GetHashCode() method in Google.Protobuf.Collections.ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparerImpl
114 obj == null ? 293864 : BitwiseDoubleEqualityComparer.GetHashCode(obj.Value); in GetHashCode()
126 public override int GetHashCode(float? obj) => in GetHashCode() method in Google.Protobuf.Collections.ProtobufEqualityComparers.BitwiseNullableSingleEqualityComparerImpl
127 obj == null ? 293864 : BitwiseSingleEqualityComparer.GetHashCode(obj.Value); in GetHashCode()
/external/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
DProtobufEqualityComparers.cs88 public override int GetHashCode(double obj) => in GetHashCode() method in Google.Protobuf.Collections.ProtobufEqualityComparers.BitwiseDoubleEqualityComparerImpl
89 BitConverter.DoubleToInt64Bits(obj).GetHashCode(); in GetHashCode()
100 public override int GetHashCode(float obj) => in GetHashCode() method in Google.Protobuf.Collections.ProtobufEqualityComparers.BitwiseSingleEqualityComparerImpl
101 BitConverter.DoubleToInt64Bits(obj).GetHashCode(); in GetHashCode()
113 public override int GetHashCode(double? obj) => in GetHashCode() method in Google.Protobuf.Collections.ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparerImpl
114 obj == null ? 293864 : BitwiseDoubleEqualityComparer.GetHashCode(obj.Value); in GetHashCode()
126 public override int GetHashCode(float? obj) => in GetHashCode() method in Google.Protobuf.Collections.ProtobufEqualityComparers.BitwiseNullableSingleEqualityComparerImpl
127 obj == null ? 293864 : BitwiseSingleEqualityComparer.GetHashCode(obj.Value); in GetHashCode()
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DProtobufEqualityComparers.cs88 public override int GetHashCode(double obj) => in GetHashCode() method in Google.Protobuf.Collections.ProtobufEqualityComparers.BitwiseDoubleEqualityComparerImpl
89 BitConverter.DoubleToInt64Bits(obj).GetHashCode(); in GetHashCode()
100 public override int GetHashCode(float obj) => in GetHashCode() method in Google.Protobuf.Collections.ProtobufEqualityComparers.BitwiseSingleEqualityComparerImpl
101 BitConverter.DoubleToInt64Bits(obj).GetHashCode(); in GetHashCode()
113 public override int GetHashCode(double? obj) => in GetHashCode() method in Google.Protobuf.Collections.ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparerImpl
114 obj == null ? 293864 : BitwiseDoubleEqualityComparer.GetHashCode(obj.Value); in GetHashCode()
126 public override int GetHashCode(float? obj) => in GetHashCode() method in Google.Protobuf.Collections.ProtobufEqualityComparers.BitwiseNullableSingleEqualityComparerImpl
127 obj == null ? 293864 : BitwiseSingleEqualityComparer.GetHashCode(obj.Value); in GetHashCode()
/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DBenchmarkMessage1Proto3.cs703 public override int GetHashCode() { in GetHashCode() method in Benchmarks.Proto3.GoogleMessage1
705 if (Field1.Length != 0) hash ^= Field1.GetHashCode(); in GetHashCode()
706 if (Field9.Length != 0) hash ^= Field9.GetHashCode(); in GetHashCode()
707 if (Field18.Length != 0) hash ^= Field18.GetHashCode(); in GetHashCode()
708 if (Field80 != false) hash ^= Field80.GetHashCode(); in GetHashCode()
709 if (Field81 != false) hash ^= Field81.GetHashCode(); in GetHashCode()
710 if (Field2 != 0) hash ^= Field2.GetHashCode(); in GetHashCode()
711 if (Field3 != 0) hash ^= Field3.GetHashCode(); in GetHashCode()
712 if (Field280 != 0) hash ^= Field280.GetHashCode(); in GetHashCode()
713 if (Field6 != 0) hash ^= Field6.GetHashCode(); in GetHashCode()
[all …]
DWrapperBenchmarkMessages.cs2070 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.Benchmarks.ManyWrapperFieldsMessage
2072 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField95); in GetHashCode()
2073 … ^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField1); in GetHashCode()
2074 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField79); in GetHashCode()
2075 if (int64Field2_ != null) hash ^= Int64Field2.GetHashCode(); in GetHashCode()
2076 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField96); in GetHashCode()
2077 if (int64Field3_ != null) hash ^= Int64Field3.GetHashCode(); in GetHashCode()
2078 if (int64Field4_ != null) hash ^= Int64Field4.GetHashCode(); in GetHashCode()
2079 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField97); in GetHashCode()
2080 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField65); in GetHashCode()
[all …]
/external/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DBenchmarkMessage1Proto3.cs703 public override int GetHashCode() { in GetHashCode() method in Benchmarks.Proto3.GoogleMessage1
705 if (Field1.Length != 0) hash ^= Field1.GetHashCode(); in GetHashCode()
706 if (Field9.Length != 0) hash ^= Field9.GetHashCode(); in GetHashCode()
707 if (Field18.Length != 0) hash ^= Field18.GetHashCode(); in GetHashCode()
708 if (Field80 != false) hash ^= Field80.GetHashCode(); in GetHashCode()
709 if (Field81 != false) hash ^= Field81.GetHashCode(); in GetHashCode()
710 if (Field2 != 0) hash ^= Field2.GetHashCode(); in GetHashCode()
711 if (Field3 != 0) hash ^= Field3.GetHashCode(); in GetHashCode()
712 if (Field280 != 0) hash ^= Field280.GetHashCode(); in GetHashCode()
713 if (Field6 != 0) hash ^= Field6.GetHashCode(); in GetHashCode()
[all …]
DWrapperBenchmarkMessages.cs2070 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.Benchmarks.ManyWrapperFieldsMessage
2072 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField95); in GetHashCode()
2073 … ^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField1); in GetHashCode()
2074 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField79); in GetHashCode()
2075 if (int64Field2_ != null) hash ^= Int64Field2.GetHashCode(); in GetHashCode()
2076 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField96); in GetHashCode()
2077 if (int64Field3_ != null) hash ^= Int64Field3.GetHashCode(); in GetHashCode()
2078 if (int64Field4_ != null) hash ^= Int64Field4.GetHashCode(); in GetHashCode()
2079 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField97); in GetHashCode()
2080 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField65); in GetHashCode()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DBenchmarkMessage1Proto3.cs703 public override int GetHashCode() { in GetHashCode() method in Benchmarks.Proto3.GoogleMessage1
705 if (Field1.Length != 0) hash ^= Field1.GetHashCode(); in GetHashCode()
706 if (Field9.Length != 0) hash ^= Field9.GetHashCode(); in GetHashCode()
707 if (Field18.Length != 0) hash ^= Field18.GetHashCode(); in GetHashCode()
708 if (Field80 != false) hash ^= Field80.GetHashCode(); in GetHashCode()
709 if (Field81 != false) hash ^= Field81.GetHashCode(); in GetHashCode()
710 if (Field2 != 0) hash ^= Field2.GetHashCode(); in GetHashCode()
711 if (Field3 != 0) hash ^= Field3.GetHashCode(); in GetHashCode()
712 if (Field280 != 0) hash ^= Field280.GetHashCode(); in GetHashCode()
713 if (Field6 != 0) hash ^= Field6.GetHashCode(); in GetHashCode()
[all …]
DWrapperBenchmarkMessages.cs2070 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.Benchmarks.ManyWrapperFieldsMessage
2072 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField95); in GetHashCode()
2073 … ^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField1); in GetHashCode()
2074 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField79); in GetHashCode()
2075 if (int64Field2_ != null) hash ^= Int64Field2.GetHashCode(); in GetHashCode()
2076 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField96); in GetHashCode()
2077 if (int64Field3_ != null) hash ^= Int64Field3.GetHashCode(); in GetHashCode()
2078 if (int64Field4_ != null) hash ^= Int64Field4.GetHashCode(); in GetHashCode()
2079 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField97); in GetHashCode()
2080 …^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(DoubleField65); in GetHashCode()
[all …]
/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DTestMessagesProto3.cs2454 public override int GetHashCode() { in GetHashCode() method in ProtobufTestMessages.Proto3.TestAllTypesProto3
2456 if (OptionalInt32 != 0) hash ^= OptionalInt32.GetHashCode(); in GetHashCode()
2457 if (OptionalInt64 != 0L) hash ^= OptionalInt64.GetHashCode(); in GetHashCode()
2458 if (OptionalUint32 != 0) hash ^= OptionalUint32.GetHashCode(); in GetHashCode()
2459 if (OptionalUint64 != 0UL) hash ^= OptionalUint64.GetHashCode(); in GetHashCode()
2460 if (OptionalSint32 != 0) hash ^= OptionalSint32.GetHashCode(); in GetHashCode()
2461 if (OptionalSint64 != 0L) hash ^= OptionalSint64.GetHashCode(); in GetHashCode()
2462 if (OptionalFixed32 != 0) hash ^= OptionalFixed32.GetHashCode(); in GetHashCode()
2463 if (OptionalFixed64 != 0UL) hash ^= OptionalFixed64.GetHashCode(); in GetHashCode()
2464 if (OptionalSfixed32 != 0) hash ^= OptionalSfixed32.GetHashCode(); in GetHashCode()
[all …]
DTestMessagesProto2.cs3102 public override int GetHashCode() { in GetHashCode() method in ProtobufTestMessages.Proto2.TestAllTypesProto2
3104 if (HasOptionalInt32) hash ^= OptionalInt32.GetHashCode(); in GetHashCode()
3105 if (HasOptionalInt64) hash ^= OptionalInt64.GetHashCode(); in GetHashCode()
3106 if (HasOptionalUint32) hash ^= OptionalUint32.GetHashCode(); in GetHashCode()
3107 if (HasOptionalUint64) hash ^= OptionalUint64.GetHashCode(); in GetHashCode()
3108 if (HasOptionalSint32) hash ^= OptionalSint32.GetHashCode(); in GetHashCode()
3109 if (HasOptionalSint64) hash ^= OptionalSint64.GetHashCode(); in GetHashCode()
3110 if (HasOptionalFixed32) hash ^= OptionalFixed32.GetHashCode(); in GetHashCode()
3111 if (HasOptionalFixed64) hash ^= OptionalFixed64.GetHashCode(); in GetHashCode()
3112 if (HasOptionalSfixed32) hash ^= OptionalSfixed32.GetHashCode(); in GetHashCode()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DTestMessagesProto3.cs2454 public override int GetHashCode() { in GetHashCode() method in ProtobufTestMessages.Proto3.TestAllTypesProto3
2456 if (OptionalInt32 != 0) hash ^= OptionalInt32.GetHashCode(); in GetHashCode()
2457 if (OptionalInt64 != 0L) hash ^= OptionalInt64.GetHashCode(); in GetHashCode()
2458 if (OptionalUint32 != 0) hash ^= OptionalUint32.GetHashCode(); in GetHashCode()
2459 if (OptionalUint64 != 0UL) hash ^= OptionalUint64.GetHashCode(); in GetHashCode()
2460 if (OptionalSint32 != 0) hash ^= OptionalSint32.GetHashCode(); in GetHashCode()
2461 if (OptionalSint64 != 0L) hash ^= OptionalSint64.GetHashCode(); in GetHashCode()
2462 if (OptionalFixed32 != 0) hash ^= OptionalFixed32.GetHashCode(); in GetHashCode()
2463 if (OptionalFixed64 != 0UL) hash ^= OptionalFixed64.GetHashCode(); in GetHashCode()
2464 if (OptionalSfixed32 != 0) hash ^= OptionalSfixed32.GetHashCode(); in GetHashCode()
[all …]
DTestMessagesProto2.cs3102 public override int GetHashCode() { in GetHashCode() method in ProtobufTestMessages.Proto2.TestAllTypesProto2
3104 if (HasOptionalInt32) hash ^= OptionalInt32.GetHashCode(); in GetHashCode()
3105 if (HasOptionalInt64) hash ^= OptionalInt64.GetHashCode(); in GetHashCode()
3106 if (HasOptionalUint32) hash ^= OptionalUint32.GetHashCode(); in GetHashCode()
3107 if (HasOptionalUint64) hash ^= OptionalUint64.GetHashCode(); in GetHashCode()
3108 if (HasOptionalSint32) hash ^= OptionalSint32.GetHashCode(); in GetHashCode()
3109 if (HasOptionalSint64) hash ^= OptionalSint64.GetHashCode(); in GetHashCode()
3110 if (HasOptionalFixed32) hash ^= OptionalFixed32.GetHashCode(); in GetHashCode()
3111 if (HasOptionalFixed64) hash ^= OptionalFixed64.GetHashCode(); in GetHashCode()
3112 if (HasOptionalSfixed32) hash ^= OptionalSfixed32.GetHashCode(); in GetHashCode()
[all …]
DUnittestWellKnownTypes.cs532 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.TestProtos.TestWellKnownTypes
534 if (anyField_ != null) hash ^= AnyField.GetHashCode(); in GetHashCode()
535 if (apiField_ != null) hash ^= ApiField.GetHashCode(); in GetHashCode()
536 if (durationField_ != null) hash ^= DurationField.GetHashCode(); in GetHashCode()
537 if (emptyField_ != null) hash ^= EmptyField.GetHashCode(); in GetHashCode()
538 if (fieldMaskField_ != null) hash ^= FieldMaskField.GetHashCode(); in GetHashCode()
539 if (sourceContextField_ != null) hash ^= SourceContextField.GetHashCode(); in GetHashCode()
540 if (structField_ != null) hash ^= StructField.GetHashCode(); in GetHashCode()
541 if (timestampField_ != null) hash ^= TimestampField.GetHashCode(); in GetHashCode()
542 if (typeField_ != null) hash ^= TypeField.GetHashCode(); in GetHashCode()
[all …]
/external/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DTestMessagesProto3.cs2454 public override int GetHashCode() { in GetHashCode() method in ProtobufTestMessages.Proto3.TestAllTypesProto3
2456 if (OptionalInt32 != 0) hash ^= OptionalInt32.GetHashCode(); in GetHashCode()
2457 if (OptionalInt64 != 0L) hash ^= OptionalInt64.GetHashCode(); in GetHashCode()
2458 if (OptionalUint32 != 0) hash ^= OptionalUint32.GetHashCode(); in GetHashCode()
2459 if (OptionalUint64 != 0UL) hash ^= OptionalUint64.GetHashCode(); in GetHashCode()
2460 if (OptionalSint32 != 0) hash ^= OptionalSint32.GetHashCode(); in GetHashCode()
2461 if (OptionalSint64 != 0L) hash ^= OptionalSint64.GetHashCode(); in GetHashCode()
2462 if (OptionalFixed32 != 0) hash ^= OptionalFixed32.GetHashCode(); in GetHashCode()
2463 if (OptionalFixed64 != 0UL) hash ^= OptionalFixed64.GetHashCode(); in GetHashCode()
2464 if (OptionalSfixed32 != 0) hash ^= OptionalSfixed32.GetHashCode(); in GetHashCode()
[all …]
DTestMessagesProto2.cs3102 public override int GetHashCode() { in GetHashCode() method in ProtobufTestMessages.Proto2.TestAllTypesProto2
3104 if (HasOptionalInt32) hash ^= OptionalInt32.GetHashCode(); in GetHashCode()
3105 if (HasOptionalInt64) hash ^= OptionalInt64.GetHashCode(); in GetHashCode()
3106 if (HasOptionalUint32) hash ^= OptionalUint32.GetHashCode(); in GetHashCode()
3107 if (HasOptionalUint64) hash ^= OptionalUint64.GetHashCode(); in GetHashCode()
3108 if (HasOptionalSint32) hash ^= OptionalSint32.GetHashCode(); in GetHashCode()
3109 if (HasOptionalSint64) hash ^= OptionalSint64.GetHashCode(); in GetHashCode()
3110 if (HasOptionalFixed32) hash ^= OptionalFixed32.GetHashCode(); in GetHashCode()
3111 if (HasOptionalFixed64) hash ^= OptionalFixed64.GetHashCode(); in GetHashCode()
3112 if (HasOptionalSfixed32) hash ^= OptionalSfixed32.GetHashCode(); in GetHashCode()
[all …]
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DEqualityTester.cs49 Assert.AreEqual(first.GetHashCode(), second.GetHashCode());
60 Assert.AreNotEqual(first.GetHashCode(), second.GetHashCode());
/external/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DEqualityTester.cs49 Assert.AreEqual(first.GetHashCode(), second.GetHashCode());
61 Assert.AreNotEqual(first.GetHashCode(), second.GetHashCode());
/external/protobuf/csharp/src/Google.Protobuf.Test/
DEqualityTester.cs49 Assert.AreEqual(first.GetHashCode(), second.GetHashCode());
61 Assert.AreNotEqual(first.GetHashCode(), second.GetHashCode());
/external/cronet/stable/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DEqualityTester.cs49 Assert.AreEqual(first.GetHashCode(), second.GetHashCode());
60 Assert.AreNotEqual(first.GetHashCode(), second.GetHashCode());
/external/cronet/tot/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DEqualityTester.cs49 Assert.AreEqual(first.GetHashCode(), second.GetHashCode());
60 Assert.AreNotEqual(first.GetHashCode(), second.GetHashCode());
/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DEqualityTester.cs49 Assert.AreEqual(first.GetHashCode(), second.GetHashCode());
61 Assert.AreNotEqual(first.GetHashCode(), second.GetHashCode());
/external/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf/
DExtensionValue.cs85 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.ExtensionValue
90 hash = hash * 31 + field.GetHashCode(); in GetHashCode()
91 hash = hash * 31 + codec.GetHashCode(); in GetHashCode()
176 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.RepeatedExtensionValue
181 hash = hash * 31 + field.GetHashCode(); in GetHashCode()
182 hash = hash * 31 + codec.GetHashCode(); in GetHashCode()
/external/protobuf/csharp/src/Google.Protobuf/
DExtensionValue.cs85 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.ExtensionValue
90 hash = hash * 31 + field.GetHashCode(); in GetHashCode()
91 hash = hash * 31 + codec.GetHashCode(); in GetHashCode()
176 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.RepeatedExtensionValue
181 hash = hash * 31 + field.GetHashCode(); in GetHashCode()
182 hash = hash * 31 + codec.GetHashCode(); in GetHashCode()
/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf/
DExtensionValue.cs85 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.ExtensionValue
90 hash = hash * 31 + field.GetHashCode(); in GetHashCode()
91 hash = hash * 31 + codec.GetHashCode(); in GetHashCode()
176 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.RepeatedExtensionValue
181 hash = hash * 31 + field.GetHashCode(); in GetHashCode()
182 hash = hash * 31 + codec.GetHashCode(); in GetHashCode()

1234567