Using new file structure. Use new regexir display method. Fix line dependency error in prefix analysing.

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2026-07-12 02:04:57 +08:00
parent ae8a09efc2
commit b6cd2fc256
476 changed files with 16440 additions and 502 deletions
+77
View File
@@ -0,0 +1,77 @@
// -----------------------------------------------------------------------------
// file="Program"
// Project: StgSharp
// Copyright (c) Nitload.
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Graphics;
using StgSharp.HighPerformance.Memory;
using StgSharp.Internal;
using StgSharp.Mathematics;
using StgSharp.Mathematics.Numeric;
using StgSharp.Timing;
using StgSharp.Timing;
using System;
namespace StgSharp
{
internal static partial class Program
{
private static bool _hasError;
private static string testExpPath = @"D:\Programmer\stepcode\data\ap203\ap203.exp";
internal static unsafe void Main(
string[] args
)
{
try
{
World.Initialize()
// .UseModule<NumericalModule>()
// .UseModule<GraphicModule>()
.InitializeModule();
TestRegexAnalyse.Run();
// TestHlsf();
// TlsfStressTest.Run();
// TestSwiss();
// TestL4Prefetch();
// TestMatrix();
/**/
}
catch (Exception ex)
{
Console.WriteLine(ex);
_ = Console.ReadLine();
_hasError = true;
/*
World.WriteLog($"{ex}", LogType.Error);
Dialogue.PostError(ex);
/**/
// World.Terminate(-1);
/**/
}
finally
{
if (!_hasError)
{
Console.WriteLine("Program has exited with no error, press any key to exit.");
_ = Console.ReadKey();
}
World.Terminate(0);
}
/**/
}
}
}