Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Mirror changes from dotnet/coreclr#28635

Merged
ahsonkhan merged 1 commit into
masterfrom
mirror-merge-9594819
Mar 30, 2018
Merged

Mirror changes from dotnet/coreclr#28635
ahsonkhan merged 1 commit into
masterfrom
mirror-merge-9594819

Conversation

@dotnet-bot
Copy link
Copy Markdown

This PR contains mirrored changes from dotnet/coreclr

Please REBASE this PR when merging

* Use ROSpan.IndexOf as the workhorse for string.IndexOf

* Make changes to Span.IndexOf to follow what string.IndexOf did.

* Address PR feedback.

* Use Unsafe.Read instead of Unsafe.ReadUnaligned.

* Remove special casing for count == 0

* Fix up debug assert to use vector count instead of intptr.size

* Use size of Vector<ushort> instead of Vector<byte>.Count

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
@ahsonkhan
Copy link
Copy Markdown

@dotnet-bot test Linux x64 Release Build

@ahsonkhan
Copy link
Copy Markdown

@dotnet-bot test Linux x64 Release Build
@dotnet-bot test OSX x64 Debug Build
@dotnet-bot test Windows x64 Debug Build
@dotnet-bot test Windows x86 Release Build

@ahsonkhan
Copy link
Copy Markdown

@dotnet-bot test Linux x64 Release Build
@dotnet-bot test Windows x86 Release Build

@ahsonkhan
Copy link
Copy Markdown

@dotnet-bot test Linux x64 Release Build
@dotnet-bot test OSX x64 Debug Build
@dotnet-bot test Windows x64 Debug Build
@dotnet-bot test Windows x86 Release Build

@ahsonkhan ahsonkhan merged commit 1ad8ed9 into master Mar 30, 2018
@ahsonkhan ahsonkhan deleted the mirror-merge-9594819 branch March 30, 2018 17:32
@karelz karelz added this to the 2.1.0 milestone Apr 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants