Skip to content

Commit

Permalink
chore: remove redundant words in comment
Browse files Browse the repository at this point in the history
Signed-off-by: goodfirm <[email protected]>
  • Loading branch information
goodfirm authored and ripatel-fd committed Dec 19, 2024
1 parent b22cb75 commit f15ad41
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/ballet/ed25519/avx512/fd_r43x6.h
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ fd_r43x6_pack( fd_r43x6_t r ) {
with limb 5 in [0,2^40+2^20-1).
If x is {unreduced,unpacked,nearly reduced}, limb 4's carry will be
in {[0,2^5),[0,1],[0,1]} such that limb 5 will be be in
in {[0,2^5),[0,1],[0,1]} such that limb 5 will be in
{[0,2^40+2^5-1),[0,2^40+1),[0,2^40+1)}.
If x was reduced, all carries will be zero such that y will have the
Expand Down Expand Up @@ -808,7 +808,7 @@ fd_r43x6_mul_fast( fd_r43x6_t x,
--> ul + 2^52 uh = x*y
--> ul + 2^43 (2^9 uh) = x*y
Thus, we can use pl=ul and and ph=2^9 uh from these instructions as
Thus, we can use pl=ul and ph=2^9 uh from these instructions as
a split for the above. With this we have:
pl in [0,2^52)
Expand Down
2 changes: 1 addition & 1 deletion src/choreo/tower/fd_tower.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
starting from where the cluster thinks we last left off. Conveniently
Funk, our accounts database, stores all the vote accounts including
our own, so on bootstrap we simply load in our vote account state
itself to to initialize our own local view of the tower.
itself to initialize our own local view of the tower.
*Additional Considerations*
Expand Down
2 changes: 1 addition & 1 deletion src/funk/fd_funk_txn.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ fd_funk_txn_update( ulong * _dst_rec_head_idx, /* Pointer to t
fd_funk_partvec_t * partvec, /* ==fd_funk_get_partvec( funk, wksp ) */
fd_alloc_t * alloc, /* ==fd_funk_alloc( funk, wksp ) */
fd_wksp_t * wksp ) { /* ==fd_funk_wksp( funk ) */
/* We don't need to to do all the individual removal pointer updates
/* We don't need to do all the individual removal pointer updates
as we are removing the whole list from txn_idx. Likewise, we
temporarily repurpose txn_cidx as a loop detector for additional
corruption protection. */
Expand Down
2 changes: 1 addition & 1 deletion src/util/pod/fd_pod.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ fd_pod_reset( uchar * pod ) {
Returns the achieved max on success and 0 on failure (pod is NULL,
new_max<pod used). Achieved max is usually new_max but there are
rare edge cases. E.g. pod_max==64, pod_used==64, new_max==65 ... the
pod header needs to be expanded by 3 bytes to to accommodate new_max
pod header needs to be expanded by 3 bytes to accommodate new_max
(and potentially wider pod_used and pod_cnt) but that leaves 2 few
bytes space to encode the existing pod key-val pairs.
Expand Down
2 changes: 1 addition & 1 deletion src/util/spad/fd_spad.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
512 (direct IO) and 4096 (x86 normal pages size).
FD_SPAD_LG_ALIGN is log2 FD_SPAD_ALIGN. Note: FD_SPAD_ALIGN is
declared explicitly to to workaround legacy compiler issues. */
declared explicitly to workaround legacy compiler issues. */

#define FD_SPAD_LG_ALIGN (7)

Expand Down

0 comments on commit f15ad41

Please sign in to comment.