From c6018a29f081bec7106cc3e49a368451dcceed0f Mon Sep 17 00:00:00 2001 From: Karoy Lorentey Date: Tue, 30 Jan 2024 18:08:52 -0800 Subject: [PATCH] Update & regenerate DocC extensions --- .../Extensions/BitArray.md | 16 ++++++--- .../BitCollections.docc/Extensions/BitSet.md | 12 +++---- .../Collections.docc/Extensions/BitArray.md | 36 ++++++++++++------- .../Collections.docc/Extensions/BitSet.md | 12 +++---- .../Collections.docc/Extensions/TreeSet.md | 2 +- 5 files changed, 49 insertions(+), 29 deletions(-) diff --git a/Sources/BitCollections/BitCollections.docc/Extensions/BitArray.md b/Sources/BitCollections/BitCollections.docc/Extensions/BitArray.md index 85503869..aabae3cb 100644 --- a/Sources/BitCollections/BitCollections.docc/Extensions/BitArray.md +++ b/Sources/BitCollections/BitCollections.docc/Extensions/BitArray.md @@ -9,19 +9,20 @@ ### Creating a Bit Array - ``init()`` +- ``init(minimumCapacity:)`` - ``init(_:)-2y0wv`` - ``init(repeating:count:)-4j5yd`` - ``init(_:)-6ldyw`` - ``init(_:)-4tksd`` - ``init(_:)-765d2`` - ``init(bitPattern:)`` -- ``random(count:)`` -- ``random(count:using:)`` +- ``randomBits(count:)`` +- ``randomBits(count:using:)`` ### Accessing Elements - ``subscript(_:)-51ccj`` -- ``subscript(_:)-944vg`` + - ``first`` - ``last`` @@ -31,10 +32,12 @@ - ``append(contentsOf:)-18dwf`` - ``append(contentsOf:)-576q4`` - ``append(contentsOf:)-8xkr8`` +- ``append(repeating:count:)`` - ``insert(_:at:)-9t4hf`` - ``insert(contentsOf:at:)-7e1xn`` - ``insert(contentsOf:at:)-35dp3`` - ``insert(contentsOf:at:)-1wsgw`` +- ``insert(repeating:count:at:)`` - ``truncateOrExtend(toCount:with:)`` ### Removing Elements @@ -52,7 +55,8 @@ ### Replacing Elements -- ``fill(in:with:)`` +- ``fill(in:with:)-1lrlg`` +- ``fill(in:with:)-8sf1b`` - ``fill(with:)`` - ``replaceSubrange(_:with:)-163u2`` - ``replaceSubrange(_:with:)-875d8`` @@ -64,6 +68,10 @@ - ``toggleAll()`` - ``toggleAll(in:)-3duwn`` - ``toggleAll(in:)-5hfhl`` +- ``maskingShiftLeft(by:)`` +- ``maskingShiftRight(by:)`` +- ``resizingShiftLeft(by:)`` +- ``resizingShiftRight(by:)`` diff --git a/Sources/BitCollections/BitCollections.docc/Extensions/BitSet.md b/Sources/BitCollections/BitCollections.docc/Extensions/BitSet.md index 6da45f00..4f34e223 100644 --- a/Sources/BitCollections/BitCollections.docc/Extensions/BitSet.md +++ b/Sources/BitCollections/BitCollections.docc/Extensions/BitSet.md @@ -6,12 +6,7 @@ ## Topics -### Collection Views - -- ``Counted-swift.struct`` -- ``counted-swift.property`` - -### Creating a Set +### Creating a Bit Set - ``init()`` - ``init(reservingCapacity:)`` @@ -128,3 +123,8 @@ ### Memory Management - ``reserveCapacity(_:)`` + +### Collection Views + +- ``Counted-swift.struct`` +- ``counted-swift.property`` diff --git a/Sources/Collections/Collections.docc/Extensions/BitArray.md b/Sources/Collections/Collections.docc/Extensions/BitArray.md index 539c90f5..96957cf6 100644 --- a/Sources/Collections/Collections.docc/Extensions/BitArray.md +++ b/Sources/Collections/Collections.docc/Extensions/BitArray.md @@ -12,19 +12,20 @@ ### Creating a Bit Array - ``init()`` +- ``init(minimumCapacity:)`` - ``init(_:)-2y0wv`` - ``init(repeating:count:)-4j5yd`` - ``init(_:)-6ldyw`` - ``init(_:)-4tksd`` - ``init(_:)-765d2`` - ``init(bitPattern:)`` -- ``random(count:)`` -- ``random(count:using:)`` +- ``randomBits(count:)`` +- ``randomBits(count:using:)`` ### Accessing Elements - ``subscript(_:)-51ccj`` -- ``subscript(_:)-944vg`` + - ``first`` - ``last`` @@ -34,10 +35,12 @@ - ``append(contentsOf:)-18dwf`` - ``append(contentsOf:)-576q4`` - ``append(contentsOf:)-8xkr8`` +- ``append(repeating:count:)`` - ``insert(_:at:)-9t4hf`` - ``insert(contentsOf:at:)-7e1xn`` - ``insert(contentsOf:at:)-35dp3`` - ``insert(contentsOf:at:)-1wsgw`` +- ``insert(repeating:count:at:)`` - ``truncateOrExtend(toCount:with:)`` ### Removing Elements @@ -55,19 +58,28 @@ ### Replacing Elements -- ``fill(in:with:)`` +- ``fill(in:with:)-1lrlg`` +- ``fill(in:with:)-8sf1b`` - ``fill(with:)`` - ``replaceSubrange(_:with:)-163u2`` - ``replaceSubrange(_:with:)-875d8`` - ``replaceSubrange(_:with:)-2i7lu`` - ``replaceSubrange(_:with:)-b5ou`` -### Bitwise Operators +### Bitwise Operations -- ``&(_:_:)`` -- ``_(_:_:)-1rhw`` -- ``_(_:_:)-56s54`` -- ``~(_:)`` -- ``&=(_:_:)`` -- ``_=(_:_:)-69yf0`` -- ``_=(_:_:)-icef`` +- ``toggleAll()`` +- ``toggleAll(in:)-3duwn`` +- ``toggleAll(in:)-5hfhl`` +- ``maskingShiftLeft(by:)`` +- ``maskingShiftRight(by:)`` +- ``resizingShiftLeft(by:)`` +- ``resizingShiftRight(by:)`` + + + + + + + + diff --git a/Sources/Collections/Collections.docc/Extensions/BitSet.md b/Sources/Collections/Collections.docc/Extensions/BitSet.md index 122abadf..f65ddf22 100644 --- a/Sources/Collections/Collections.docc/Extensions/BitSet.md +++ b/Sources/Collections/Collections.docc/Extensions/BitSet.md @@ -9,12 +9,7 @@ ## Topics -### Collection Views - -- ``Counted-swift.struct`` -- ``counted-swift.property`` - -### Creating a Set +### Creating a Bit Set - ``init()`` - ``init(reservingCapacity:)`` @@ -131,3 +126,8 @@ ### Memory Management - ``reserveCapacity(_:)`` + +### Collection Views + +- ``Counted-swift.struct`` +- ``counted-swift.property`` diff --git a/Sources/Collections/Collections.docc/Extensions/TreeSet.md b/Sources/Collections/Collections.docc/Extensions/TreeSet.md index 5a0a996f..931cbab2 100644 --- a/Sources/Collections/Collections.docc/Extensions/TreeSet.md +++ b/Sources/Collections/Collections.docc/Extensions/TreeSet.md @@ -35,7 +35,7 @@ two nodes: ``` The root node directly contains `Maximo`, because it is the only set member -whose hash value starts with `8`. However, the first digits of the hashes of +whose hash value starts with `2`. However, the first digits of the hashes of `Julia` and `Don Pablo` are both `A`, so these items reside in a separate node, one level below the root.