Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
6c7ffe7
Added initial version of Memory.Cast
Sergio0694 Oct 4, 2020
87c16a8
Code refactoring
Sergio0694 Oct 4, 2020
ccab26b
Added the extension for ReadOnlyMemory<T>
Sergio0694 Oct 4, 2020
caca3b1
Added missing file headers
Sergio0694 Oct 4, 2020
77f203f
Added validation for Pin methods
Sergio0694 Oct 4, 2020
79665cd
Fixed type constraints for [ReadOnly]Span<T>.Cast
Sergio0694 Oct 4, 2020
db31e98
Added [ReadOnly]Memory<T>.AsBytes extensions
Sergio0694 Oct 4, 2020
ba22d22
Optimized [ReadOnly]Memory<T> cast to source T
Sergio0694 Oct 4, 2020
53cb75f
Fixed offset/length computation with double cast
Sergio0694 Oct 4, 2020
b904790
Added some unit tests
Sergio0694 Oct 4, 2020
ba514b0
Added unit test with types != byte
Sergio0694 Oct 4, 2020
c523742
Added unit tests for slices and MemoryManager<T>
Sergio0694 Oct 4, 2020
ae2844a
Bug fixed in Pin methods, added unit tests
Sergio0694 Oct 4, 2020
62d1a2a
Added support for casting Memory<char> from string
Sergio0694 Oct 5, 2020
46c0273
Merge branch 'master' into feature/memory-cast
Sergio0694 Oct 5, 2020
aa895a4
Added unit tests for StringMemoryManager<TTo>
Sergio0694 Oct 5, 2020
be5312d
Merge branch 'master' into feature/memory-cast
Sergio0694 Oct 6, 2020
7184fe2
Added comments to unit tests
Sergio0694 Oct 30, 2020
12ae446
Merge branch 'master' into feature/memory-cast
Sergio0694 Nov 5, 2020
cad806c
Fixed an issue with an XML comment
Sergio0694 Nov 6, 2020
259418b
Minor codegen improvements
Sergio0694 Nov 6, 2020
5aa217f
Merge branch 'master' into feature/memory-cast
Rosuavio Nov 12, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added missing file headers
  • Loading branch information
Sergio0694 committed Oct 4, 2020
commit caca3b1232bfe8b939f729fedf909629479776af
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.Buffers;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System.Buffers;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System.Buffers;

namespace Microsoft.Toolkit.HighPerformance.Buffers.Internals.Interfaces
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.Buffers;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down