Age | Commit message (Collapse) | Author |
|
|
|
dotnet/darc-master-be4ecac4-471a-4e11-961e-78e7628e8c2c
Update dependencies from dotnet/coreclr
(cherry picked from commit 09986997bfa24b73fcffbbdabe363cea60d53eff)
|
|
* Expose Index and Range with adding tests
* More tests and more exposed APIs
* More changes
* address feedback
* Fix ApiCompat break
* Fix UAPAOT app compat
(cherry picked from commit 75a6b034b4a478db5bb50d6cd618cecabbf3ecf1)
|
|
|
|
|
|
|
|
on Mono. (#55)
See https://github.com/mono/mono/issues/8710 for details.
|
|
|
|
null next segment (#29205)
* Fix bug in ReadOnlySequence Slice(SequencePosition start, long length) for null next segment
* Add object comparison asserts to the tests.
* Fix exception argument for out of range.
|
|
ReadOnlySequence.Slice (#29135)
* Added Slice tests and fixed Slice bounds checking issues
* Reverted CheckEndReachable
* Removed alway true Assert
* Removed fantom tabs
* Current playground
* Optimize all ReadOnlySequence slice APIs
* Tweak some of optimizations and move BoundsCheck
* Address PR feedback.
* Remove CheckEndReachable and its uses
* Revert changes to Slice(pos) and BoundsCheck
* Revert changes to performance tests csproj
* Address PR feedback - move helpers to the right place and fix throw arguments
|
|
|
|
|
|
* Removed common tests from factory tests
* Added commen tests for char type
* Used var
|
|
* Add GetPinnableReference to ref and add tests
* Update tests and fix portable implementation
* Address PR feedback - Add test to confirm empty span returns null ptr.
* Update System.Runtime ref to include new APIs.
* Comment out tests that use span in a fixed statement until we get C# 7.3
* Add to api compat baseline for uapaot and add null check for portable span.
* Address PR feedback: move unsafe block into function signature
* Address PR feedback.
|
|
|
|
beta-26411-01, beta-26411-01, respectively (master) (#29041)
* Update CoreClr, ProjectNTfs, ProjectNTfsTestILC to preview3-26412-01, beta-26411-01, beta-26411-01, respectively
* Remove MemoryManager.Length (dotnet/coreclr#17498)
* Remove MemoryManager.Length
* Feedback
* XML comment nits
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
* Remove MemoryManager.Length
* Fix tests
* Fix pipline tests
* Change tests for new api
* Feedback
* Fix ref/tests
* Remove Memory<byte> properties in tests that shouldn't be there.
* Update the Api Compat Baselines for uapaot
|
|
* Add CreateFromPinnedArray to System.Memory ref and add tests
* Update CreateFromPinnedArray tests
* Removing asserts on unpinned array since there is no guarantee that GC will move it.
* Add CreateFromPinnedArray to MemoryMarshal (dotnet/coreclr#17500)
* Add CreateFromPinnedArray to MemoryMarshal
* Address PR feedback: Add a warning remark to CreateFromPinnedArray
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
* Fixing bug in Memory.Pin and adding API to uapaot baseline
|
|
|
|
* Update the System.Runtime and System.Memory ref based on new buildtools
* Fix HttpContent TryGetBuffer and update System.Runtime ref
* Update System.Memory ref and fix PipeAwaitable (assign CancellationTokenRegistration)
* Fix 'use of unassigned local' error in System.Memory performance tests
|
|
|
|
callsites (#28962)
|
|
|
|
(#28880)
* Fix MemoryManager ctor, add unit and perf tests, and improve performance.
* Remove Dangerous Span Ctor
* Fix sort order in csproj and rename Perf.MemorySlice.cs to Perf.Memory.Slice
* Fix MemoryManager ctor and use internal span ctor to improve performance (#17452)
* Fix MemoryManager ctor, add unit and perf tests, and use internal span ctor.
* Address PR feedback (remove use of Unsafe.As and Dangerous Span Ctor)
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
|
|
* Created tests for default and empty ReadOnlySequence
* using
* Added comments
* Renamed method ThrowArgumentValidationException to ThrowStartOrEndArgumentValidationException
* Splitted tests for Empty and Default into separated files
* Review issues
* Added brackets
|
|
|
|
* Created performance tests for ReadOnlySequence
* Review issues
* Removed InnerCount * 10
|
|
* Add {ReadOnly}Memory.Span tests when memory contains invalid values
* Address PR feedback
|
|
|
|
|
|
|
|
* ArrayMemoryPoolBuffer should only implement IMemoryOwner<T>
* React pipelines to changes
|
|
(#28674)
* Add tests for calling Span APIs via reflection to verify graceful failures.
* Add Span reflection tests to verify graceful failures
* Address PR feedback (test cleanup and rename)
* Fix up some test names
* Minor tweak: Reorder the tests
* Exclude running the reflection tests for portable span (netfx)
* Remove unused constant from csproj
|
|
* Update IRetainable, OwnedMemory, and MemoryHandle APIs
* Split OwnedMemory into MemoryManager and IMemoryOwner
* Update ReadOnlySequence, ArrayMemoryPool, and BufferSegment
* Update System.Memory and System.IO.Pipeline tests
* Temporarily skipping the failing Pipelines tests until impl is corrected.
* Update the reference assembly to match implementation and cleanup
* Update API compat baseline for UAPAOT and add GenFacadesIgnoreMissingTypes
* Fix the System.Runtime ref
* Add back the Pin methods to the uapaot api compat baseline
* Clone the API compat baseline from uapaot and add it for uap as well.
* Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview3-02630-01, preview3-26330-08, preview3-26330-06, preview3-26330-04, beta-26330-00, beta-26330-00, respectively
* Fix pipelines tests and update the api compat baseline shim for uapaot
* Add empty Unpin override to pipe pool test.
* Fix the System.Net.Http Functional tests
|
|
(#28347)
* Leverage existing string API tests to improve coverage of span-based APIs
* Cannot use implicit cast from string to ReadOnlySpan for other runtimes, like netfx. Therefore, explicitly call AsSpan.
* Address PR feedback.
* Fix RemoteInvoke to work with theory and uncomment tests for #10066
|
|
* Adding Memory.Pin() to eventually replace Memory.Retain(bool) (#17269)
* Adding Memory.Pin() to eventually replace Memory.Retain(bool)
* Fix copy/paste error and return default for when object is null.
* Fix XML comments.
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
* Add Memory.Pin to the ref and add tests.
* Add Pin tests
* Update calls to Retain(true) to now call Pin()
* Remove extra space in tests.
* Add Pin to the ApiCompatBaseline for uapaot.
|
|
* 'value' to 'other': bool System.IEquatable<System.UIntPtr>.Equals(UIntPtr value);
* 'value' to 'other': bool System.IEquatable<System.IntPtr>.Equals(IntPtr value);
* 'arraySegment' to 'segment': public static implicit operator Memory<T> (ArraySegment<T> arraySegment);
* 'arraySegment' to 'segment': protected internal abstract bool TryGetArray(out ArraySegment<T> arraySegment);
* [optional in test] 'arraySegment' to 'segment':
override bool TryGetArray(out ArraySegment<T> arraySegment)
|
|
* Update uses of AsBytes to use MemoryMarshal.AsBytes
* Cleanup commented out code
* Remove AsBytes from MemoryExtensions Portable
|
|
* Small tweaks to Dict asm size (dotnet/coreclr#17096)
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
* Moving Span APIs that allow skipping visibility checks to MemoryMarshal (#17087)
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
* Improve DateTime{Offset} "r" and "o" formatting performance (#17092)
Two main changes:
1. Rewrote the formatting to use span, only to then discover that we already had almost exactly the same implementation in Utf8Formatter. As that one had some extra optimizations around JIT behaviors, I ported that over instead.
2. Avoided [ThreadStatic] lookups unless necessary.
ToString/TryFormat for "o"/"O" improve by ~2.5x.
ToString/TryFormat for "r"/"R" improve by ~3x.
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
* Rename {Try}Read/WriteMachineEndian to just {Try}Read/Write (#17106)
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
* Fix incorrect array dereference. (dotnet/coreclr#17113)
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
* Move Span APIs that allow skipping visibility checks to MemoryMarshal
* Rename {Try}Read/WriteMachineEndian to just {Try}Read/Write
* Update calls to BinaryPrimitives.ReadMachineEndian
* Rename calls to ReadMachineEndian in System.Memory perf tests.
* Add ApiCompatBaseline for UWP NETNative
* Add to ApiCompatBaseline for UWP NETNative netstandard20
|
|
string (#28320)
* Added SequenceCompareTo tests for types bool, char, int, long and string
* Removed a TraitAttribute
* Changed explicit type names to 'var' when on the left side of a constructor
* Removed redundants tests in SequenceCompareTo.T
* Moved tests from SequenceCompareTo.String.cs to SequenceCompareTo.T.cs
* Moved <Compile> items to the correct ItemGroup
* Change some Span to ReadOnlySpan
* Added ReadOnlySpan.SequenceCompareTo tests
* Changed test values to match int & long types.
* Changed test values to match int & long types.
|
|
|
|
* Don't skip blocks passed end and simplify the Seek implementation.
* Update the comment to reflect the code change
* Skip the unnecessary checks after we break from the looop by using a goto
|
|
(#28239)
* Optimize the string-like Span APIs for OrdinalIgnoreCase (portable Span)
* Addressing PR feedback
|
|
|
|
for T != byte (#28080)
* Adding IsTypeNumeric helper
* Add more NUint operations and use IsTypeNumeric everywhere.
* Revert addition of LangVersion 7.2
* Fix formatting
* Revert use of nuint and IsNumericType for *IndexOf* APIs
* Fix comment, undo leftover changes, and fix indentation.
* Address PR feedback - use nuint where possible.
* PR feedback - Cleanup SequenceEqual just like SequenceCompareTo
* Add new NUInt operations for netcoreapp/coreclr mirror.
* Address PR feedback
* Add T = char and T = long tests for StartsWith and EndsWith
|
|
|
|
|
|
|
|
* Optimize MemoryExtensions SequenceEqual for more T's
https://github.com/dotnet/corefx/issues/27487
* Add testcoverage for SequenceEqual<long>
* Remove #if BIT64 dependency for netstandard
|
|
|
|
|