Skip to content

Commit 3b33f7e

Browse files
feat(#115): Run dotnet format to fix existing code to match .editorconfig (#128)
* plan(#115): initial brief from issue * plan(#115): review brief * plan(#115): apply brief review feedback * plan(#115): review brief * plan(#115): create task breakdown * chore: apply dotnet format to match .editorconfig * chore: add .git-blame-ignore-revs for formatting commit * feat(#115): implement tasks * feat(#115): complete implementation
1 parent 4da2717 commit 3b33f7e

102 files changed

Lines changed: 371 additions & 361 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# chore: apply dotnet format to match .editorconfig
2+
918154e76131a4db2ba914dc1f725eda7c1d6d72

HdrHistogram.Benchmarking/LeadingZeroCount/BBarry32BitIfShiftLookupWith64BitShiftBranch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@ private static int Log2(uint i)
106106
return Lookup[i];
107107
}
108108
}
109-
}
109+
}

HdrHistogram.Benchmarking/LeadingZeroCount/BBarryIfShiftLookup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ public static int GetLeadingZeroCount(long value)
3333
return 63 - Lookup[value];
3434
}
3535
}
36-
}
36+
}

HdrHistogram.Benchmarking/LeadingZeroCount/DeBruijn128Bits.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ public static int GetLeadingZeroCount(long value)
3232
return 64 - BitSize((ulong)value);
3333
}
3434
}
35-
}
35+
}

HdrHistogram.Benchmarking/LeadingZeroCount/DeBruijn64Bits.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ public static int GetLeadingZeroCount(long value)
111111
return 63 ^ BitScanReverse((ulong)value);
112112
}
113113
}
114-
}
114+
}

HdrHistogram.Benchmarking/LeadingZeroCount/IfAndShift.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ public static ulong CountLeadingZeros(ulong input)
2727
return n;
2828
}
2929
}
30-
}
30+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace HdrHistogram.Benchmarking.LeadingZeroCount
1+
namespace HdrHistogram.Benchmarking.LeadingZeroCount
22
{
33
public class LeadingZeroCount32BitBenchmark : LeadingZeroCountBenchmarkBase
44
{
@@ -7,4 +7,4 @@ public LeadingZeroCount32BitBenchmark()
77
{
88
}
99
}
10-
}
10+
}

HdrHistogram.Benchmarking/LeadingZeroCount/LeadingZeroCount64BitBenchmark.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace HdrHistogram.Benchmarking.LeadingZeroCount
1+
namespace HdrHistogram.Benchmarking.LeadingZeroCount
22
{
33
public class LeadingZeroCount64BitBenchmark : LeadingZeroCountBenchmarkBase
44
{

HdrHistogram.Benchmarking/LeadingZeroCount/LeadingZeroCountBenchmarkBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,4 +251,4 @@ public CalculationExpectation(long value, int expected)
251251
}
252252
}
253253
}
254-
}
254+
}

HdrHistogram.Benchmarking/LeadingZeroCount/Magic32Bit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ private static int Ones(int x)
2323
return (x & 0x0000003f);
2424
}
2525
}
26-
}
26+
}

0 commit comments

Comments
 (0)