You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/contentvalidation/StorageCrc64Calculator.java
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2426,7 +2426,7 @@ public static long compute(byte[] src, int offset, int length, long uCrc) {
2426
2426
longuSize = length;
2427
2427
longuBytes, uStop;
2428
2428
2429
-
uCrc = ~uCrc;
2429
+
uCrc = ~uCrc;// Flip all bits of uCrc
2430
2430
2431
2431
uStop = uSize - (uSize % 32);
2432
2432
if (uStop >= 2 * 32) {
@@ -2442,11 +2442,15 @@ public static long compute(byte[] src, int offset, int length, long uCrc) {
0 commit comments