// Token: 0x060005E0 RID: 1504 RVA: 0x000292FC File Offset: 0x000274FC internal static bool smethod_17(Struct8 struct8_0, string string_0, IFormatProvider iformatProvider_0, out DateTimeOffset dateTimeOffset_0) { if (struct8_0.method_2() > 0) { int num = struct8_0.method_1(); if (struct8_0[num] == '/') { if (struct8_0.method_2() >= 9 && struct8_0.smethod_1("/Date(") && struct8_0.smethod_2(")/") && Class25.smethod_21(struct8_0, out dateTimeOffset_0)) { return(true); } } else if (struct8_0.method_2() >= 19 && struct8_0.method_2() <= 40 && char.IsDigit(struct8_0[num]) && struct8_0[num + 10] == 'T' && Class25.smethod_13(struct8_0, out dateTimeOffset_0)) { return(true); } if (!string.IsNullOrEmpty(string_0) && Class25.smethod_22(struct8_0.ToString(), string_0, iformatProvider_0, out dateTimeOffset_0)) { return(true); } } dateTimeOffset_0 = default(DateTimeOffset); return(false); }
// Token: 0x060005DE RID: 1502 RVA: 0x00029140 File Offset: 0x00027340 internal static bool smethod_15(Struct8 struct8_0, DateTimeZoneHandling dateTimeZoneHandling_0, string string_0, IFormatProvider iformatProvider_0, out DateTime dateTime_0) { if (struct8_0.method_2() > 0) { int num = struct8_0.method_1(); if (struct8_0[num] == '/') { if (struct8_0.method_2() >= 9 && struct8_0.smethod_1("/Date(") && struct8_0.smethod_2(")/") && Class25.xkTsxUkKek(struct8_0, dateTimeZoneHandling_0, out dateTime_0)) { return(true); } } else if (struct8_0.method_2() >= 19 && struct8_0.method_2() <= 40 && char.IsDigit(struct8_0[num]) && struct8_0[num + 10] == 'T' && Class25.smethod_12(struct8_0, dateTimeZoneHandling_0, out dateTime_0)) { return(true); } if (!string.IsNullOrEmpty(string_0) && Class25.smethod_20(struct8_0.ToString(), dateTimeZoneHandling_0, string_0, iformatProvider_0, out dateTime_0)) { return(true); } } dateTime_0 = default(DateTime); return(false); }
public override float[][] vmethod_5(int int_12) { if (this.bool_0) { return(null); } float[][] array = new float[(int)this.waveFormat_0.short_0][]; for (int i = 0; i < array.Length; i++) { array[i] = new float[int_12]; } int num = 0; do { int num2 = this.class151_0.class140_0.int_0 - this.int_10; if (num2 > 0) { if (num2 > int_12 - num) { num2 = int_12 - num; } for (int j = 0; j < array.Length; j++) { float[] array2 = array[j]; int[] array3 = this.method_0()[j].vmethod_0(); short short_ = this.waveFormat_0.short_2; if (short_ <= 16) { if (short_ != 8) { if (short_ == 16) { int k = num; int num3 = this.int_10; while (k < num2) { array2[k] = Class11.smethod_7((short)array3[num3]); k++; num3++; } } } else { int l = num; int num4 = this.int_10; while (l < num2) { array2[l] = Class11.smethod_3((byte)array3[num4]); l++; num4++; } } } else if (short_ != 24) { if (short_ == 32) { int m = num; int num5 = this.int_10; while (m < num2) { array2[m] = Class11.smethod_15(array3[num5]); m++; num5++; } } } else { int n = num; int num6 = this.int_10; while (n < num2) { array2[n] = Class11.smethod_11(Struct8.smethod_1(array3[num6])); n++; num6++; } } } num += num2; this.long_1 += (long)num2; this.int_10 += num2; if (num >= int_12) { break; } } }while (this.method_5() != null); if (num == 0) { return(null); } if (num < int_12) { for (int num7 = 0; num7 < array.Length; num7++) { Array.Resize <float>(ref array[num7], num); } } return(array); }
public override int vmethod_4(float[] float_0, int int_12, int int_13) { if (this.bool_0) { return(0); } int num = int_12; int num2 = int_12 + int_13; int short_ = (int)this.waveFormat_0.short_0; do { int num3 = this.class151_0.class140_0.int_0 - this.int_10; if (num3 > 0) { if (num3 > num2 - num) { num3 = num2 - num; } for (int i = 0; i < short_; i++) { int[] array = this.method_0()[i].vmethod_0(); short short_2 = this.waveFormat_0.short_2; if (short_2 <= 16) { if (short_2 != 8) { if (short_2 == 16) { int j = this.int_10; int num4 = num + i; while (j < num3) { float_0[num4] = Class11.smethod_7((short)array[j]); j++; num4 += short_; } } } else { int k = this.int_10; int num5 = num + i; while (k < num3) { float_0[num5] = Class11.smethod_3((byte)array[k]); k++; num5 += short_; } } } else if (short_2 != 24) { if (short_2 == 32) { int l = this.int_10; int num6 = num + i; while (l < num3) { float_0[num6] = Class11.smethod_15(array[l]); l++; num6 += short_; } } } else { int m = this.int_10; int num7 = num + i; while (m < num3) { float_0[num7] = Class11.smethod_11(Struct8.smethod_1(array[m])); m++; num7 += short_; } } } this.long_1 += (long)num3; this.int_10 += num3; num += num3 * short_; if (num >= num2) { break; } } }while (this.method_5() != null); return(num - int_12); }