public TxOutputKey(UInt256 txHash, UInt32 txOutputIndex) { TxHash = txHash; TxOutputIndex = txOutputIndex; this.hashCode = txHash.GetHashCode() ^ txOutputIndex.GetHashCode(); }
public TxKey(UInt256 blockHash, UInt32 txIndex, UInt256 txHash) { this._blockHash = blockHash; this._txIndex = txIndex; this._txHash = txHash; this.hashCode = blockHash.GetHashCode() ^ txIndex.GetHashCode() ^ txHash.GetHashCode(); }
public TxOutputKey(UInt256 txHash, UInt32 txOutputIndex) { this._txHash = txHash; this._txOutputIndex = txOutputIndex; this.notDefault = true; this.hashCode = txHash.GetHashCode() ^ txOutputIndex.GetHashCode(); }
public UnspentTx(UInt256 blockHash, UInt32 txIndex, UInt256 txHash, ImmutableBitArray unspentOutputs) { this._blockHash = blockHash; this._txIndex = txIndex; this._txHash = txHash; this._unspentOutputs = unspentOutputs; this.hashCode = blockHash.GetHashCode() ^ txIndex.GetHashCode() ^ txHash.GetHashCode() ^ unspentOutputs.GetHashCode(); }
public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + id.GetHashCode(); return(hash); } }
public override int GetHashCode() { int bitsHash = _bits0.GetHashCode(); if (_bits != null) { for (int i = 0; i < _bits.Length; i++) { bitsHash = Hash.Combine(_bits[i].GetHashCode(), bitsHash); } } return(Hash.Combine(_capacity, bitsHash)); }
static StackObject *GetHashCode_2(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.UInt32 instance_of_this_method = GetInstance(__domain, ptr_of_this_method, __mStack); var result_of_this_method = instance_of_this_method.GetHashCode(); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return(__ret + 1); }
public override int GetHashCode() => _value.GetHashCode();
public override int GetHashCode() { return(m_raw.GetHashCode()); }