Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocksize refactoring #18

Merged
merged 2 commits into from
Oct 30, 2024
Merged

Blocksize refactoring #18

merged 2 commits into from
Oct 30, 2024

Conversation

ritikasrivastava
Copy link
Collaborator

  1. Domain sizes may vary
  2. Return block size as largest power of 2, less than the minimum domain size
  3. Verify admin provided blocksize > 0 and <= minimum domain size

1. Domain sizes may vary
2. Return block size as largest power of 2, less than the minimum domain size
3. Verify admin provided blocksize > 0 and <= minimum domain size

Signed-off-by: Ritika Srivastava <[email protected]>
pkg/translate/output.go Outdated Show resolved Hide resolved
pkg/translate/output.go Show resolved Hide resolved
Signed-off-by: Ritika Srivastava <[email protected]>
pkg/translate/output.go Show resolved Hide resolved
pkg/translate/output.go Show resolved Hide resolved
@ritikasrivastava ritikasrivastava merged commit 86913e0 into main Oct 30, 2024
4 checks passed
@ritikasrivastava ritikasrivastava deleted the ritika/blocktopo branch October 30, 2024 18:40
henryh2 pushed a commit that referenced this pull request Oct 30, 2024
* Blocksize refactoring

1. Domain sizes may vary
2. Return block size as largest power of 2, less than the minimum domain size
3. Verify admin provided blocksize > 0 and <= minimum domain size

Signed-off-by: Ritika Srivastava <[email protected]>

* Catch strconv error

Signed-off-by: Ritika Srivastava <[email protected]>

---------

Signed-off-by: Ritika Srivastava <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants