mat
This commit is contained in:
@@ -38,7 +38,7 @@ namespace StgSharp
|
||||
// 仅供 L4 内存安全测试使用。
|
||||
// ====================================================================
|
||||
|
||||
internal sealed unsafe class SequentialPredictor : IPrefetchPredict
|
||||
internal sealed unsafe class SequentialPredictor : IL4Predict
|
||||
{
|
||||
|
||||
private readonly nuint[] _addresses;
|
||||
@@ -313,7 +313,7 @@ namespace StgSharp
|
||||
{
|
||||
nuint[] result = new nuint[count];
|
||||
for (int i = 0; i < count; i++) {
|
||||
result[i] = (nuint)(0x1_0000_0000UL + (ulong)i * 0x1000);
|
||||
result[i] = (nuint)(0x1_0000_0000UL + (((ulong)i) * 0x1000));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user