Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use u8 in a few more places#70568

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
stephentoub merged 1 commit intodotnet:mainfromstephentoub:afewmoreu8
Jun 11, 2022
Merged

Conversation

stephentoub
Copy link
Member

No description provided.

@ghostghost added the area-Meta labelJun 10, 2022
@ghost
Copy link

Tagging subscribers to this area: @dotnet/area-meta
See info inarea-owners.md if you want to be subscribed.

Issue Details

null

Author:stephentoub
Assignees:-
Labels:

area-Meta

Milestone:-

(byte)'i', (byte)'j', (byte)'k', (byte)'l', (byte)'m', (byte)'n', (byte)'o', (byte)'p',
(byte)'q', (byte)'r', (byte)'s', (byte)'t', (byte)'u', (byte)'v', (byte)'w', (byte)'x',
(byte)'y', (byte)'z', (byte)'0', (byte)'1', (byte)'2', (byte)'3', (byte)'4', (byte)'5' };
private static ReadOnlySpan<byte> Base32Char => "abcdefghijklmnopqrstuvwxyz012345"u8;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

ended up looking at Populate83FileNameFromRandomBytes. do you know why it's taking bits of the random bytes in such a peculiarly special way? why doesn't it just take as many bytes as it needs, skip any beyond a multiple of the length of this array, and just modulo over this array? perhaps because random bytes gotten this way are expensive?

@stephentoubstephentoub merged commit35717a3 intodotnet:mainJun 11, 2022
@stephentoubstephentoub deleted the afewmoreu8 branchJune 11, 2022 03:15
@ghostghost locked asresolvedand limited conversation to collaboratorsJul 11, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@danmoseleydanmoseleydanmoseley approved these changes

Assignees

@stephentoubstephentoub

Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@stephentoub@danmoseley

[8]ページ先頭

©2009-2025 Movatter.jp