示例#1
0
    // Token: 0x06000091 RID: 145 RVA: 0x0000B5F8 File Offset: 0x000097F8
    private static Class47 smethod_6(out bool bool_0)
    {
        bool_0 = true;
        if (Class9.class47_0 != null)
        {
            return(Class9.class47_0);
        }
        if (Class9.class141_0 != null)
        {
            bool_0 = false;
            return(Class9.class141_0.method_8());
        }
        Class141 @class = Class9.smethod_8();
        Class47  class2 = @class.method_8();

        if (class2.vmethod_0())
        {
            Class9.class47_0 = class2;
            @class.Dispose();
        }
        else
        {
            Class9.class141_0 = @class;
            bool_0            = false;
        }
        return(class2);
    }
示例#2
0
        private void method_1(ns2.Class74 stream, Class47 glyph)
        {
            bool flag = true;

            while (flag)
            {
                short num1       = stream.method_4();
                long  position   = stream.Position;
                int   glyphIndex = this.class80_0.IndexMappings.method_1((int)stream.method_4());
                glyph.method_1(glyphIndex);
                stream.Position -= 2L;
                stream.method_5(glyphIndex);
                int num2 = ((int)num1 & 1) <= 0 ? 2 : 4;
                if (((int)num1 & 8) > 0)
                {
                    num2 = 2;
                }
                else if (((int)num1 & 64) > 0)
                {
                    num2 = 4;
                }
                else if (((int)num1 & 128) > 0)
                {
                    num2 = 8;
                }
                if (((int)num1 & 256) > 0)
                {
                    num2 = (int)stream.method_8();
                }
                flag = ((int)num1 & 32) > 0;
                stream.method_25((long)num2);
            }
        }
 // Token: 0x06001301 RID: 4865 RVA: 0x000047DB File Offset: 0x000029DB
 internal void method_27(object object_0, Class47 class47_0)
 {
     if (this.delegate142_0 != null)
     {
         this.delegate142_0(object_0, class47_0);
     }
 }
示例#4
0
 public Class4(Stream stream_1, IPEndPoint ipendPoint_1, CbGeneric <Interface5, IMessageHandler> pointer, int int_3)
 {
     this.stream_0     = stream_1;
     this.ipendPoint_0 = ipendPoint_1;
     this.cbGeneric_0  = pointer;
     this.int_0        = int_3;
     this.class47_0    = new Class47(new CbGeneric <IMessageHandler>(this.method_0));
 }
示例#5
0
        public void Test3()
        {
            LinkedList linkedList = new LinkedList();

            linkedList.AppendNodes(new List <Node>()
            {
                new Node(null, 1),
            });
            var result = Class47.isPalindrome(linkedList);

            Assert.True(result);
        }
示例#6
0
    // Token: 0x06000092 RID: 146 RVA: 0x0000B658 File Offset: 0x00009858
    private static int smethod_7()
    {
        if (Class9.nullable_0 != null)
        {
            return(Class9.nullable_0.Value);
        }
        bool    flag;
        Class47 @class = Class9.smethod_6(out flag);

        Class9.nullable_0 = new int?(@class.vmethod_1());
        if (!flag)
        {
            @class.Dispose();
        }
        return(Class9.nullable_0.Value);
    }
示例#7
0
 internal void method_28()
 {
     if ((this.class47_0 != null) && (this.class47_0.Count != 0))
     {
         OverrideLevelFormat format = null;
         int count = this.class47_0.Count;
         foreach (KeyValuePair <int, int> pair in this.class47_0.method_7())
         {
             this.class47_0.method_5(pair.Key).method_5();
             format = null;
         }
     }
     else
     {
         this.class47_0 = null;
     }
 }
