Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-04Remove Span/Memory indexer testsEgor Bogatov
2019-02-12Merge pull request #35207 from ↵Stephen Toub
dotnet/darc-master-be4ecac4-471a-4e11-961e-78e7628e8c2c Update dependencies from dotnet/coreclr (cherry picked from commit 09986997bfa24b73fcffbbdabe363cea60d53eff)
2019-02-12Expose Index and Range with adding tests (#33352)Tarek Mahmoud Sayed
* 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)
2018-09-19Reenable some decimal-related System.Memory tests on monoEgorBo
2018-07-11Disables one more Turkish testMarek Safar
2018-06-29Disables more turkish tests on mono for nowMarek Safar
2018-05-14[System.Memory]: Disable System.Buffers.Text.Tests.TestData.DecimalTestData ↵Martin Baulig
on Mono. (#55) See https://github.com/mono/mono/issues/8710 for details.
2018-04-22Merge remote-tracking branch 'upstream/release/2.1'Marek Safar
2018-04-19Fix bug in ReadOnlySequence Slice(SequencePosition start, long length) for ↵Ahson Khan
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.
2018-04-19Attempt at winning back performance regression from additional checks in ↵Ahson Khan
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
2018-04-18Remove != and == from SequencePosition (#29115) (#29184)Pavel Krymets
2018-04-16Update the Slice performance tests to only measure the Slice method (#29133)Ahson Khan
2018-04-13I removed ReadOnlySequence common tests from factory tests (#29058)Alexander Radchenko
* Removed common tests from factory tests * Added commen tests for char type * Used var
2018-04-13Add GetPinnableReference to ref and add tests (#29003)Ahson Khan
* 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.
2018-04-13Collapse leftover AsSpan().Slice(...) into AsSpan(...) (#29078)Ahson Khan
2018-04-12Update CoreClr, ProjectNTfs, ProjectNTfsTestILC to preview3-26412-01, ↵dotnet-maestro-bot
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
2018-04-11Add CreateFromPinnedArray to System.Memory ref and add tests (#28992)Ahson Khan
* 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
2018-04-11Removing SequenceMarshal.TryGetMemoryManager for ReadOnlySequence (#28990)Ahson Khan
2018-04-11Update the System.Runtime and System.Memory ref based on new buildtools (#28906)Ahson Khan
* 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
2018-04-11Disable tests which are not platform specific but implementation specificMarek Safar
2018-04-10Fix TODO to cleanup Tests by removing AsReadOnySpan/Memory and update ↵Ahson Khan
callsites (#28962)
2018-04-10Merge remote-tracking branch 'upstream/release/2.1' into 2.1-mergeMarek Safar
2018-04-10Fix MemoryManager ctor, add unit and perf tests, and improve performance ↵Ahson Khan
(#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>
2018-04-10Created tests for default and empty ReadOnlySequence (#28702)Alexander Radchenko
* 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
2018-04-10ReadOnlySequence.ToString() and debug view (#28857)Pavel Krymets
2018-04-10Created performance tests for ReadOnlySequence (#28927)Alexander Radchenko
* Created performance tests for ReadOnlySequence * Review issues * Removed InnerCount * 10
2018-04-09Add {ReadOnly}Memory.Span tests when memory contains invalid values (#28896)Stephen Toub
* Add {ReadOnly}Memory.Span tests when memory contains invalid values * Address PR feedback
2018-04-09Fix typo 'segement' to 'segment' (#28916)Joni
2018-04-06Add tests for Span.Overlaps (just like ReadOnlySpan) (#28877)Ahson Khan
2018-04-03Disable few tests due to Mono bugs in string collationMarek Safar
2018-04-02ArrayMemoryPoolBuffer should only implement IMemoryOwner<T> (#28690)Ben Adams
* ArrayMemoryPoolBuffer should only implement IMemoryOwner<T> * React pipelines to changes
2018-03-31Add tests for calling Span APIs via reflection to verify graceful failures. ↵Ahson Khan
(#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
2018-03-31Split OwnedMemory into MemoryManager and IMemoryOwner (#28640)Ahson Khan
* 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
2018-03-29Leverage existing string API tests to improve coverage of span-based APIs ↵Ahson Khan
(#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
2018-03-29Mirror changes from dotnet/coreclr (#28534)dotnet bot
* 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.
2018-03-28Nit changes in API diff between .NET Core 2.0 and .NET Core 2.1 (#28540)Maryam Ariyan
* '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)
2018-03-26Update uses of AsBytes to use MemoryMarshal.AsBytes (#28460)Ahson Khan
* Update uses of AsBytes to use MemoryMarshal.AsBytes * Cleanup commented out code * Remove AsBytes from MemoryExtensions Portable
2018-03-23Mirror changes from dotnet/coreclr (#28384)dotnet bot
* 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
2018-03-23 Added Span.SequenceCompareTo tests for types bool, char, int, long and ↵Sébastien Putier
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.
2018-03-22Fix skipping last segment logic in ROS.TryGet (#28266)Pavel Krymets
2018-03-22Don't skip blocks passed end and simplify the Seek implementation. (#28294)Ahson Khan
* 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
2018-03-22Optimize the string-like Span APIs for OrdinalIgnoreCase (portable Span) ↵Ahson Khan
(#28239) * Optimize the string-like Span APIs for OrdinalIgnoreCase (portable Span) * Addressing PR feedback
2018-03-21Don't run LargeArray test on 32 bit platforms. (#28237)Levi Broderick
2018-03-16Use vectorized T=byte implementations to optimize all MemoryExtensions APIs ↵Ahson Khan
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
2018-03-16Skip large arrays test on full framework (#28126)Levi Broderick
2018-03-15Port SequentialEqual() optimizations to ReadOnlySpan overloads (#28073)Atsushi Kanamori
2018-03-14Fix incorrect bounds check in ArrayMemoryPoolBuffer.Pin (#28032)Levi Broderick
2018-03-12Optimize MemoryExtensions SequenceEqual for more T's (#27859)Atsushi Kanamori
* 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
2018-03-10Move MutableDecimal from System.Memory to Common (#27917)Ahson Khan
2018-03-09Collapse AsSpan().Slice(...) into .AsSpan(...) (#27867)Tarek Mahmoud Sayed