當前位置: 首頁>>代碼示例>>C#>>正文


C# AA類代碼示例

本文整理匯總了C#中AA的典型用法代碼示例。如果您正苦於以下問題:C# AA類的具體用法?C# AA怎麽用?C# AA使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


AA類屬於命名空間,在下文中一共展示了AA類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: test_0_6

 private static byte test_0_6(byte num, AA init, AA zero)
 {
     if (init.q == num)
         return 100;
     else
         return zero.q;
 }
開發者ID:CheneyWu,項目名稱:coreclr,代碼行數:7,代碼來源:body_byte.cs

示例2: test_0_6

 private static short test_0_6(short num, AA init, AA zero)
 {
     if (init.q == num)
         return 100;
     else
         return zero.q;
 }
開發者ID:CheneyWu,項目名稱:coreclr,代碼行數:7,代碼來源:body_short.cs

示例3: test_0_6

 private static float test_0_6(float num, AA init, AA zero)
 {
     if (init.q == num)
         return 100;
     else
         return zero.q;
 }
開發者ID:l1183479157,項目名稱:coreclr,代碼行數:7,代碼來源:body_float.cs

示例4: test_1_6

    static double test_1_6(double num, ref AA r_init, ref AA r_zero) {
        if (r_init.q==num)
            return 100;
        else
            return r_zero.q;
        
    }
開發者ID:CheneyWu,項目名稱:coreclr,代碼行數:7,代碼來源:body_double.cs

示例5: test_1_2

 private static int test_1_2(int num, ref AA r_init, ref AA r_zero)
 {
     if (r_init.q != r_zero.q)
         return 100;
     else
         return r_zero.q.val;
 }
開發者ID:CheneyWu,項目名稱:coreclr,代碼行數:7,代碼來源:body_obj.cs

示例6: test_0_2

 private static int test_0_2(int num, AA init, AA zero)
 {
     if (init.q != zero.q)
         return 100;
     else
         return zero.q.val;
 }
開發者ID:CheneyWu,項目名稱:coreclr,代碼行數:7,代碼來源:body_obj.cs

示例7: test_0_6

 private static long test_0_6(long num, AA init, AA zero)
 {
     if (init.q == num)
         return 100;
     else
         return zero.q;
 }
開發者ID:CheneyWu,項目名稱:coreclr,代碼行數:7,代碼來源:body_safe_long.cs

示例8: test_0_6

 private static double test_0_6(double num, AA init, AA zero)
 {
     if (init.q == num)
         return 100;
     else
         return zero.q;
 }
開發者ID:l1183479157,項目名稱:coreclr,代碼行數:7,代碼來源:body_double.cs

示例9: test_88

 private static unsafe long test_88(AA[,] ab, long i)
 {
     long j = 0;
     fixed (B* pb = &ab[--i, ++j].m_b)
     {
         return AA.get_bv1(pb);
     }
 }
開發者ID:CheneyWu,項目名稱:coreclr,代碼行數:8,代碼來源:unsafe-4.cs

示例10: test_10

 private static unsafe long test_10(AA[,] ab, long i)
 {
     long j = 0;
     fixed (B* pb = &ab[--i, ++j].m_b)
     {
         return pb->m_bval;
     }
 }
開發者ID:l1183479157,項目名稱:coreclr,代碼行數:8,代碼來源:unsafe-3.cs

示例11: reset

    public static void reset() {
        a_init[100] = new AA(100);
        a_zero[100] = new AA(0);
        aa_init[0,99,1] = new AA(100);
        aa_zero[0,99,1] = new AA(0);
        _init = new AA(100);
        _zero = new AA(0);
        BB.f_init = new AA(100);
        BB.f_zero = new AA(0);
    }
開發者ID:CheneyWu,項目名稱:coreclr,代碼行數:10,代碼來源:expl_double_1.cs

示例12: Main

 private static int Main()
 {
     try
     {
         Console.WriteLine("Testing AA::Method4");
         (m_xStatic1 = m_xStatic1).Method4();
     }
     catch (Exception x)
     {
         Console.WriteLine("Exception handled: " + x.ToString());
         return 1;
     }
     Console.WriteLine("Passed.");
     return 100;
 }
開發者ID:CheneyWu,項目名稱:coreclr,代碼行數:15,代碼來源:test.cs

示例13: Main

    public static int Main ()
    {
        I i = new AA ();
        if (i.Foo () != 2)
            return 1;
        
        i = new B ();
        if (i.Foo () != 1)
            return 2;
        
        var m = typeof (B).GetMethod ("Foo");
        Console.WriteLine (m.Attributes);
        if (m.Attributes != (MethodAttributes.Public | MethodAttributes.HideBySig))
            return 3;
        
        return 0;
    }
開發者ID:nobled,項目名稱:mono,代碼行數:17,代碼來源:test-826.cs

示例14: Main

        static int Main() {

        BB bb = new BB ();
        bb.A ();
        bb.B ();
        bb.C ();

        if (!bb.OK)
            return 1;

        AA aa = new AA ();
        aa.A ();
        aa.B ();
        aa.C ();
        if (!aa.OK)
            return 2;

        return 0;
    }
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:19,代碼來源:test-134.cs

示例15: Static1

    public static ulong[] Static1()
    {
        for (App.m_xFwd1=App.m_xFwd1; App.m_bFwd2; App.m_shFwd3-=((short)(121.0)))
        {
            if (App.m_bFwd2)
                do
                {
                    try
                    {
                        uint[,][] local1 = (new uint[88u, 43u][]);
                        do
                        {
                        }
                        while(App.m_bFwd2);
                    }
                    catch (Exception)
                    {
                        AA local2 = new AA();
                    }
                    try
                    {
                        bool local3 = false;
                    }
                    finally
                    {
                        char local4 = '\x5d';
                    }
                }
                while(App.m_bFwd2);
            throw new DivideByZeroException();
        }
        try
        {
        }
        catch (IndexOutOfRangeException)
        {
            byte local5 = ((byte)(26.0));
        }
        return (new ulong[3u]);
    }
開發者ID:l1183479157,項目名稱:coreclr,代碼行數:40,代碼來源:csgen.2.cs


注:本文中的AA類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。