1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 23:56:05 +02:00
Commit graph

11 commits

Author SHA1 Message Date
Damian Day
d9c277389e Third time lucky
This is my test code.

var sourceArr = scope int[10] (1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
var destArr = scope int[10];
var detSpan = Span<int>(destArr, 0, 5);

sourceArr.CopyTo(detSpan, 2);
// destArr holds 3, 4, 5
2020-05-27 23:33:00 +01:00
Damian Day
dd33da0d7c Update Array.bf
Remove length parameter.
2020-05-27 17:26:35 +01:00
Damian Day
8ee09f278f Array CopyTo for spans
CopyTo, allows copying memory from an array to a span.
2020-05-27 15:36:51 +01:00
Damian Day
e9a7625d8b Array Copy
Added copying without specifying offsets.
2020-05-27 14:53:02 +01:00
Brian Fiete
dbd9b32e3f Renamed System.Collections.Generic to System.Collections 2020-04-29 06:40:03 -07:00
Brian Fiete
15c3ad98de Changed array to Ordered instead of CRepr 2020-04-04 12:14:52 -07:00
Damian Day
37f8cc9f98 Add Reverse
Reverse an array.
Update GetRef while i'm here.
2020-03-20 22:18:27 +00:00
Brian Fiete
96c53d4a9e Improvements to Queue, to bring it more inline with List 2020-03-20 09:26:16 -07:00
Brian Fiete
14ac27c977 Removed 'internal' protection - it's all about [Friend] now 2020-03-09 06:34:16 -07:00
Brian Fiete
90e4cf8825 Expanded BinarySearch api, got rid of IComparable due to iOpComparable 2020-02-18 08:43:29 -08:00
Brian Fiete
7dbfd15292 Moving corlib files out of "System" directory into root 2019-09-19 05:46:35 -07:00
Renamed from BeefLibs/corlib/src/System/Array.bf (Browse further)