示例#1
0
文件: Class2.cs 项目: uwx/Open-GHTCP
            private void method_0(byte[] byte0)
            {
                var array  = new int[Int0 + 1];
                var array2 = new int[Int0 + 1];

                for (var i = 0; i < byte0.Length; i++)
                {
                    int num = byte0[i];
                    if (num > 0)
                    {
                        array[num]++;
                    }
                }
                var num2 = 0;
                var num3 = 512;

                for (var j = 1; j <= Int0; j++)
                {
                    array2[j] = num2;
                    num2     += array[j] << 16 - j;
                    if (j >= 10)
                    {
                        var num4 = array2[j] & 130944;
                        var num5 = num2 & 130944;
                        num3 += num5 - num4 >> 16 - j;
                    }
                }
                _short0 = new short[num3];
                var num6 = 512;

                for (var k = Int0; k >= 10; k--)
                {
                    var num7 = num2 & 130944;
                    num2 -= array[k] << 16 - k;
                    var num8 = num2 & 130944;
                    for (var l = num8; l < num7; l += 128)
                    {
                        _short0[Class8.smethod_0(l)] = (short)(-num6 << 4 | k);
                        num6 += 1 << k - 9;
                    }
                }
                for (var m = 0; m < byte0.Length; m++)
                {
                    int num9 = byte0[m];
                    if (num9 != 0)
                    {
                        num2 = array2[num9];
                        int num10 = Class8.smethod_0(num2);
                        if (num9 <= 9)
                        {
                            do
                            {
                                _short0[num10] = (short)(m << 4 | num9);
                                num10         += 1 << num9;
                            } while (num10 < 512);
                        }
                        else
                        {
                            int num11 = _short0[num10 & 511];
                            var num12 = 1 << (num11 & 15);
                            num11 = -(num11 >> 4);
                            do
                            {
                                _short0[num11 | num10 >> 9] = (short)(m << 4 | num9);
                                num10 += 1 << num9;
                            } while (num10 < num12);
                        }
                        array2[num9] = num2 + (1 << 16 - num9);
                    }
                }
            }
 // Token: 0x060001BE RID: 446 RVA: 0x00002EBC File Offset: 0x000010BC
 private void ClientLoaderForm_Shown(object sender, EventArgs e)
 {
     this.Visible = false;
     Class8.smethod_0();
 }
示例#3
0
 public static bool smethod_4()
 {
     return(Class8.smethod_1(Process.GetCurrentProcess()) || Class8.smethod_3() || (Class8.smethod_2() || Class8.smethod_0()));
 }