Skip to content

update normalization counter bound#19

Merged
ahassany merged 1 commit into
mainfrom
feature/adjust-normalization-counter-bound
Jun 9, 2025
Merged

update normalization counter bound#19
ahassany merged 1 commit into
mainfrom
feature/adjust-normalization-counter-bound

Conversation

@cuihengch

Copy link
Copy Markdown
Contributor

This PR updates a heuristic approach to check not only the limit of u64, but also check if it's wrapped around "half" of u64 limit (max signed long).

unittest scenarios covered in this PR is:

  1. counter reset test
image
  1. counter wrap test
image

@cuihengch
cuihengch requested a review from ahassany June 9, 2025 10:25
@cuihengch cuihengch self-assigned this Jun 9, 2025
@ahassany
ahassany merged commit 65c4817 into main Jun 9, 2025
1 check passed
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