Commit Graph
2284 Commits
Author SHA1 Message Date
Sergio Pedri 85c8c28e10 Fixed RefEnumerable<T>.ToArray 2020-10-08 22:58:08 +02:00
Sergio Pedri 8a9153595e Added Span2D<T>.Slice tests 2020-10-08 22:58:08 +02:00
Sergio Pedri f74abfba1c Added more Span2D<T> tests 2020-10-08 22:58:08 +02:00
Sergio Pedri e27290cfb1 Added new Span2D<T> T[,,] constructor and test 2020-10-08 22:58:08 +02:00
Sergio Pedri 2c547ced24 Added unit tests for Span2D<T> constructors 2020-10-08 22:58:07 +02:00
Sergio Pedri 83d3b3d87e Bug fixes in Span2D<T> constructors 2020-10-08 22:58:07 +02:00
Sergio Pedri 9fec4c7690 Fixed file headers 2020-10-08 22:58:07 +02:00
Sergio Pedri 9b2c981649 Fixed a bug in Span2D<T>.Empty 2020-10-08 22:58:07 +02:00
Sergio Pedri 97f3c85d9d Added ReadOnly[Memory|Span]2D<T> types 2020-10-08 22:58:07 +02:00
Sergio Pedri 2291f86b6a Added new Span[2D]<T> APIs for 2D/3D arrays 2020-10-08 22:58:07 +02:00
Sergio Pedri 632965abfc Added missing Span2D<T> constructors 2020-10-08 22:58:07 +02:00
Sergio Pedri 9631f7f763 Code refactoring to Span2D<T> 2020-10-08 22:58:07 +02:00
Sergio Pedri 4de7098e5e Added T[,,].GetLayer extension 2020-10-08 22:58:07 +02:00
Sergio Pedri 1addd7229c Added T[,] array Memory2D<T> extensions 2020-10-08 22:58:07 +02:00
Sergio Pedri c8fe230ac0 Tweaked some XML docs 2020-10-08 22:58:07 +02:00
Sergio Pedri 50b671cd63 Minor code refactoring 2020-10-08 22:58:07 +02:00
Sergio Pedri 7d5042516e Fixed new APIs on older runtimes 2020-10-08 22:58:07 +02:00
Sergio Pedri e164324c0d Added Span2D<T>.Get[Row|Column] APIs 2020-10-08 22:58:06 +02:00
Sergio Pedri 4c927f50fc Added T[,].GetRowSpan extension 2020-10-08 22:58:06 +02:00
Sergio Pedri 4fdfdbca34 Refactored 2D array extensions with new enumerables 2020-10-08 22:57:49 +02:00
Sergio Pedri 551e6eaf10 Fixed a build error 2020-10-08 22:57:37 +02:00
Sergio Pedri 58fe8518fd Added [ReadOnly]RefEnumerable<T>.ToArray() 2020-10-08 22:57:37 +02:00
Sergio Pedri a20fc660e4 Added [ReadOnly]RefEnumerable<T> types 2020-10-08 22:57:37 +02:00
Sergio Pedri be059cb68c Implemented Span2D<T>.Slice API 2020-10-08 22:57:37 +02:00
Sergio Pedri 7d64a6a6d8 Implemented Span2D<T>.CopyTo(Span2D<T>) 2020-10-08 22:57:37 +02:00
Sergio Pedri ba4bc57459 Minor code refactoring 2020-10-08 22:57:37 +02:00
Sergio Pedri 1f33ba3908 Added Memory2D<T>.TryGetMemory 2020-10-08 22:57:37 +02:00
Sergio Pedri 07d8a867cd Enabled Span2D<T>.TryGetSpan on .NET Standard < 2.1 2020-10-08 22:57:37 +02:00
Sergio Pedri c38017c587 Added Memory2D<T> constructors with pitch 2020-10-08 22:57:37 +02:00
Sergio Pedri 542c6c396a More fixes to Memory2D<T> 2020-10-08 22:57:37 +02:00
Sergio Pedri 062f1a8b29 Added Memory<T> constructor to Memory2D<T> 2020-10-08 22:57:36 +02:00
Sergio Pedri 2c68799a30 Code refactoring using ThrowHelper 2020-10-08 22:57:36 +02:00
Sergio Pedri 6748b6340b Added ThrowHelper class for memory APIs 2020-10-08 22:57:36 +02:00
Sergio Pedri 9554b9def7 Span2D<T> refactoring, added Height/Width properties 2020-10-08 22:57:36 +02:00
Sergio Pedri 79afd9aa23 Draft for Memory2D<T>.Slice 2020-10-08 22:57:36 +02:00
Sergio Pedri 79c2d4f7f1 Reordered some APIs 2020-10-08 22:57:36 +02:00
Sergio Pedri 84f5798584 Enabled Memory2D<T> on all targets 2020-10-08 22:57:36 +02:00
Sergio Pedri fd11c4eb7f Minor code refactoring 2020-10-08 22:57:36 +02:00
Sergio Pedri 7f3c429a13 Added IsCovariant<T> extensions for arrays 2020-10-08 22:57:36 +02:00
Sergio Pedri ac43c04140 Enabled Span2D<T> on all targets 2020-10-08 22:57:36 +02:00
Sergio Pedri adb612310c Disabled Memory2D<T> before .NET Standard 2.1 2020-10-08 22:57:36 +02:00
Sergio Pedri 1d2814900d Added more Memory2D<T> constructors 2020-10-08 22:57:36 +02:00
Sergio Pedri c1dda99f2e Added some T[,,] extensions 2020-10-08 22:57:36 +02:00
Sergio Pedri a7ffbe8fbb Fixed a bug in T[,].AsSpan() on .NET Standard 2.1 2020-10-08 22:57:36 +02:00
Sergio Pedri ad8cfff3b7 Minor code refactoring 2020-10-08 22:57:35 +02:00
Sergio Pedri aa7ce0de9b Improved Span2D<T> layout (removed 4 bytes) 2020-10-08 22:57:35 +02:00
Sergio Pedri e373025881 Added missing Memory2D<T> header 2020-10-08 22:57:35 +02:00
Sergio Pedri 77a6e5b0ba Added initial version of the Memory2D<T> type 2020-10-08 22:57:35 +02:00
Sergio Pedri 5f3d885c82 Minor code tweaks to Span2D<T> 2020-10-08 22:57:35 +02:00
Sergio Pedri d7d4a02708 Added initial version of the Span2D<T> type 2020-10-08 22:57:35 +02:00