示例#1
0
        public override int GetHashCode()
        {
            int h = match.GetHashCode();

            h ^= ((h << 8) | (SupportClass.Number.URShift(h, 25)));             // reversible
            h ^= System.Convert.ToInt32(GetBoost()) ^ end;
            return(h);
        }
示例#2
0
        public override int GetHashCode()
        {
            int h = include.GetHashCode();

            h  = (h << 1) | (SupportClass.Number.URShift(h, 31));            // rotate left
            h ^= exclude.GetHashCode();
            h  = (h << 1) | (SupportClass.Number.URShift(h, 31));            // rotate left
            h ^= System.Convert.ToInt32(GetBoost());
            return(h);
        }