public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.f) { hashcode = (hashcode * 397) + F.GetHashCode(); } if ((K != null) && __isset.k) { hashcode = (hashcode * 397) + K.GetHashCode(); } if (__isset.ts) { hashcode = (hashcode * 397) + Ts.GetHashCode(); } if (__isset.ts_desc) { hashcode = (hashcode * 397) + Ts_desc.GetHashCode(); } if ((V != null) && __isset.v) { hashcode = (hashcode * 397) + V.GetHashCode(); } if (__isset.encoder) { hashcode = (hashcode * 397) + Encoder.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { int hashCode = 17; // we *know* we are using this in a dictionary, so pre-compute this hashCode = hashCode * 23 + Id.GetHashCode(); hashCode = hashCode * 23 + (Fid == null ? 0 : Fid.GetHashCode()); hashCode = hashCode * 23 + (EnableDate == null ? 0 : EnableDate.GetHashCode()); hashCode = hashCode * 23 + (DisableDate == null ? 0 : DisableDate.GetHashCode()); hashCode = hashCode * 23 + Dr.GetHashCode(); hashCode = hashCode * 23 + Ts.GetHashCode(); hashCode = hashCode * 23 + (CreateBy == null ? 0 : CreateBy.GetHashCode()); hashCode = hashCode * 23 + (CreateDate == null ? 0 : CreateDate.GetHashCode()); hashCode = hashCode * 23 + (CreateName == null ? 0 : CreateName.GetHashCode()); hashCode = hashCode * 23 + (UpdateBy == null ? 0 : UpdateBy.GetHashCode()); hashCode = hashCode * 23 + (UpdateDate == null ? 0 : UpdateDate.GetHashCode()); hashCode = hashCode * 23 + (UpdateName == null ? 0 : UpdateName.GetHashCode()); hashCode = hashCode * 23 + (TableName == null ? 0 : TableName.GetHashCode()); hashCode = hashCode * 23 + (TableComment == null ? 0 : TableComment.GetHashCode()); hashCode = hashCode * 23 + (TableMode == null ? 0 : TableMode.GetHashCode()); hashCode = hashCode * 23 + (SubTable == null ? 0 : SubTable.GetHashCode()); hashCode = hashCode * 23 + IsTree.GetHashCode(); hashCode = hashCode * 23 + IsPagination.GetHashCode(); hashCode = hashCode * 23 + IsSync.GetHashCode(); return(hashCode); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { var hash = 41; // Suitable nullity checks etc, of course :) if (ContentType != null) { hash = hash * 57 + ContentType.GetHashCode(); } if (Slug != null) { hash = hash * 57 + Slug.GetHashCode(); } if (UserAgent != null) { hash = hash * 57 + UserAgent.GetHashCode(); } if (Id != null) { hash = hash * 57 + Id.GetHashCode(); } if (Rid != null) { hash = hash * 57 + Rid.GetHashCode(); } if (Ts != null) { hash = hash * 57 + Ts.GetHashCode(); } if (Self != null) { hash = hash * 57 + Self.GetHashCode(); } if (Etag != null) { hash = hash * 57 + Etag.GetHashCode(); } if (Permissions != null) { hash = hash * 57 + Permissions.GetHashCode(); } return(hash); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { var hash = 41; // Suitable nullity checks etc, of course :) if (Id != null) { hash = hash * 57 + Id.GetHashCode(); } if (Body != null) { hash = hash * 57 + Body.GetHashCode(); } if (TriggerOperation != null) { hash = hash * 57 + TriggerOperation.GetHashCode(); } if (TriggerType != null) { hash = hash * 57 + TriggerType.GetHashCode(); } if (Rid != null) { hash = hash * 57 + Rid.GetHashCode(); } if (Ts != null) { hash = hash * 57 + Ts.GetHashCode(); } if (Self != null) { hash = hash * 57 + Self.GetHashCode(); } if (Etag != null) { hash = hash * 57 + Etag.GetHashCode(); } return(hash); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { var hash = 41; // Suitable nullity checks etc, of course :) if (Id != null) { hash = hash * 57 + Id.GetHashCode(); } if (Rid != null) { hash = hash * 57 + Rid.GetHashCode(); } if (Databases != null) { hash = hash * 57 + Databases.GetHashCode(); } if (Ts != null) { hash = hash * 57 + Ts.GetHashCode(); } if (Self != null) { hash = hash * 57 + Self.GetHashCode(); } if (Etag != null) { hash = hash * 57 + Etag.GetHashCode(); } if (Colls != null) { hash = hash * 57 + Colls.GetHashCode(); } if (Users != null) { hash = hash * 57 + Users.GetHashCode(); } return(hash); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { var hash = 41; // Suitable nullity checks etc, of course :) if (Id != null) { hash = hash * 57 + Id.GetHashCode(); } if (PermissionMode != null) { hash = hash * 57 + PermissionMode.GetHashCode(); } if (Resource != null) { hash = hash * 57 + Resource.GetHashCode(); } if (Rid != null) { hash = hash * 57 + Rid.GetHashCode(); } if (Ts != null) { hash = hash * 57 + Ts.GetHashCode(); } if (Self != null) { hash = hash * 57 + Self.GetHashCode(); } if (Etag != null) { hash = hash * 57 + Etag.GetHashCode(); } if (Token != null) { hash = hash * 57 + Token.GetHashCode(); } return(hash); } }
public override int GetHashCode() { int hashCode = 17; // we *know* we are using this in a dictionary, so pre-compute this hashCode = hashCode * 23 + Id.GetHashCode(); hashCode = hashCode * 23 + (Fid == null ? 0 : Fid.GetHashCode()); hashCode = hashCode * 23 + (EnableDate == null ? 0 : EnableDate.GetHashCode()); hashCode = hashCode * 23 + (DisableDate == null ? 0 : DisableDate.GetHashCode()); hashCode = hashCode * 23 + Dr.GetHashCode(); hashCode = hashCode * 23 + Ts.GetHashCode(); hashCode = hashCode * 23 + (CreateBy == null ? 0 : CreateBy.GetHashCode()); hashCode = hashCode * 23 + (CreateDate == null ? 0 : CreateDate.GetHashCode()); hashCode = hashCode * 23 + (CreateName == null ? 0 : CreateName.GetHashCode()); hashCode = hashCode * 23 + (UpdateBy == null ? 0 : UpdateBy.GetHashCode()); hashCode = hashCode * 23 + (UpdateDate == null ? 0 : UpdateDate.GetHashCode()); hashCode = hashCode * 23 + (UpdateName == null ? 0 : UpdateName.GetHashCode()); hashCode = hashCode * 23 + (TableName == null ? 0 : TableName.GetHashCode()); hashCode = hashCode * 23 + (ColName == null ? 0 : ColName.GetHashCode()); hashCode = hashCode * 23 + (ColComment == null ? 0 : ColComment.GetHashCode()); hashCode = hashCode * 23 + (ColDefault == null ? 0 : ColDefault.GetHashCode()); hashCode = hashCode * 23 + (ColType == null ? 0 : ColType.GetHashCode()); hashCode = hashCode * 23 + ColProperty.GetHashCode(); hashCode = hashCode * 23 + ColLength.GetHashCode(); hashCode = hashCode * 23 + DisplayWidth.GetHashCode(); hashCode = hashCode * 23 + ColOrder.GetHashCode(); hashCode = hashCode * 23 + ColPrecision.GetHashCode(); hashCode = hashCode * 23 + NullAble.GetHashCode(); hashCode = hashCode * 23 + ShowAble.GetHashCode(); hashCode = hashCode * 23 + IsDefaultCol.GetHashCode(); hashCode = hashCode * 23 + (CtrlType == null ? 0 : CtrlType.GetHashCode()); hashCode = hashCode * 23 + (RefTable == null ? 0 : RefTable.GetHashCode()); hashCode = hashCode * 23 + (RefID == null ? 0 : RefID.GetHashCode()); hashCode = hashCode * 23 + (RefCode == null ? 0 : RefCode.GetHashCode()); hashCode = hashCode * 23 + (RefName == null ? 0 : RefName.GetHashCode()); hashCode = hashCode * 23 + (RefCondition == null ? 0 : RefCondition.GetHashCode()); hashCode = hashCode * 23 + (RefCols == null ? 0 : RefCols.GetHashCode()); hashCode = hashCode * 23 + (RefType == null ? 0 : RefType.GetHashCode()); hashCode = hashCode * 23 + (MainTable == null ? 0 : RefType.GetHashCode()); hashCode = hashCode * 23 + (MainTableCol == null ? 0 : MainTableCol.GetHashCode()); hashCode = hashCode * 23 + (CalculationExpr == null ? 0 : CalculationExpr.GetHashCode()); return(hashCode); }
public override int GetHashCode() { int hashcode = 157; unchecked { if ((C != null) && __isset.c) { hashcode = (hashcode * 397) + C.GetHashCode(); } if (__isset.ts) { hashcode = (hashcode * 397) + Ts.GetHashCode(); } if ((V != null) && __isset.v) { hashcode = (hashcode * 397) + V.GetHashCode(); } } return(hashcode); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; // Suitable nullity checks etc, of course :) if (Roe != null) { hashCode = hashCode * 59 + Roe.GetHashCode(); } if (Npm != null) { hashCode = hashCode * 59 + Npm.GetHashCode(); } if (Gpm != null) { hashCode = hashCode * 59 + Gpm.GetHashCode(); } if (Np != null) { hashCode = hashCode * 59 + Np.GetHashCode(); } if (Eps != null) { hashCode = hashCode * 59 + Eps.GetHashCode(); } if (Mbr != null) { hashCode = hashCode * 59 + Mbr.GetHashCode(); } if (Ts != null) { hashCode = hashCode * 59 + Ts.GetHashCode(); } if (Cs != null) { hashCode = hashCode * 59 + Cs.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Ts != 0D) { hash ^= Ts.GetHashCode(); } if (BrakeDeadzone != 0D) { hash ^= BrakeDeadzone.GetHashCode(); } if (ThrottleDeadzone != 0D) { hash ^= ThrottleDeadzone.GetHashCode(); } if (SpeedControllerInputLimit != 0D) { hash ^= SpeedControllerInputLimit.GetHashCode(); } if (StationErrorLimit != 0D) { hash ^= StationErrorLimit.GetHashCode(); } if (PreviewWindow != 0D) { hash ^= PreviewWindow.GetHashCode(); } if (StandstillAcceleration != 0D) { hash ^= StandstillAcceleration.GetHashCode(); } if (stationPidConf_ != null) { hash ^= StationPidConf.GetHashCode(); } if (lowSpeedPidConf_ != null) { hash ^= LowSpeedPidConf.GetHashCode(); } if (highSpeedPidConf_ != null) { hash ^= HighSpeedPidConf.GetHashCode(); } if (SwitchSpeed != 0D) { hash ^= SwitchSpeed.GetHashCode(); } if (reverseStationPidConf_ != null) { hash ^= ReverseStationPidConf.GetHashCode(); } if (reverseSpeedPidConf_ != null) { hash ^= ReverseSpeedPidConf.GetHashCode(); } if (pitchAngleFilterConf_ != null) { hash ^= PitchAngleFilterConf.GetHashCode(); } if (calibrationTable_ != null) { hash ^= CalibrationTable.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Ticker.Length != 0) { hash ^= Ticker.GetHashCode(); } if (Ts != 0L) { hash ^= Ts.GetHashCode(); } if (Open != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Open); } if (High != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(High); } if (Low != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Low); } if (Close != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Close); } if (Volume != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Volume); } if (ExDividend != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ExDividend); } if (SplitRatio != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(SplitRatio); } if (AdjOpen != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AdjOpen); } if (AdjHigh != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AdjHigh); } if (AdjLow != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AdjLow); } if (AdjClose != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AdjClose); } if (AdjVolume != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AdjVolume); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { var hash = 41; // Suitable nullity checks etc, of course :) if (Id != null) { hash = hash * 57 + Id.GetHashCode(); } if (Rid != null) { hash = hash * 57 + Rid.GetHashCode(); } if (Ts != null) { hash = hash * 57 + Ts.GetHashCode(); } if (Self != null) { hash = hash * 57 + Self.GetHashCode(); } if (Etag != null) { hash = hash * 57 + Etag.GetHashCode(); } if (Doc != null) { hash = hash * 57 + Doc.GetHashCode(); } if (Sprocs != null) { hash = hash * 57 + Sprocs.GetHashCode(); } if (Triggers != null) { hash = hash * 57 + Triggers.GetHashCode(); } if (Udfs != null) { hash = hash * 57 + Udfs.GetHashCode(); } if (Conflicts != null) { hash = hash * 57 + Conflicts.GetHashCode(); } if (IndexingPolicy != null) { hash = hash * 57 + IndexingPolicy.GetHashCode(); } return(hash); } }
public override int GetHashCode() { int hash = 1; if (Ts != 0D) { hash ^= Ts.GetHashCode(); } if (Cf != 0D) { hash ^= Cf.GetHashCode(); } if (Cr != 0D) { hash ^= Cr.GetHashCode(); } if (MassFl != 0) { hash ^= MassFl.GetHashCode(); } if (MassFr != 0) { hash ^= MassFr.GetHashCode(); } if (MassRl != 0) { hash ^= MassRl.GetHashCode(); } if (MassRr != 0) { hash ^= MassRr.GetHashCode(); } if (Eps != 0D) { hash ^= Eps.GetHashCode(); } hash ^= matrixQ_.GetHashCode(); hash ^= matrixR_.GetHashCode(); if (CutoffFreq != 0) { hash ^= CutoffFreq.GetHashCode(); } if (MeanFilterWindowSize != 0) { hash ^= MeanFilterWindowSize.GetHashCode(); } if (MaxIteration != 0) { hash ^= MaxIteration.GetHashCode(); } if (MaxLateralAcceleration != 0D) { hash ^= MaxLateralAcceleration.GetHashCode(); } if (StandstillAcceleration != 0D) { hash ^= StandstillAcceleration.GetHashCode(); } if (ThrottleDeadzone != 0D) { hash ^= ThrottleDeadzone.GetHashCode(); } if (BrakeDeadzone != 0D) { hash ^= BrakeDeadzone.GetHashCode(); } if (latErrGainScheduler_ != null) { hash ^= LatErrGainScheduler.GetHashCode(); } if (headingErrGainScheduler_ != null) { hash ^= HeadingErrGainScheduler.GetHashCode(); } if (steerWeightGainScheduler_ != null) { hash ^= SteerWeightGainScheduler.GetHashCode(); } if (feedforwardtermGainScheduler_ != null) { hash ^= FeedforwardtermGainScheduler.GetHashCode(); } if (calibrationTable_ != null) { hash ^= CalibrationTable.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Ts != 0D) { hash ^= Ts.GetHashCode(); } if (PreviewWindow != 0) { hash ^= PreviewWindow.GetHashCode(); } if (Cf != 0D) { hash ^= Cf.GetHashCode(); } if (Cr != 0D) { hash ^= Cr.GetHashCode(); } if (MassFl != 0) { hash ^= MassFl.GetHashCode(); } if (MassFr != 0) { hash ^= MassFr.GetHashCode(); } if (MassRl != 0) { hash ^= MassRl.GetHashCode(); } if (MassRr != 0) { hash ^= MassRr.GetHashCode(); } if (Eps != 0D) { hash ^= Eps.GetHashCode(); } hash ^= matrixQ_.GetHashCode(); hash ^= reverseMatrixQ_.GetHashCode(); if (CutoffFreq != 0) { hash ^= CutoffFreq.GetHashCode(); } if (MeanFilterWindowSize != 0) { hash ^= MeanFilterWindowSize.GetHashCode(); } if (MaxIteration != 0) { hash ^= MaxIteration.GetHashCode(); } if (MaxLateralAcceleration != 0D) { hash ^= MaxLateralAcceleration.GetHashCode(); } if (latErrGainScheduler_ != null) { hash ^= LatErrGainScheduler.GetHashCode(); } if (headingErrGainScheduler_ != null) { hash ^= HeadingErrGainScheduler.GetHashCode(); } return(hash); }