Exemple #1
0
 public HashEntry2(int i, long l, object obj, HashEntry2 hashentry2)
 {
     field_1024_b = obj;
     field_1027_c = hashentry2;
     field_1025_a = l;
     field_1026_d = i;
 }
Exemple #2
0
        private HashEntry2 func_672_c(long l)
        {
            int        i          = func_671_e(l);
            int        j          = func_678_a(i, field_949_a.Length);
            HashEntry2 hashentry2 = field_949_a[j];
            HashEntry2 hashentry2_1;
            HashEntry2 hashentry2_2;

            for (hashentry2_1 = hashentry2; hashentry2_1 != null; hashentry2_1 = hashentry2_2)
            {
                hashentry2_2 = hashentry2_1.field_1027_c;
                if (hashentry2_1.field_1025_a == l)
                {
                    field_950_e++;
                    field_948_b--;
                    if (hashentry2 == hashentry2_1)
                    {
                        field_949_a[j] = hashentry2_2;
                    }
                    else
                    {
                        hashentry2.field_1027_c = hashentry2_2;
                    }
                    return(hashentry2_1);
                }
                hashentry2 = hashentry2_1;
            }

            return(hashentry2_1);
        }
Exemple #3
0
 public HashEntry2(int i, long l, object obj, HashEntry2 hashentry2)
 {
     field_1024_b = obj;
     field_1027_c = hashentry2;
     field_1025_a = l;
     field_1026_d = i;
 }
Exemple #4
0
        private void func_679_a(int i, long l, object obj, int j)
        {
            HashEntry2 hashentry2 = field_949_a[j];

            field_949_a[j] = new HashEntry2(i, l, obj, hashentry2);
            if (field_948_b++ >= field_952_c)
            {
                func_680_b(2 * field_949_a.Length);
            }
        }
Exemple #5
0
        public void func_675_a(long l, object obj)
        {
            int i = func_671_e(l);
            int j = func_678_a(i, field_949_a.Length);

            for (HashEntry2 hashentry2 = field_949_a[j]; hashentry2 != null; hashentry2 = hashentry2.field_1027_c)
            {
                if (hashentry2.field_1025_a == l)
                {
                    hashentry2.field_1024_b = obj;
                }
            }

            field_950_e++;
            func_679_a(i, l, obj, j);
        }
Exemple #6
0
        public object func_677_a(long l)
        {
            int i = func_671_e(l);

            for (HashEntry2 hashentry2 = field_949_a[func_678_a(i, field_949_a.Length)];
                 hashentry2 != null;
                 hashentry2 = hashentry2.field_1027_c)
            {
                if (hashentry2.field_1025_a == l)
                {
                    return(hashentry2.field_1024_b);
                }
            }

            return(null);
        }
Exemple #7
0
        private void func_680_b(int i)
        {
            HashEntry2[] ahashentry2 = field_949_a;
            int          j           = ahashentry2.Length;

            if (j == 0x40000000)
            {
                field_952_c = 0x7fffffff;
                return;
            }
            else
            {
                var ahashentry2_1 = new HashEntry2[i];
                func_673_a(ahashentry2_1);
                field_949_a = ahashentry2_1;
                field_952_c = (int)(i * field_951_d);
                return;
            }
        }
Exemple #8
0
        private void func_673_a(HashEntry2[] ahashentry2)
        {
            HashEntry2[] ahashentry2_1 = field_949_a;
            int          i             = ahashentry2.Length;

            for (int j = 0; j < ahashentry2_1.Length; j++)
            {
                HashEntry2 hashentry2 = ahashentry2_1[j];
                if (hashentry2 == null)
                {
                    continue;
                }
                ahashentry2_1[j] = null;
                do
                {
                    HashEntry2 hashentry2_1 = hashentry2.field_1027_c;
                    int        k            = func_678_a(hashentry2.field_1026_d, i);
                    hashentry2.field_1027_c = ahashentry2[k];
                    ahashentry2[k]          = hashentry2;
                    hashentry2 = hashentry2_1;
                } while (hashentry2 != null);
            }
        }
Exemple #9
0
        public object func_670_b(long l)
        {
            HashEntry2 hashentry2 = func_672_c(l);

            return(hashentry2 != null ? hashentry2.field_1024_b : null);
        }
Exemple #10
0
 private void func_680_b(int i)
 {
     HashEntry2[] ahashentry2 = field_949_a;
     int j = ahashentry2.Length;
     if (j == 0x40000000)
     {
         field_952_c = 0x7fffffff;
         return;
     }
     else
     {
         var ahashentry2_1 = new HashEntry2[i];
         func_673_a(ahashentry2_1);
         field_949_a = ahashentry2_1;
         field_952_c = (int) (i*field_951_d);
         return;
     }
 }
Exemple #11
0
 private void func_679_a(int i, long l, object obj, int j)
 {
     HashEntry2 hashentry2 = field_949_a[j];
     field_949_a[j] = new HashEntry2(i, l, obj, hashentry2);
     if (field_948_b++ >= field_952_c)
     {
         func_680_b(2*field_949_a.Length);
     }
 }
Exemple #12
0
 private void func_673_a(HashEntry2[] ahashentry2)
 {
     HashEntry2[] ahashentry2_1 = field_949_a;
     int i = ahashentry2.Length;
     for (int j = 0; j < ahashentry2_1.Length; j++)
     {
         HashEntry2 hashentry2 = ahashentry2_1[j];
         if (hashentry2 == null)
         {
             continue;
         }
         ahashentry2_1[j] = null;
         do
         {
             HashEntry2 hashentry2_1 = hashentry2.field_1027_c;
             int k = func_678_a(hashentry2.field_1026_d, i);
             hashentry2.field_1027_c = ahashentry2[k];
             ahashentry2[k] = hashentry2;
             hashentry2 = hashentry2_1;
         } while (hashentry2 != null);
     }
 }