Logo
Explore Help
Sign In
alex/swift-collections
Watch 1
Star 0 Fork 0
mirror of https://github.com/apple/swift-collections synced 2026-11-24 04:27:53 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
e10396bb20e4d22e8f45caf897dcf9eca27eddfc
swift-collections/Sources/_CollectionsUtilities/IntegerTricks
T
History
Karoy Lorentey 0c002200bb [CollectionUtilities] Silence a warning on 32 bit platforms
It turns out `UInt.bitWidth` is getting too eagerly inlined, so conditions based on it trigger spurious “code will never be executed” warnings. Silence those by switching to looking at `MemoryLayout<UInt>`, which doesn’t get turned into a constant *that* early.
2023-05-18 18:32:41 -07:00
..
autogenerated
[CollectionUtilities] Silence a warning on 32 bit platforms
2023-05-18 18:32:41 -07:00
FixedWidthInteger+roundUpToPowerOfTwo.swift.gyb
_CollectionsUtilities: Use gyb to allow defining these helpers as internal or public depending on COLLECTIONS_SINGLE_MODULE
2023-03-22 18:56:33 -07:00
Integer rank.swift.gyb
[CollectionUtilities] Silence a warning on 32 bit platforms
2023-05-18 18:32:41 -07:00
UInt+first and last set bit.swift.gyb
_CollectionsUtilities: Use gyb to allow defining these helpers as internal or public depending on COLLECTIONS_SINGLE_MODULE
2023-03-22 18:56:33 -07:00
UInt+reversed.swift.gyb
_CollectionsUtilities: Use gyb to allow defining these helpers as internal or public depending on COLLECTIONS_SINGLE_MODULE
2023-03-22 18:56:33 -07:00
Powered by Gitea Version: 28.4.0 Page: 52ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API