public override int GetHashCode() { int hash = 1; if (ItemId != 0L) { hash ^= ItemId.GetHashCode(); } if (Affinity != 0) { hash ^= Affinity.GetHashCode(); } if (ImageId.Length != 0) { hash ^= ImageId.GetHashCode(); } if (U4 != 0) { hash ^= U4.GetHashCode(); } if (U5 != 0) { hash ^= U5.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (ProcessorNum != 0) { hash ^= ProcessorNum.GetHashCode(); } if (Affinity.Length != 0) { hash ^= Affinity.GetHashCode(); } if (Cpuset.Length != 0) { hash ^= Cpuset.GetHashCode(); } if (ProcessorPolicy.Length != 0) { hash ^= ProcessorPolicy.GetHashCode(); } if (ProcessorPrio != 0) { hash ^= ProcessorPrio.GetHashCode(); } hash ^= tasks_.GetHashCode(); return(hash); }