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

            h ^= ((h << 8) | ((int)(((uint)h) >> 25)));   // reversible
            h ^= System.Convert.ToInt32(GetBoost()) ^ end;
            return(h);
        }
示例#2
0
        public override int GetHashCode()
        {
            int h = match.GetHashCode();

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

            h  = (h << 1) | (Number.URShift(h, 31)); // rotate left
            h ^= exclude.GetHashCode();
            h  = (h << 1) | (Number.URShift(h, 31)); // rotate left
            h ^= System.Convert.ToInt32(Boost);
            return(h);
        }
示例#4
0
        public override int GetHashCode()
        {
            int h = include.GetHashCode();

            h  = (h << 1) | ((int)(((uint)h) >> 31));              // rotate left
            h ^= exclude.GetHashCode();
            h  = (h << 1) | ((int)(((uint)h) >> 31));              // rotate left
            h ^= System.Convert.ToInt32(GetBoost());
            return(h);
        }
示例#5
0
        public override int GetHashCode()
        {
            int h = base.GetHashCode();

            h  = BitOperation.RotateLeft(h, 1);
            h ^= include.GetHashCode();
            h  = BitOperation.RotateLeft(h, 1);
            h ^= exclude.GetHashCode();
            h  = BitOperation.RotateLeft(h, 1);
            h ^= pre;
            h  = BitOperation.RotateLeft(h, 1);
            h ^= post;
            return(h);
        }
示例#6
0
        public override int GetHashCode()
        {
            int h = base.GetHashCode();

            h  = Number.RotateLeft(h, 1);
            h ^= include.GetHashCode();
            h  = Number.RotateLeft(h, 1);
            h ^= exclude.GetHashCode();
            h  = Number.RotateLeft(h, 1);
            h ^= Pre;
            h  = Number.RotateLeft(h, 1);
            h ^= Post;
            return(h);
        }