Skip to content

Commit cb00436

Browse files
authored
Rename UInt64 to ulong
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 7aeb405 commit cb00436

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

HashifyNet/Algorithms/BuzHash/DefaultBuzHashConfig.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ public class DefaultBuzHashConfig
3939
: IBuzHashConfig
4040
{
4141
/// <summary>
42-
/// Gets a list of <c>256</c> (preferably random and distinct) <see cref="UInt64"/> values.
42+
/// Gets a list of <c>256</c> (preferably random and distinct) <see cref="ulong"/> values.
4343
/// </summary>
4444
/// <value>
45-
/// List of 256 <see cref="UInt64"/> values.
45+
/// List of 256 <see cref="ulong"/> values.
4646
/// </value>
4747
/// <remarks>
4848
/// Defaults to a statically defined, random chosen of values.
4949
/// </remarks>
50-
public IReadOnlyList<UInt64> Rtab { get; } = _Rtab;
50+
public IReadOnlyList<ulong> Rtab { get; } = _Rtab;
5151

5252
/// <summary>
5353
/// Gets the desired hash size, in bits.
@@ -69,7 +69,7 @@ public class DefaultBuzHashConfig
6969
/// <remarks>
7070
/// Defaults to <c>0x3CD05367FD0337D3UL</c>
7171
/// </remarks>
72-
public UInt64 Seed { get; set; } = 0x3CD05367FD0337D3UL;
72+
public ulong Seed { get; set; } = 0x3CD05367FD0337D3UL;
7373

7474
/// <summary>
7575
/// Gets the shift direction.
@@ -82,8 +82,8 @@ public class DefaultBuzHashConfig
8282
/// </remarks>
8383
public CircularShiftDirection ShiftDirection { get; set; } = CircularShiftDirection.Left;
8484

85-
private static readonly IReadOnlyList<UInt64> _Rtab =
86-
new UInt64[] {
85+
private static readonly IReadOnlyList<ulong> _Rtab =
86+
new ulong[] {
8787
0xBDBF3FFFDEEF8A14, 0xFFB5AC3C0DB31F7F, 0x7BF7207BF73C4D2E, 0xADBFFF96358377F6,
8888
0xC6BF8D442C4FD166, 0x7EB1EFF12B7D81F9, 0x88024802AB9F22C2, 0x2191221208E98495,
8989
0xA9377F55EBA6AE60, 0x2954721569FD66AE, 0xB109C13854720646, 0x42088A01BE975A1D,
@@ -162,4 +162,4 @@ public IBuzHashConfig Clone() =>
162162
ShiftDirection = ShiftDirection
163163
};
164164
}
165-
}
165+
}

0 commit comments

Comments
 (0)