-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose IUtf8SpanParsable and implement it on the primitive numeric ty…
…pes (#86875) * Expose IUtf8SpanParsable * Have INumberBase implement IUtf8SpanParsable * Deduplicate some floating-point parsing logic * Refactoring the primitive parsing logic to support UTF-8 * Updating the primitive numeric types to include UTF-8 parsing support * Adding tests covering the new UTF-8 parsing support * Ensure that tests don't try to capture a span in lambda * Ensure that MatchChars does the right thing * Account for the switch from string to ROSpan<TChar> for currSymbol * Ensure EqualsIgnoreCaseUtf8_Scalar handles the remaining elements correctly * Allow alloc-free conversion for the UTF8 parsing fallback paths * Remove unnecessary attributes and ensure trailing elements are correctly handled * Fix the handling of UTF8 as per the feedback * Fix a slightly broken merge * Ensure the lengths are properly checked on the ASCII path * Ensure that length is defined for 32-bit * Responding to PR feedback and allow invalid sequences to self match * Fixing a copy/paste error * Fixing a build failure due to not assigning the out parameter
- Loading branch information
1 parent
5464296
commit 1dd0fa2
Showing
54 changed files
with
3,446 additions
and
948 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.