当前位置: 首页>>代码示例>>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;未经允许,请勿转载。