Add support for Software computed CRC32 #95
Merged
Annotations
11 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build:
src/ZoneTree/Segments/Disk/CircularCache.cs#L25
Member 'statsCacheHit' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Build:
src/ZoneTree/Segments/Disk/CircularCache.cs#L27
Member 'statsCacheMiss' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Build:
src/ZoneTree/Core/ZoneTreeMaintainer.cs#L41
Member 'ThresholdForMergeOperationStart' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Build:
src/ZoneTree/Collections/BTree/BTree.Read.cs#L212
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build:
src/ZoneTree/Collections/BTree/BTree.Read.cs#L231
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build:
src/ZoneTree/Collections/BTree/BTree.Read.cs#L260
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build:
src/ZoneTree/Collections/BTree/BTree.Read.cs#L278
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build:
src/ZoneTree/Serializers/UnicodeStringSerializer.cs#L14
Member 'Deserialize' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
Build:
src/ZoneTree/Options/ZoneTreeOptions.cs#L168
Change return type of method 'ValidateCompressionLevel' from 'System.Exception' to 'Tenray.ZoneTree.Exceptions.CompressionLevelIsOutOfRangeException' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
Build:
src/ZoneTree/Segments/RandomAccess/FileRandomAccessDevice.cs#L62
In member Memory<byte> FileRandomAccessDevice.GetBytes(long offset, int length, SingleBlockPin pin), change parameter name pin to blockPin in order to match the identifier as it has been declared in Memory<byte> IRandomAccessDevice.GetBytes(long offset, int length, SingleBlockPin blockPin = null) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
|
Loading