Skip to content

Commit

Permalink
javadoc compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
henningandersen committed Apr 25, 2024
1 parent 3c190d1 commit 9a90582
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ public static int toIntBytes(long l) {
}

/**
* Round down the size to the nearest aligned size <= size.
* Round down the size to the nearest aligned size &lt;= size.
*/
public static long roundDownToAlignedSize(long size, long alignment) {
return size / alignment * alignment;
}

/**
* Round up the size to the nearest aligned size >= size
* Round up the size to the nearest aligned size &gt;= size
*/
public static long roundUpToAlignedSize(long size, long alignment) {
return (((size - 1) / alignment) + 1) * alignment;
Expand Down

0 comments on commit 9a90582

Please sign in to comment.