Beispiel #1
0
        public override int GetHashCode()
        {
            int h = q.GetHashCode();

            h ^= (h << 17) | (h.TripleShift(16));
            h += boostVal.GetHashCode();
            h ^= (h << 8) | (h.TripleShift(25));
            h += J2N.BitConversion.SingleToInt32Bits(Boost);
            return(h);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int h = q.GetHashCode();

            h ^= (h << 17) | ((int)((uint)h >> 16));
            h += boostVal.GetHashCode();
            h ^= (h << 8) | ((int)((uint)h >> 25));
            h += J2N.BitConversion.SingleToInt32Bits(Boost);
            return(h);
        }
Beispiel #3
0
 /// <summary>
 /// Returns a hash code value for this object.
 /// </summary>
 public override int GetHashCode()
 {
     return(func.GetHashCode() * 31 + J2N.BitConversion.SingleToInt32Bits(Boost));
 }
Beispiel #4
0
 /// <summary>
 /// Returns a hash code value for this object.
 /// </summary>
 public override int GetHashCode()
 {
     return(func.GetHashCode() * 31 + Number.SingleToInt32Bits(Boost));
 }