当前位置: 首页>>代码示例>>C#>>正文


C# Class1.method_5方法代码示例

本文整理汇总了C#中Class1.method_5方法的典型用法代码示例。如果您正苦于以下问题:C# Class1.method_5方法的具体用法?C# Class1.method_5怎么用?C# Class1.method_5使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Class1的用法示例。


在下文中一共展示了Class1.method_5方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: smethod_9

			public static Class1.Class14[] smethod_9(Class1.Class14 class14_0, Class1.Class14 class14_1)
			{
				if (Class1.Class14.Class16.smethod_4(class14_0, class14_1) == (Class1.Class14.Enum2)(-1))
				{
					return new Class1.Class14[]
					{
						0,
						new Class1.Class14(class14_0)
					};
				}
				class14_0.method_5();
				class14_1.method_5();
				if (class14_1.uint_0 == 1u)
				{
					return Class1.Class14.Class16.smethod_8(class14_0, class14_1.uint_1[0]);
				}
				uint num = class14_0.uint_0 + 1u;
				int num2 = (int)(class14_1.uint_0 + 1u);
				uint num3 = 2147483648u;
				uint num4 = class14_1.uint_1[(int)((UIntPtr)(class14_1.uint_0 - 1u))];
				int num5 = 0;
				int num6 = (int)(class14_0.uint_0 - class14_1.uint_0);
				while (num3 != 0u && (num4 & num3) == 0u)
				{
					num5++;
					num3 >>= 1;
				}
				Class1.Class14 @class = new Class1.Class14((Class1.Class14.Enum2)1, class14_0.uint_0 - class14_1.uint_0 + 1u);
				Class1.Class14 class2 = class14_0 << num5;
				uint[] uint_ = class2.uint_1;
				class14_1 <<= num5;
				int i = (int)(num - class14_1.uint_0);
				int num7 = (int)(num - 1u);
				uint num8 = class14_1.uint_1[(int)((UIntPtr)(class14_1.uint_0 - 1u))];
				ulong num9 = (ulong)class14_1.uint_1[(int)((UIntPtr)(class14_1.uint_0 - 2u))];
				while (i > 0)
				{
					ulong num10 = ((ulong)uint_[num7] << 32) + (ulong)uint_[num7 - 1];
					ulong num11 = num10 / (ulong)num8;
					ulong num12 = num10 % (ulong)num8;
					do
					{
						if (num11 != 4294967296uL)
						{
							if (num11 * num9 <= (num12 << 32) + (ulong)uint_[num7 - 2])
							{
								break;
							}
						}
						num11 -= 1uL;
						num12 += (ulong)num8;
					}
					while (num12 < 4294967296uL);
					IL_177:
					uint num13 = 0u;
					int num14 = num7 - num2 + 1;
					ulong num15 = 0uL;
					uint num16 = (uint)num11;
					do
					{
						num15 += (ulong)class14_1.uint_1[(int)((UIntPtr)num13)] * (ulong)num16;
						uint num17 = uint_[num14];
						uint_[num14] -= (uint)num15;
						num15 >>= 32;
						if (uint_[num14] > num17)
						{
							num15 += 1uL;
						}
						num13 += 1u;
						num14++;
					}
					while ((ulong)num13 < (ulong)((long)num2));
					num14 = num7 - num2 + 1;
					num13 = 0u;
					if (num15 != 0uL)
					{
						num16 -= 1u;
						ulong num18 = 0uL;
						do
						{
							num18 = (ulong)uint_[num14] + (ulong)class14_1.uint_1[(int)((UIntPtr)num13)] + num18;
							uint_[num14] = (uint)num18;
							num18 >>= 32;
							num13 += 1u;
							num14++;
						}
						while ((ulong)num13 < (ulong)((long)num2));
					}
					@class.uint_1[num6--] = num16;
					num7--;
					i--;
					continue;
					goto IL_177;
				}
				@class.method_5();
				class2.method_5();
				Class1.Class14[] array = new Class1.Class14[]
				{
					@class,
					class2
//.........这里部分代码省略.........
开发者ID:akordowski,项目名称:Source-Code-Nitriq,代码行数:101,代码来源:Class1.cs

示例2: smethod_3

			public static void smethod_3(Class1.Class14 class14_0, Class1.Class14 class14_1)
			{
				uint num = 0u;
				bool flag = false;
				uint[] uint_;
				uint uint_2;
				uint[] uint_3;
				uint uint_4;
				if (class14_0.uint_0 < class14_1.uint_0)
				{
					flag = true;
					uint_ = class14_1.uint_1;
					uint_2 = class14_1.uint_0;
					uint_3 = class14_0.uint_1;
					uint_4 = class14_0.uint_0;
				}
				else
				{
					uint_ = class14_0.uint_1;
					uint_2 = class14_0.uint_0;
					uint_3 = class14_1.uint_1;
					uint_4 = class14_1.uint_0;
				}
				uint[] uint_5 = class14_0.uint_1;
				ulong num2 = 0uL;
				do
				{
					num2 += (ulong)uint_[(int)((UIntPtr)num)] + (ulong)uint_3[(int)((UIntPtr)num)];
					uint_5[(int)((UIntPtr)num)] = (uint)num2;
					num2 >>= 32;
				}
				while ((num += 1u) < uint_4);
				bool flag2;
				if (flag2 = (num2 != 0uL))
				{
					if (num < uint_2)
					{
						do
						{
							flag2 = ((uint_5[(int)((UIntPtr)num)] = uint_[(int)((UIntPtr)num)] + 1u) == 0u);
						}
						while ((num += 1u) < uint_2 && flag2);
					}
					if (flag2)
					{
						uint_5[(int)((UIntPtr)num)] = 1u;
						class14_0.uint_0 = num + 1u;
						return;
					}
				}
				if (flag && num < uint_2 - 1u)
				{
					do
					{
						uint_5[(int)((UIntPtr)num)] = uint_[(int)((UIntPtr)num)];
					}
					while ((num += 1u) < uint_2);
				}
				class14_0.uint_0 = uint_2 + 1u;
				class14_0.method_5();
			}
开发者ID:akordowski,项目名称:Source-Code-Nitriq,代码行数:61,代码来源:Class1.cs

示例3: smethod_5

			public static uint smethod_5(Class1.Class14 class14_0, uint uint_0)
			{
				ulong num = 0uL;
				uint uint_ = class14_0.uint_0;
				while (uint_-- > 0u)
				{
					num <<= 32;
					num |= (ulong)class14_0.uint_1[(int)((UIntPtr)uint_)];
					class14_0.uint_1[(int)((UIntPtr)uint_)] = (uint)(num / (ulong)uint_0);
					num %= (ulong)uint_0;
				}
				class14_0.method_5();
				return (uint)num;
			}
开发者ID:akordowski,项目名称:Source-Code-Nitriq,代码行数:14,代码来源:Class1.cs

示例4: method_0

			public void method_0(Class1.Class14 class14_2)
			{
				Class1.Class14 @class = this.class14_0;
				uint uint_ = @class.uint_0;
				uint num = uint_ + 1u;
				uint num2 = uint_ - 1u;
				if (class14_2.uint_0 < uint_)
				{
					return;
				}
				if ((long)class14_2.uint_1.Length < (long)((ulong)class14_2.uint_0))
				{
					throw new IndexOutOfRangeException("x out of range");
				}
				Class1.Class14 class2 = new Class1.Class14((Class1.Class14.Enum2)1, class14_2.uint_0 - num2 + this.class14_1.uint_0);
				Class1.Class14.Class16.smethod_13(class14_2.uint_1, num2, class14_2.uint_0 - num2, this.class14_1.uint_1, 0u, this.class14_1.uint_0, class2.uint_1, 0u);
				uint uint_2 = (class14_2.uint_0 > num) ? num : class14_2.uint_0;
				class14_2.uint_0 = uint_2;
				class14_2.method_5();
				Class1.Class14 class3 = new Class1.Class14((Class1.Class14.Enum2)1, num);
				Class1.Class14.Class16.smethod_14(class2.uint_1, (int)num, (int)(class2.uint_0 - num), @class.uint_1, 0, (int)@class.uint_0, class3.uint_1, 0, (int)num);
				class3.method_5();
				if (class3 <= class14_2)
				{
					Class1.Class14.Class16.smethod_2(class14_2, class3);
				}
				else
				{
					Class1.Class14 class4 = new Class1.Class14((Class1.Class14.Enum2)1, num + 1u);
					class4.uint_1[(int)((UIntPtr)num)] = 1u;
					Class1.Class14.Class16.smethod_2(class4, class3);
					Class1.Class14.Class16.smethod_3(class14_2, class4);
				}
				while (class14_2 >= @class)
				{
					Class1.Class14.Class16.smethod_2(class14_2, @class);
				}
			}
开发者ID:akordowski,项目名称:Source-Code-Nitriq,代码行数:38,代码来源:Class1.cs


注:本文中的Class1.method_5方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。