示例#8
0
 protected internal override void vmethod_0(Class80 reader)
 {
     ns1.Class73 class73 = new ns1.Class73(reader);
     foreach (int glyphIndex1 in reader.IndexMappings.GlyphIndices)
     {
         Class47 class47 = class73.method_0(glyphIndex1);
         this.idictionary_0[class47.Index] = class47;
         if (class47.IsComposite)
         {
             foreach (int child in (IEnumerable <int>)class47.Children)
             {
                 if (this[child] == null)
                 {
                     int glyphIndex2 = reader.IndexMappings.method_4(child);
                     this[child] = class73.method_0(glyphIndex2);
                 }
             }
         }
     }
 }
示例#9
0
        public Class47 method_0(int glyphIndex)
        {
            ns2.Class74 stream1 = this.class80_0.Stream;
            uint        num     = this.class41_0.Offset + this.class5_0[glyphIndex];
            long        length  = this.method_2(glyphIndex);
            Class47     glyph   = new Class47(this.class80_0.IndexMappings.method_1(glyphIndex));

            if (length != 0L)
            {
                byte[] numArray = new byte[length];
                stream1.Position = (long)num;
                stream1.method_24(numArray, 0, numArray.Length);
                glyph.method_0(numArray);
                ns2.Class74 stream2 = new ns2.Class74(numArray);
                bool        flag    = stream2.method_4() < (short)0;
                stream2.method_25(8L);
                if (flag)
                {
                    this.method_1(stream2, glyph);
                }
            }
            return(glyph);
        }
示例#10
0
 internal Class12(Document A_0) : base(A_0)
 {
     this.class47_0 = new Class47(A_0);
     this.class47_0.method_0(this);
 }
