/// <inheritdoc/> public override int GetHashCode() { unchecked { return(Shard?.GetHashCode() ?? 0); } }
public override int GetHashCode() { int hash = 1; if (Dtype != 0) { hash ^= Dtype.GetHashCode(); } if (shape_ != null) { hash ^= Shape.GetHashCode(); } if (ShardId != 0) { hash ^= ShardId.GetHashCode(); } if (Offset != 0L) { hash ^= Offset.GetHashCode(); } if (Size != 0L) { hash ^= Size.GetHashCode(); } if (Crc32C != 0) { hash ^= Crc32C.GetHashCode(); } hash ^= slices_.GetHashCode(); return(hash); }
/// <inheritdoc/> public override int GetHashCode() { unchecked { int hashCode = Shard?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (Region?.GetHashCode() ?? 0); return(hashCode); } }
/// <inheritdoc/> public override int GetHashCode() { unchecked { int hashCode = EntityId?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (ShardId?.GetHashCode() ?? 0); return(hashCode); } }
internal int Hash() { int prime = 31; int result = 1; result = prime * result + Guid.GetHashCode(); result = prime * result + NoteStoreUrl.GetHashCode(); result = prime * result + ShardId.GetHashCode(); result = prime * result + SharedNotebookGlobalId.GetHashCode(); return(result); }