daily update on 20240206 by nitload youmu, token parser change to use regex generator

This commit is contained in:
Nitload
2025-02-06 07:45:06 +08:00
parent 4e5a1b0dfb
commit 7d0470d50b
104 changed files with 2752 additions and 3134 deletions
@@ -28,7 +28,7 @@
//
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Common.Internal.Intrinsic;
using StgSharp.Intrinsic;
using StgSharp.Internal.Intrinsic;
using System;
@@ -71,7 +71,7 @@ namespace StgSharp.Internal
public unsafe byte[] GetBytes()
{
byte[] ret = new byte[16];
fixed( Vector4* vptr = &data.vec ) {
fixed( Vector4* vptr = &data.Vec ) {
byte* bptr = ( byte* )vptr;
for( int i = 0; i < 15; i++ ) {
ret[ i ] = *bptr;
@@ -28,7 +28,7 @@
//
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Common.Internal.Intrinsic;
using StgSharp.Intrinsic;
using StgSharp.Internal.Intrinsic;
using StgSharp.Math;
@@ -90,7 +90,7 @@ namespace StgSharp.Internal
return;
}
for( int i = begin; i < 255; i++ ) {
Data[ i ] = Scaler.Random<byte>(); //TODO: 使用STGSHARP内部随机数工具处理它
Data[ i ] = Scaler.Random<byte>();
}
}
@@ -136,7 +136,7 @@ namespace StgSharp.Internal
}
}
M128 m = new M128( v );
DataHash = m.vec.GetHashCode();
DataHash = m.Vec.GetHashCode();
return DataHash;
}