示例#11
0
    // Token: 0x0600011B RID: 283 RVA: 0x0000D864 File Offset: 0x0000BA64
    public static void smethod_1(JObject jobject_0, string string_0)
    {
        try
        {
            foreach (JToken jtoken in jobject_0.Values())
            {
                if (!Class130.dictionary_0.ContainsKey((int)jtoken["id"]))
                {
                    MainWindow.webView_0.QueueScriptCall(string.Format("updateButton({0},true)", jtoken["id"]));
                    string  text = jtoken["store"].ToString().ToLower();
                    uint    num  = Class79.smethod_0(text);
                    Class44 @class;
                    if (num <= 2430139328u)
                    {
                        if (num <= 1369243890u)
                        {
                            if (num <= 650952027u)
                            {
                                if (num <= 536391395u)
                                {
                                    if (num != 75628775u)
                                    {
                                        if (num != 536391395u)
                                        {
                                            goto IL_6E9;
                                        }
                                        if (!(text == "net-a-porter us"))
                                        {
                                            goto IL_6E9;
                                        }
                                        @class = new Class50(jtoken, "am", "us");
                                    }
                                    else
                                    {
                                        if (!(text == "footpatrol"))
                                        {
                                            goto IL_6E9;
                                        }
                                        @class = new Class45(jtoken, "footpatrol", "AD60F89E1BB248F388B9FC671851A2B8");
                                    }
                                }
                                else if (num != 634394085u)
                                {
                                    if (num != 650952027u)
                                    {
                                        goto IL_6E9;
                                    }
                                    if (!(text == "footaction"))
                                    {
                                        goto IL_6E9;
                                    }
                                    @class = new Class51(jtoken, "footaction.com");
                                }
                                else
                                {
                                    if (!(text == "net-a-porter eu"))
                                    {
                                        goto IL_6E9;
                                    }
                                    @class = new Class50(jtoken, "intl", "gb");
                                }
                            }
                            else if (num <= 1003079584u)
                            {
                                if (num != 988777544u)
                                {
                                    if (num != 1003079584u)
                                    {
                                        goto IL_6E9;
                                    }
                                    if (!(text == "champs sports"))
                                    {
                                        goto IL_6E9;
                                    }
                                    @class = new Class47(jtoken, "champssports.com");
                                }
                                else
                                {
                                    if (!(text == "the hip store"))
                                    {
                                        goto IL_6E9;
                                    }
                                    @class = new Class45(jtoken, "thehipstore", "117860D26D504A5FB26B2FB64CE35FB8");
                                }
                            }
                            else if (num != 1271241200u)
                            {
                                if (num != 1369243890u)
                                {
                                    goto IL_6E9;
                                }
                                if (!(text == "supreme eu"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class54(jtoken, "EU");
                            }
                            else
                            {
                                if (!(text == "supreme us"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class54(jtoken, "US");
                            }
                        }
                        else if (num <= 2033596121u)
                        {
                            if (num <= 1613681225u)
                            {
                                if (num != 1374915048u)
                                {
                                    if (num != 1613681225u)
                                    {
                                        goto IL_6E9;
                                    }
                                    if (!(text == "footlocker us "))
                                    {
                                        goto IL_6E9;
                                    }
                                    @class = new Class51(jtoken, "footlocker.com");
                                }
                                else
                                {
                                    if (!(text == "eastbay"))
                                    {
                                        goto IL_6E9;
                                    }
                                    @class = new Class47(jtoken, "eastbay.com");
                                }
                            }
                            else if (num != 1819840374u)
                            {
                                if (num != 2033596121u)
                                {
                                    goto IL_6E9;
                                }
                                if (!(text == "size?"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class45(jtoken, "size", "3565AE9C56464BB0AD8020F735D1479E");
                            }
                            else
                            {
                                if (!(text == "jd sports"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class45(jtoken, "jdsports", "60743806B14F4AF389F582E83A141733");
                            }
                        }
                        else if (num <= 2404272289u)
                        {
                            if (num != 2191237913u)
                            {
                                if (num != 2404272289u)
                                {
                                    goto IL_6E9;
                                }
                                if (!(text == "footaction "))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class51(jtoken, "footaction.com");
                            }
                            else
                            {
                                if (!(text == "footlocker ca "))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class51(jtoken, "footlocker.ca");
                            }
                        }
                        else if (num != 2407667328u)
                        {
                            if (num != 2414935827u)
                            {
                                if (num != 2430139328u)
                                {
                                    goto IL_6E9;
                                }
                                if (!(text == "lacoste nl"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class53(jtoken, "/on/demandware.store/Sites-NL-Site/fr/");
                            }
                            else
                            {
                                if (!(text == "lacoste dk"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class53(jtoken, "/on/demandware.store/Sites-DK-Site/fr/");
                            }
                        }
                        else
                        {
                            if (!(text == "mr porter eu"))
                            {
                                goto IL_6E9;
                            }
                            @class = new Class46(jtoken, "intl", "gb");
                        }
                    }
                    else if (num <= 2661617280u)
                    {
                        if (num <= 2551966898u)
                        {
                            if (num <= 2500795398u)
                            {
                                if (num != 2464533209u)
                                {
                                    if (num != 2500795398u)
                                    {
                                        goto IL_6E9;
                                    }
                                    if (!(text == "lacoste pl"))
                                    {
                                        goto IL_6E9;
                                    }
                                    @class = new Class53(jtoken, "/on/demandware.store/Sites-PL-Site/fr/");
                                }
                                else
                                {
                                    if (!(text == "lacoste ch"))
                                    {
                                        goto IL_6E9;
                                    }
                                    @class = new Class53(jtoken, "/on/demandware.store/Sites-CH-Site/fr/");
                                }
                            }
                            else if (num != 2505773186u)
                            {
                                if (num != 2551966898u)
                                {
                                    goto IL_6E9;
                                }
                                if (!(text == "lacoste uk"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class53(jtoken, "/on/demandware.store/Sites-GB-Site/en/");
                            }
                            else
                            {
                                if (!(text == "mr porter us"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class46(jtoken, "am", "us");
                            }
                        }
                        else if (num <= 2581976542u)
                        {
                            if (num != 2563815827u)
                            {
                                if (num != 2581976542u)
                                {
                                    goto IL_6E9;
                                }
                                if (!(text == "lacoste ca"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class53(jtoken, "/on/demandware.store/Sites-CA-Site/fr/");
                            }
                            else
                            {
                                if (!(text == "lacoste kr"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class53(jtoken, "/on/demandware.store/Sites-KR-Site/fr/");
                            }
                        }
                        else if (num != 2599048351u)
                        {
                            if (num != 2649822493u)
                            {
                                if (num != 2661617280u)
                                {
                                    goto IL_6E9;
                                }
                                if (!(text == "champs sports "))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class51(jtoken, "champssports.com");
                            }
                            else
                            {
                                if (!(text == "lacoste de"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class53(jtoken, "/on/demandware.store/Sites-DE-Site/fr/");
                            }
                        }
                        else
                        {
                            if (!(text == "lacoste at"))
                            {
                                goto IL_6E9;
                            }
                            @class = new Class53(jtoken, "/on/demandware.store/Sites-AT-Site/fr/");
                        }
                    }
                    else if (num <= 3023372879u)
                    {
                        if (num <= 2866210327u)
                        {
                            if (num != 2666305922u)
                            {
                                if (num != 2866210327u)
                                {
                                    goto IL_6E9;
                                }
                                if (!(text == "lacoste it"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class53(jtoken, "/on/demandware.store/Sites-IT-Site/fr/");
                            }
                            else
                            {
                                if (!(text == "lacoste fr"))
                                {
                                    goto IL_6E9;
                                }
                                @class = new Class53(jtoken, "/on/demandware.store/Sites-FR-Site/fr/");
                            }
                        }
                        else if (num != 2954629754u)
                        {
                            if (num != 3023372879u)
                            {
                                goto IL_6E9;
                            }
                            if (!(text == "footlocker eu "))
                            {
                                goto IL_6E9;
                            }
                            @class = new Class49(jtoken);
                        }
                        else
                        {
                            if (!(text == "lacoste us"))
                            {
                                goto IL_6E9;
                            }
                            @class = new Class53(jtoken, "/on/demandware.store/Sites-FlagShip-Site/en_US/");
                        }
                    }
                    else if (num <= 3395413464u)
                    {
                        if (num != 3117874612u)
                        {
                            if (num != 3395413464u)
                            {
                                goto IL_6E9;
                            }
                            if (!(text == "eastbay "))
                            {
                                goto IL_6E9;
                            }
                            @class = new Class51(jtoken, "eastbay.com");
                        }
                        else
                        {
                            if (!(text == "lacoste ie"))
                            {
                                goto IL_6E9;
                            }
                            @class = new Class53(jtoken, "/on/demandware.store/Sites-IE-Site/fr/");
                        }
                    }
                    else if (num != 3491784070u)
                    {
                        if (num != 3987781139u)
                        {
                            if (num != 4224345091u)
                            {
                                goto IL_6E9;
                            }
                            if (!(text == "footlocker ca"))
                            {
                                goto IL_6E9;
                            }
                            @class = new Class47(jtoken, "footlocker.ca");
                        }
                        else
                        {
                            if (!(text == "footlocker us"))
                            {
                                goto IL_6E9;
                            }
                            @class = new Class47(jtoken, "footlocker.com");
                        }
                    }
                    else
                    {
                        if (!(text == "off-white"))
                        {
                            goto IL_6E9;
                        }
                        @class = new Class48(jtoken);
                    }
IL_6FA:
                    if ([email protected]_1)
                    {
                        Class130.dictionary_0[(int)jtoken["id"]] = @class;
                        @class.vmethod_0();
                        continue;
                    }
                    continue;
IL_6E9:
                    @class = new Class52(jtoken, string_0);
                    goto IL_6FA;
                }
            }
        }
        catch
        {
        }
    }
示例#12
0
        // Token: 0x0600144F RID: 5199 RVA: 0x00024F54 File Offset: 0x00023154
        public void DeviceStatusChange(GInterface2 pDevice, Enum1 NewStatus)
        {
            Class47 class47_ = new Class47(pDevice, NewStatus);

            this.class24_0.method_27(this.class24_0, class47_);
        }