daily update on 20240206 by nitload youmu, token parser change to use regex generator
This commit is contained in:
@@ -54,7 +54,7 @@ namespace StgSharp.Internal
|
||||
ReadOnlySpan<char> nameSpan = _name.AsSpan();
|
||||
fixed( char* cptr = nameSpan ) {
|
||||
return InternalIO.Intrinsic
|
||||
.cityhash_simplify( cptr, _name.Length );
|
||||
.city_hash_simplify( cptr, _name.Length );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
//
|
||||
//-----------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------
|
||||
using StgSharp.Common.Internal.Intrinsic;
|
||||
using StgSharp.Internal.Intrinsic;
|
||||
using StgSharp.Intrinsic;
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
@@ -40,7 +40,7 @@ using System.Transactions;
|
||||
using System.Xml;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace StgSharp.Internal
|
||||
namespace StgSharp.Data
|
||||
{
|
||||
public class RandomGenerator
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user