public override int GetHashCode() { int hashcode = 157; unchecked { hashcode = (hashcode * 397) + TraceIdLow.GetHashCode(); hashcode = (hashcode * 397) + TraceIdHigh.GetHashCode(); hashcode = (hashcode * 397) + SpanId.GetHashCode(); hashcode = (hashcode * 397) + ParentSpanId.GetHashCode(); hashcode = (hashcode * 397) + OperationName.GetHashCode(); if (__isset.references) { hashcode = (hashcode * 397) + TCollections.GetHashCode(References); } hashcode = (hashcode * 397) + Flags.GetHashCode(); hashcode = (hashcode * 397) + StartTime.GetHashCode(); hashcode = (hashcode * 397) + Duration.GetHashCode(); if (__isset.tags) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Tags); } if (__isset.logs) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Logs); } } return(hashcode); }
/// <summary> /// <inheritdoc cref="Object.GetHashCode"/> /// </summary> public override int GetHashCode() { unchecked { var hashCode = Query.GetHashCode(); hashCode = (hashCode * 397) ^ OperationName?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ Variables?.GetHashCode() ?? 0; return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Query != null?Query.GetHashCode() : 0; hashCode = (hashCode * 397) ^ (Variables != null ? Variables.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (OperationName != null ? OperationName.GetHashCode() : 0); return(hashCode); } }
private int InternalHashCode() { var hashCode = 419446955; const int hashSeed = -1521134295; hashCode = hashCode * hashSeed + OperationName.GetHashCode(); hashCode = hashCode * hashSeed + OperationCallerName.GetHashCode(); hashCode = hashCode * hashSeed + EqualityComparer <OperationFunctor> .Default.GetHashCode(FunctorSpecialization); hashCode = hashCode * hashSeed + EqualityComparer <OperationFunctor> .Default.GetHashCode(CallerFunctorSpecialization); return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = PartitionKey?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (RowKey?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ Created.GetHashCode(); hashCode = (hashCode * 397) ^ (EventType?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (OperationName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (OrganizationId?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (SubscriptionId?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Data?.GetHashCode() ?? 0); return(hashCode); } }
/// <summary> /// 哈希数 /// </summary> /// <returns></returns> public override int GetHashCode() { int hasCode = 0; if (Name != null) { hasCode += Name.GetHashCode(); } if (OperationName != null) { hasCode += OperationName.GetHashCode(); } if (ParamFilePath != null) { hasCode += ParamFilePath.GetHashCode(); } return(hasCode); }
public override int GetHashCode() { int hash = 1; if (Query.Length != 0) { hash ^= Query.GetHashCode(); } if (IsSchemaQuery != false) { hash ^= IsSchemaQuery.GetHashCode(); } if (OperationName.Length != 0) { hash ^= OperationName.GetHashCode(); } if (Variables.Length != 0) { hash ^= Variables.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (OperationId.Length != 0) { hash ^= OperationId.GetHashCode(); } if (OperationName.Length != 0) { hash ^= OperationName.GetHashCode(); } if (ConsumerId.Length != 0) { hash ^= ConsumerId.GetHashCode(); } if (startTime_ != null) { hash ^= StartTime.GetHashCode(); } if (endTime_ != null) { hash ^= EndTime.GetHashCode(); } hash ^= Labels.GetHashCode(); hash ^= metricValueSets_.GetHashCode(); hash ^= logEntries_.GetHashCode(); if (Importance != global::Google.Cloud.ServiceControl.V1.Operation.Types.Importance.Low) { hash ^= Importance.GetHashCode(); } hash ^= extensions_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return OperationName.GetHashCode(); }