Slava Pestov
e1f50b2d36
SE-0193: Rename @_inlineable to @inlinable, @_versioned to @usableFromInline
2018-03-30 21:55:30 -07:00
taylor swift
c85880899d
implement SE 184: add allocation methods to Unsafe buffer pointers, drop all parameters from deallocation, adjust namings, and add repeated-value assignment methods
2017-11-17 21:28:03 -08:00
Max Moiseev
a24998a5b1
[stdlib] Add missing @_fixed_layout attributes to fix resilience build
2017-10-02 15:19:06 -07:00
Max Moiseev
53b8419279
[stdlib] Make all the stdlib APIs @_inlineable
...
This change in theory should allow us to remove a special stdlib-only
sil-serialize-all compilation mode.
<rdar://problem/34138683>
2017-09-29 11:26:56 -07:00
Max Moiseev
27889c6376
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2017-01-06 15:54:44 -08:00
practicalswift
6d1ae2a39c
[gardening] 2016 → 2017
2017-01-06 16:41:22 +01:00
Max Moiseev
70b2343626
Merge branch 'master' into new-integer-protocols
2016-11-28 15:25:01 -08:00
practicalswift
797b80765f
[gardening] Use the correct base URL ( https://swift.org ) in references to the Swift website
...
Remove all references to the old non-TLS enabled base URL (http://swift.org )
2016-11-20 17:36:03 +01:00
Max Moiseev
4595052022
infinite inlining loop
2016-07-29 13:31:21 +03:00
Max Moiseev
28a252e33d
Operators compile
2016-07-29 13:31:21 +03:00
Andrew Trick
73106dd7c3
Rename initialize(with:count:) to initialize(to:count:). ( #3601 )
...
As proposed in SE-0107: UnsafeRawPointer.
"with" is considered a vacuous preposition. "to" implies direction.
2016-07-18 23:37:45 -07:00
Dmitri Gribenko
d74b1834f8
stdlib: Dictionary, Set: stop overallocating the bitmap
...
The 'sizeInWords(forSizeInBits:)' function was supposed to return the
size in words, but returned the size in bits, overallocating the bitmap
by a factor of 32 or 64, depending on the platform.
2016-05-23 21:12:13 -07:00
Dmitri Gribenko
7c7c42ced2
stdlib: add basic tests for _UnsafeBitMap
2016-05-23 18:41:39 -07:00
Dmitri Gribenko
0b4162bef0
stdlib: make the argument label in _UnsafeBitMap.sizeInWords more clear to avoid bits vs. bytes vs. words confusion
2016-05-23 18:41:39 -07:00
Dmitri Gribenko
b811f929ef
stdlib: rename _BitMap to _UnsafeBitMap
...
_BitMap is nothing more than a convenience wrapper around an
UnsafeMutablePointer.
2016-05-23 18:41:39 -07:00
Dmitri Gribenko
389fa5fc69
stdlib: move _BitMap to its own file
2016-05-23 18:41:39 -07:00