Daily update on 20250304-070522 by Nitload Youmu. Additional Message : None

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-03-04 07:05:23 +08:00
parent 825e68853c
commit 5d4f516a28
40 changed files with 299 additions and 233 deletions
+11 -10
View File
@@ -59,7 +59,7 @@ namespace StgSharp
try {
StgSharp.Init();
/*
ExpCompile.InitCompile();
ExpFileSource reader = new ExpFileSource( testExpPath );
ExpSchemaSource schemaSource = new ExpSchemaSource();
@@ -96,23 +96,24 @@ namespace StgSharp
$"{count}\t{str.Flag}\t\t{str.Value.ToString()}" );
}
IScriptSourceProvider slice = st.Slice( 5, 2 );
/*
/**/
/**/
StgSharp.InitGL( 4, 6 );
StgSharp.GlobalSetting.VSyncActivated = false;
ViewPort vp = new ViewPort(800,600,"Hello StgSharp!",IntPtr.Zero);
ViewPort vp = new ViewPort(
800, 600, "Hello StgSharp!", IntPtr.Zero );
//throw new NotImplementedException();
var mul = new StringHashMultiplexer();
IEqualityComparer<string> com = (IEqualityComparer<string>)mul;
StringHashMultiplexer mul = new StringHashMultiplexer();
IEqualityComparer<string> com = mul;
string str = "1234567012345670";
for (int i = 1; i < 100; i++)
{
for( int i = 1; i < 100; i++ ) {
str += $"{(i%8)}";
int hash = mul.ForceComputeHash(str);
Thread.Sleep(20);
int hash = mul.ForceComputeHash( str );
Thread.Sleep( 20 );
}
ViewModelBase mainModel = new ViewModelMain( vp );