public override int GetBehaviorHashCode()
 {
     return(AddMode.GetHashCode() ^
            AinitValue.GetHashCode() ^
            Atype.GetHashCode() ^
            Awidth ^
            Bconstant.GetHashCode() ^
            BorrowSense.GetHashCode() ^
            Btype.GetHashCode() ^
            Bvalue.GetHashCode() ^
            Bwidth ^
            BypassCePriority.GetHashCode() ^
            BypassSense.GetHashCode() ^
            ConstantInputValue.GetHashCode() ^
            Generator.GetHashCode() ^
            HasBypass.GetHashCode() ^
            HasCarryIn.GetHashCode() ^
            HasCarryOut.GetHashCode() ^
            HasCE.GetHashCode() ^
            HasConstantInput.GetHashCode() ^
            HasSCLR.GetHashCode() ^
            HasSSET.GetHashCode() ^
            Implementation.GetHashCode() ^
            Latency.GetHashCode() ^
            LatencyConfiguration.GetHashCode() ^
            OutWidth);
 }
Esempio n. 2
0
        public override int GetHashCode()
        {
            var hashCode = 272928259;

            hashCode = hashCode * -1521134295 + TimeStamp.GetHashCode();
            hashCode = hashCode * -1521134295 + Latency.GetHashCode();
            hashCode = hashCode * -1521134295 + Status.GetHashCode();
            return(hashCode);
        }
Esempio n. 3
0
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = Status.GetHashCode();
         hashCode = (hashCode * 397) ^ (Headers != null ? Headers.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Latency.GetHashCode();
         hashCode = (hashCode * 397) ^ (Body != null ? Body.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (File != null ? File.GetHashCode() : 0);
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (RequestMethod.Length != 0)
            {
                hash ^= RequestMethod.GetHashCode();
            }
            if (RequestUrl.Length != 0)
            {
                hash ^= RequestUrl.GetHashCode();
            }
            if (RequestSize != 0L)
            {
                hash ^= RequestSize.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (ResponseSize != 0L)
            {
                hash ^= ResponseSize.GetHashCode();
            }
            if (UserAgent.Length != 0)
            {
                hash ^= UserAgent.GetHashCode();
            }
            if (RemoteIp.Length != 0)
            {
                hash ^= RemoteIp.GetHashCode();
            }
            if (ServerIp.Length != 0)
            {
                hash ^= ServerIp.GetHashCode();
            }
            if (Referer.Length != 0)
            {
                hash ^= Referer.GetHashCode();
            }
            if (latency_ != null)
            {
                hash ^= Latency.GetHashCode();
            }
            if (CacheLookup != false)
            {
                hash ^= CacheLookup.GetHashCode();
            }
            if (CacheHit != false)
            {
                hash ^= CacheHit.GetHashCode();
            }
            if (CacheValidatedWithOriginServer != false)
            {
                hash ^= CacheValidatedWithOriginServer.GetHashCode();
            }
            if (CacheFillBytes != 0L)
            {
                hash ^= CacheFillBytes.GetHashCode();
            }
            return(hash);
        }
Esempio n. 5
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (StartTime != 0L)
        {
            hash ^= StartTime.GetHashCode();
        }
        if (EndTime != 0L)
        {
            hash ^= EndTime.GetHashCode();
        }
        if (SourceServiceName.Length != 0)
        {
            hash ^= SourceServiceName.GetHashCode();
        }
        if (SourceServiceId != 0)
        {
            hash ^= SourceServiceId.GetHashCode();
        }
        if (SourceServiceInstance.Length != 0)
        {
            hash ^= SourceServiceInstance.GetHashCode();
        }
        if (SourceServiceInstanceId != 0)
        {
            hash ^= SourceServiceInstanceId.GetHashCode();
        }
        if (DestServiceName.Length != 0)
        {
            hash ^= DestServiceName.GetHashCode();
        }
        if (DestServiceId != 0)
        {
            hash ^= DestServiceId.GetHashCode();
        }
        if (DestServiceInstance.Length != 0)
        {
            hash ^= DestServiceInstance.GetHashCode();
        }
        if (DestServiceInstanceId != 0)
        {
            hash ^= DestServiceInstanceId.GetHashCode();
        }
        if (Endpoint.Length != 0)
        {
            hash ^= Endpoint.GetHashCode();
        }
        if (Latency != 0)
        {
            hash ^= Latency.GetHashCode();
        }
        if (ResponseCode != 0)
        {
            hash ^= ResponseCode.GetHashCode();
        }
        if (Status != false)
        {
            hash ^= Status.GetHashCode();
        }
        if (Protocol != 0)
        {
            hash ^= Protocol.GetHashCode();
        }
        if (DetectPoint != 0)
        {
            hash ^= DetectPoint.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }