Skip to content

Commit

Permalink
refactor(shred-network): function spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
dnut committed Jan 22, 2025
1 parent 2fc5b5c commit 14a9b67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shred_network/shred_tracker.zig
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ const bit_set = struct {
fn maskBit(index: usize) ShredSet.MaskInt {
return @as(ShredSet.MaskInt, 1) << @as(ShredSet.ShiftInt, @truncate(index));
}

fn maskIndex(index: usize) usize {
return index >> @bitSizeOf(ShredSet.ShiftInt);
}
Expand Down

0 comments on commit 14a9b67

Please sign in to comment.