Home
last modified time | relevance | path

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

123

/external/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DBenchmarkMessage1Proto3.cs649 public override int GetHashCode() { in GetHashCode() method in Benchmarks.Proto3.GoogleMessage1
651 if (Field1.Length != 0) hash ^= Field1.GetHashCode(); in GetHashCode()
652 if (Field9.Length != 0) hash ^= Field9.GetHashCode(); in GetHashCode()
653 if (Field18.Length != 0) hash ^= Field18.GetHashCode(); in GetHashCode()
654 if (Field80 != false) hash ^= Field80.GetHashCode(); in GetHashCode()
655 if (Field81 != false) hash ^= Field81.GetHashCode(); in GetHashCode()
656 if (Field2 != 0) hash ^= Field2.GetHashCode(); in GetHashCode()
657 if (Field3 != 0) hash ^= Field3.GetHashCode(); in GetHashCode()
658 if (Field280 != 0) hash ^= Field280.GetHashCode(); in GetHashCode()
659 if (Field6 != 0) hash ^= Field6.GetHashCode(); in GetHashCode()
[all …]
/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/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DTestMessagesProto3.cs1890 public override int GetHashCode() { in GetHashCode() method in ProtobufTestMessages.Proto3.TestAllTypesProto3
1892 if (OptionalInt32 != 0) hash ^= OptionalInt32.GetHashCode(); in GetHashCode()
1893 if (OptionalInt64 != 0L) hash ^= OptionalInt64.GetHashCode(); in GetHashCode()
1894 if (OptionalUint32 != 0) hash ^= OptionalUint32.GetHashCode(); in GetHashCode()
1895 if (OptionalUint64 != 0UL) hash ^= OptionalUint64.GetHashCode(); in GetHashCode()
1896 if (OptionalSint32 != 0) hash ^= OptionalSint32.GetHashCode(); in GetHashCode()
1897 if (OptionalSint64 != 0L) hash ^= OptionalSint64.GetHashCode(); in GetHashCode()
1898 if (OptionalFixed32 != 0) hash ^= OptionalFixed32.GetHashCode(); in GetHashCode()
1899 if (OptionalFixed64 != 0UL) hash ^= OptionalFixed64.GetHashCode(); in GetHashCode()
1900 if (OptionalSfixed32 != 0) hash ^= OptionalSfixed32.GetHashCode(); in GetHashCode()
[all …]
DUnittestProto3.cs954 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.TestProtos.TestAllTypes
956 if (SingleInt32 != 0) hash ^= SingleInt32.GetHashCode(); in GetHashCode()
957 if (SingleInt64 != 0L) hash ^= SingleInt64.GetHashCode(); in GetHashCode()
958 if (SingleUint32 != 0) hash ^= SingleUint32.GetHashCode(); in GetHashCode()
959 if (SingleUint64 != 0UL) hash ^= SingleUint64.GetHashCode(); in GetHashCode()
960 if (SingleSint32 != 0) hash ^= SingleSint32.GetHashCode(); in GetHashCode()
961 if (SingleSint64 != 0L) hash ^= SingleSint64.GetHashCode(); in GetHashCode()
962 if (SingleFixed32 != 0) hash ^= SingleFixed32.GetHashCode(); in GetHashCode()
963 if (SingleFixed64 != 0UL) hash ^= SingleFixed64.GetHashCode(); in GetHashCode()
964 if (SingleSfixed32 != 0) hash ^= SingleSfixed32.GetHashCode(); in GetHashCode()
[all …]
DUnittestWellKnownTypes.cs500 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.TestProtos.TestWellKnownTypes
502 if (anyField_ != null) hash ^= AnyField.GetHashCode(); in GetHashCode()
503 if (apiField_ != null) hash ^= ApiField.GetHashCode(); in GetHashCode()
504 if (durationField_ != null) hash ^= DurationField.GetHashCode(); in GetHashCode()
505 if (emptyField_ != null) hash ^= EmptyField.GetHashCode(); in GetHashCode()
506 if (fieldMaskField_ != null) hash ^= FieldMaskField.GetHashCode(); in GetHashCode()
507 if (sourceContextField_ != null) hash ^= SourceContextField.GetHashCode(); in GetHashCode()
508 if (structField_ != null) hash ^= StructField.GetHashCode(); in GetHashCode()
509 if (timestampField_ != null) hash ^= TimestampField.GetHashCode(); in GetHashCode()
510 if (typeField_ != null) hash ^= TypeField.GetHashCode(); in GetHashCode()
[all …]
DMapUnittestProto3.cs433 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.TestProtos.TestMap
435 hash ^= MapInt32Int32.GetHashCode(); in GetHashCode()
436 hash ^= MapInt64Int64.GetHashCode(); in GetHashCode()
437 hash ^= MapUint32Uint32.GetHashCode(); in GetHashCode()
438 hash ^= MapUint64Uint64.GetHashCode(); in GetHashCode()
439 hash ^= MapSint32Sint32.GetHashCode(); in GetHashCode()
440 hash ^= MapSint64Sint64.GetHashCode(); in GetHashCode()
441 hash ^= MapFixed32Fixed32.GetHashCode(); in GetHashCode()
442 hash ^= MapFixed64Fixed64.GetHashCode(); in GetHashCode()
443 hash ^= MapSfixed32Sfixed32.GetHashCode(); in GetHashCode()
[all …]
DUnittestIssues.cs141 public override int GetHashCode() { in GetHashCode() method in UnitTest.Issues.TestProtos.Issue307
144 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
244 public override int GetHashCode() { in GetHashCode() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce
247 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
347 public override int GetHashCode() { in GetHashCode() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce.Types.NestedTwice
350 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
495 public override int GetHashCode() { in GetHashCode() method in UnitTest.Issues.TestProtos.NegativeEnumMessage
497 … if (Value != global::UnitTest.Issues.TestProtos.NegativeEnum.Zero) hash ^= Value.GetHashCode(); in GetHashCode()
498 hash ^= values_.GetHashCode(); in GetHashCode()
499 hash ^= packedValues_.GetHashCode(); in GetHashCode()
[all …]
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DEchoMessages.cs141 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.DebugInfo
143 hash ^= stackEntries_.GetHashCode(); in GetHashCode()
144 if (Detail.Length != 0) hash ^= Detail.GetHashCode(); in GetHashCode()
146 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
307 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.ErrorStatus
309 if (Code != 0) hash ^= Code.GetHashCode(); in GetHashCode()
310 if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode(); in GetHashCode()
311 if (BinaryErrorDetails.Length != 0) hash ^= BinaryErrorDetails.GetHashCode(); in GetHashCode()
313 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
673 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.RequestParams
[all …]
DControl.cs236 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.PoissonParams
238 … 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(OfferedLoad); in GetHashCode()
240 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
356 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.ClosedLoopParams
359 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
510 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.LoadParams
512 if (loadCase_ == LoadOneofCase.ClosedLoop) hash ^= ClosedLoop.GetHashCode(); in GetHashCode()
513 if (loadCase_ == LoadOneofCase.Poisson) hash ^= Poisson.GetHashCode(); in GetHashCode()
516 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
703 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.SecurityParams
[all …]
DStats.cs221 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.ServerStats
223 … 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeElapsed); in GetHashCode()
224 … != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeUser); in GetHashCode()
225 …= 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeSystem); in GetHashCode()
226 if (TotalCpuTime != 0UL) hash ^= TotalCpuTime.GetHashCode(); in GetHashCode()
227 if (IdleCpuTime != 0UL) hash ^= IdleCpuTime.GetHashCode(); in GetHashCode()
228 if (CqPollCount != 0UL) hash ^= CqPollCount.GetHashCode(); in GetHashCode()
229 if (coreStats_ != null) hash ^= CoreStats.GetHashCode(); in GetHashCode()
231 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
468 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.HistogramParams
[all …]
DMessages.cs163 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.BoolValue
165 if (Value != false) hash ^= Value.GetHashCode(); in GetHashCode()
167 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
314 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.Payload
316 if (Type != 0) hash ^= Type.GetHashCode(); in GetHashCode()
317 if (Body.Length != 0) hash ^= Body.GetHashCode(); in GetHashCode()
319 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
475 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.EchoStatus
477 if (Code != 0) hash ^= Code.GetHashCode(); in GetHashCode()
478 if (Message.Length != 0) hash ^= Message.GetHashCode(); in GetHashCode()
[all …]
DPayloads.cs125 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.ByteBufferParams
127 if (ReqSize != 0) hash ^= ReqSize.GetHashCode(); in GetHashCode()
128 if (RespSize != 0) hash ^= RespSize.GetHashCode(); in GetHashCode()
130 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
282 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.SimpleProtoParams
284 if (ReqSize != 0) hash ^= ReqSize.GetHashCode(); in GetHashCode()
285 if (RespSize != 0) hash ^= RespSize.GetHashCode(); in GetHashCode()
287 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
417 public override int GetHashCode() { in GetHashCode() method in Grpc.Testing.ComplexProtoParams
420 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DExtensionValue.cs88 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.ExtensionValue
93 hash = hash * 31 + hasValue.GetHashCode(); in GetHashCode()
94 hash = hash * 31 + field.GetHashCode(); in GetHashCode()
95 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()
DUnknownField.cs88 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.UnknownField
91 hash = hash * 47 + Lists.GetHashCode(varintList); in GetHashCode()
92 hash = hash * 47 + Lists.GetHashCode(fixed32List); in GetHashCode()
93 hash = hash * 47 + Lists.GetHashCode(fixed64List); in GetHashCode()
94 hash = hash * 47 + Lists.GetHashCode(lengthDelimitedList); in GetHashCode()
95 hash = hash * 47 + Lists.GetHashCode(groupList); in GetHashCode()
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuide/
DRouteGuide.cs139 public override int GetHashCode() { in GetHashCode() method in Routeguide.Point
141 if (Latitude != 0) hash ^= Latitude.GetHashCode(); in GetHashCode()
142 if (Longitude != 0) hash ^= Longitude.GetHashCode(); in GetHashCode()
144 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
306 public override int GetHashCode() { in GetHashCode() method in Routeguide.Rectangle
308 if (lo_ != null) hash ^= Lo.GetHashCode(); in GetHashCode()
309 if (hi_ != null) hash ^= Hi.GetHashCode(); in GetHashCode()
311 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
486 public override int GetHashCode() { in GetHashCode() method in Routeguide.Feature
488 if (Name.Length != 0) hash ^= Name.GetHashCode(); in GetHashCode()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs240 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Type
242 if (Name.Length != 0) hash ^= Name.GetHashCode(); in GetHashCode()
243 hash ^= fields_.GetHashCode(); in GetHashCode()
244 hash ^= oneofs_.GetHashCode(); in GetHashCode()
245 hash ^= options_.GetHashCode(); in GetHashCode()
246 if (sourceContext_ != null) hash ^= SourceContext.GetHashCode(); in GetHashCode()
247 … if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) hash ^= Syntax.GetHashCode(); in GetHashCode()
249 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
580 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Field
582 …!= global::Google.Protobuf.WellKnownTypes.Field.Types.Kind.TypeUnknown) hash ^= Kind.GetHashCode(); in GetHashCode()
[all …]
DApi.cs246 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Api
248 if (Name.Length != 0) hash ^= Name.GetHashCode(); in GetHashCode()
249 hash ^= methods_.GetHashCode(); in GetHashCode()
250 hash ^= options_.GetHashCode(); in GetHashCode()
251 if (Version.Length != 0) hash ^= Version.GetHashCode(); in GetHashCode()
252 if (sourceContext_ != null) hash ^= SourceContext.GetHashCode(); in GetHashCode()
253 hash ^= mixins_.GetHashCode(); in GetHashCode()
254 … if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) hash ^= Syntax.GetHashCode(); in GetHashCode()
256 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
551 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Method
[all …]
DWrappers.cs126 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.DoubleValue
128 …lue != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Value); in GetHashCode()
130 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
263 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.FloatValue
265 …lue != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Value); in GetHashCode()
267 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
400 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Int64Value
402 if (Value != 0L) hash ^= Value.GetHashCode(); in GetHashCode()
404 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
537 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.UInt64Value
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs258 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.Reflection.FileDescriptorSet
260 hash ^= file_.GetHashCode(); in GetHashCode()
262 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
604 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.Reflection.FileDescriptorProto
606 if (HasName) hash ^= Name.GetHashCode(); in GetHashCode()
607 if (HasPackage) hash ^= Package.GetHashCode(); in GetHashCode()
608 hash ^= dependency_.GetHashCode(); in GetHashCode()
609 hash ^= publicDependency_.GetHashCode(); in GetHashCode()
610 hash ^= weakDependency_.GetHashCode(); in GetHashCode()
611 hash ^= messageType_.GetHashCode(); in GetHashCode()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Examples/
DMath.cs126 public override int GetHashCode() { in GetHashCode() method in Math.DivArgs
128 if (Dividend != 0L) hash ^= Dividend.GetHashCode(); in GetHashCode()
129 if (Divisor != 0L) hash ^= Divisor.GetHashCode(); in GetHashCode()
131 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
283 public override int GetHashCode() { in GetHashCode() method in Math.DivReply
285 if (Quotient != 0L) hash ^= Quotient.GetHashCode(); in GetHashCode()
286 if (Remainder != 0L) hash ^= Remainder.GetHashCode(); in GetHashCode()
288 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
427 public override int GetHashCode() { in GetHashCode() method in Math.FibArgs
429 if (Limit != 0L) hash ^= Limit.GetHashCode(); in GetHashCode()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DEqualityTester.cs49 Assert.AreEqual(first.GetHashCode(), second.GetHashCode());
61 Assert.AreNotEqual(first.GetHashCode(), second.GetHashCode());
/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/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs172 public override int GetHashCode() { in GetHashCode() method in Conformance.FailureSet
174 hash ^= failure_.GetHashCode(); in GetHashCode()
176 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
461 public override int GetHashCode() { in GetHashCode() method in Conformance.ConformanceRequest
463 if (payloadCase_ == PayloadOneofCase.ProtobufPayload) hash ^= ProtobufPayload.GetHashCode(); in GetHashCode()
464 if (payloadCase_ == PayloadOneofCase.JsonPayload) hash ^= JsonPayload.GetHashCode(); in GetHashCode()
465 if (payloadCase_ == PayloadOneofCase.JspbPayload) hash ^= JspbPayload.GetHashCode(); in GetHashCode()
466 if (payloadCase_ == PayloadOneofCase.TextPayload) hash ^= TextPayload.GetHashCode(); in GetHashCode()
467 …tFormat != global::Conformance.WireFormat.Unspecified) hash ^= RequestedOutputFormat.GetHashCode(); in GetHashCode()
468 if (MessageType.Length != 0) hash ^= MessageType.GetHashCode(); in GetHashCode()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Reflection/
DReflection.cs267 public override int GetHashCode() { in GetHashCode() method in Grpc.Reflection.V1Alpha.ServerReflectionRequest
269 if (Host.Length != 0) hash ^= Host.GetHashCode(); in GetHashCode()
270 …essageRequestCase_ == MessageRequestOneofCase.FileByFilename) hash ^= FileByFilename.GetHashCode(); in GetHashCode()
271 …tCase_ == MessageRequestOneofCase.FileContainingSymbol) hash ^= FileContainingSymbol.GetHashCode(); in GetHashCode()
272 … == MessageRequestOneofCase.FileContainingExtension) hash ^= FileContainingExtension.GetHashCode(); in GetHashCode()
273 …MessageRequestOneofCase.AllExtensionNumbersOfType) hash ^= AllExtensionNumbersOfType.GetHashCode(); in GetHashCode()
274 …f (messageRequestCase_ == MessageRequestOneofCase.ListServices) hash ^= ListServices.GetHashCode(); in GetHashCode()
277 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
503 public override int GetHashCode() { in GetHashCode() method in Grpc.Reflection.V1Alpha.ExtensionRequest
505 if (ContainingType.Length != 0) hash ^= ContainingType.GetHashCode(); in GetHashCode()
[all …]
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/CoreStats/
DStats.cs122 public override int GetHashCode() { in GetHashCode() method in Grpc.Core.Bucket
124 …art != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Start); in GetHashCode()
125 if (Count != 0UL) hash ^= Count.GetHashCode(); in GetHashCode()
127 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
265 public override int GetHashCode() { in GetHashCode() method in Grpc.Core.Histogram
267 hash ^= buckets_.GetHashCode(); in GetHashCode()
269 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
440 public override int GetHashCode() { in GetHashCode() method in Grpc.Core.Metric
442 if (Name.Length != 0) hash ^= Name.GetHashCode(); in GetHashCode()
443 if (valueCase_ == ValueOneofCase.Count) hash ^= Count.GetHashCode(); in GetHashCode()
[all …]

123