Files
Misaki.HighPerformance/docs/documents/api/Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList-1.ParallelWriter.yml

541 lines
20 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter
commentId: T:Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter
id: UnsafeChunkedList`1.ParallelWriter
parent: Misaki.HighPerformance.LowLevel.Collections
children:
- Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.Add(`0@)
- Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.AddRange(System.ReadOnlySpan{`0})
- Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.listData
langs:
- csharp
- vb
name: UnsafeChunkedList<T>.ParallelWriter
nameWithType: UnsafeChunkedList<T>.ParallelWriter
fullName: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList<T>.ParallelWriter
type: Struct
source:
remote:
path: src/Misaki.HighPerformance.LowLevel/Collections/UnsafeChunkedList.cs
branch: main
repo: https://git.personalnas.com/Misaki/Misaki.HighPerformance.git
id: ParallelWriter
path: src/Misaki.HighPerformance.LowLevel/Collections/UnsafeChunkedList.cs
startLine: 119
assemblies:
- Misaki.HighPerformance.LowLevel
namespace: Misaki.HighPerformance.LowLevel.Collections
summary: A parallel writer for an UnsafeChunkedList.
remarks: >-
Adding elements is thread-safe and auto-allocates chunks as needed, since new chunks never move existing data.
The chunk pointer array must be pre-sized via <xref href="Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList%601.EnsureCapacity(System.Int32)" data-throw-if-not-resolved="false"></xref> before dispatching parallel writes.
example: []
syntax:
content: public readonly struct UnsafeChunkedList<T>.ParallelWriter
content.vb: Public Structure UnsafeChunkedList(Of T).ParallelWriter
inheritedMembers:
- System.ValueType.Equals(System.Object)
- System.ValueType.GetHashCode
- System.ValueType.ToString
- System.Object.Equals(System.Object,System.Object)
- System.Object.GetType
- System.Object.ReferenceEquals(System.Object,System.Object)
nameWithType.vb: UnsafeChunkedList(Of T).ParallelWriter
fullName.vb: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList(Of T).ParallelWriter
name.vb: UnsafeChunkedList(Of T).ParallelWriter
- uid: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.listData
commentId: F:Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.listData
id: listData
parent: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter
langs:
- csharp
- vb
name: listData
nameWithType: UnsafeChunkedList<T>.ParallelWriter.listData
fullName: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList<T>.ParallelWriter.listData
type: Field
source:
remote:
path: src/Misaki.HighPerformance.LowLevel/Collections/UnsafeChunkedList.cs
branch: main
repo: https://git.personalnas.com/Misaki/Misaki.HighPerformance.git
id: listData
path: src/Misaki.HighPerformance.LowLevel/Collections/UnsafeChunkedList.cs
startLine: 121
assemblies:
- Misaki.HighPerformance.LowLevel
namespace: Misaki.HighPerformance.LowLevel.Collections
syntax:
content: public readonly UnsafeChunkedList<T>* listData
return:
type: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1*
content.vb: Public ReadOnly listData As UnsafeChunkedList(Of T)*
nameWithType.vb: UnsafeChunkedList(Of T).ParallelWriter.listData
fullName.vb: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList(Of T).ParallelWriter.listData
- uid: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.Add(`0@)
commentId: M:Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.Add(`0@)
id: Add(`0@)
parent: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter
langs:
- csharp
- vb
name: Add(scoped in T)
nameWithType: UnsafeChunkedList<T>.ParallelWriter.Add(scoped in T)
fullName: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList<T>.ParallelWriter.Add(scoped in T)
type: Method
source:
remote:
path: src/Misaki.HighPerformance.LowLevel/Collections/UnsafeChunkedList.cs
branch: main
repo: https://git.personalnas.com/Misaki/Misaki.HighPerformance.git
id: Add
path: src/Misaki.HighPerformance.LowLevel/Collections/UnsafeChunkedList.cs
startLine: 131
assemblies:
- Misaki.HighPerformance.LowLevel
namespace: Misaki.HighPerformance.LowLevel.Collections
summary: Thread-safely adds a value, auto-allocating new chunks as needed.
example: []
syntax:
content: public void Add(scoped in T value)
parameters:
- id: value
type: '{T}'
content.vb: Public Sub Add(value As T)
overload: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.Add*
nameWithType.vb: UnsafeChunkedList(Of T).ParallelWriter.Add(T)
fullName.vb: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList(Of T).ParallelWriter.Add(T)
name.vb: Add(T)
- uid: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.AddRange(System.ReadOnlySpan{`0})
commentId: M:Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.AddRange(System.ReadOnlySpan{`0})
id: AddRange(System.ReadOnlySpan{`0})
parent: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter
langs:
- csharp
- vb
name: AddRange(ReadOnlySpan<T>)
nameWithType: UnsafeChunkedList<T>.ParallelWriter.AddRange(ReadOnlySpan<T>)
fullName: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList<T>.ParallelWriter.AddRange(System.ReadOnlySpan<T>)
type: Method
source:
remote:
path: src/Misaki.HighPerformance.LowLevel/Collections/UnsafeChunkedList.cs
branch: main
repo: https://git.personalnas.com/Misaki/Misaki.HighPerformance.git
id: AddRange
path: src/Misaki.HighPerformance.LowLevel/Collections/UnsafeChunkedList.cs
startLine: 142
assemblies:
- Misaki.HighPerformance.LowLevel
namespace: Misaki.HighPerformance.LowLevel.Collections
summary: Thread-safely adds a range of elements, auto-allocating new chunks as needed.
example: []
syntax:
content: public void AddRange(ReadOnlySpan<T> collection)
parameters:
- id: collection
type: System.ReadOnlySpan{{T}}
content.vb: Public Sub AddRange(collection As ReadOnlySpan(Of T))
overload: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.AddRange*
nameWithType.vb: UnsafeChunkedList(Of T).ParallelWriter.AddRange(ReadOnlySpan(Of T))
fullName.vb: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList(Of T).ParallelWriter.AddRange(System.ReadOnlySpan(Of T))
name.vb: AddRange(ReadOnlySpan(Of T))
references:
- uid: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.EnsureCapacity(System.Int32)
commentId: M:Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.EnsureCapacity(System.Int32)
isExternal: true
href: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList-1.html#Misaki_HighPerformance_LowLevel_Collections_UnsafeChunkedList_1_EnsureCapacity_System_Int32_
name: EnsureCapacity(int)
nameWithType: UnsafeChunkedList<T>.EnsureCapacity(int)
fullName: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList<T>.EnsureCapacity(int)
nameWithType.vb: UnsafeChunkedList(Of T).EnsureCapacity(Integer)
fullName.vb: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList(Of T).EnsureCapacity(Integer)
name.vb: EnsureCapacity(Integer)
spec.csharp:
- uid: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.EnsureCapacity(System.Int32)
name: EnsureCapacity
href: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList-1.html#Misaki_HighPerformance_LowLevel_Collections_UnsafeChunkedList_1_EnsureCapacity_System_Int32_
- name: (
- uid: System.Int32
name: int
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
- name: )
spec.vb:
- uid: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.EnsureCapacity(System.Int32)
name: EnsureCapacity
href: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList-1.html#Misaki_HighPerformance_LowLevel_Collections_UnsafeChunkedList_1_EnsureCapacity_System_Int32_
- name: (
- uid: System.Int32
name: Integer
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
- name: )
- uid: Misaki.HighPerformance.LowLevel.Collections
commentId: N:Misaki.HighPerformance.LowLevel.Collections
href: Misaki.html
name: Misaki.HighPerformance.LowLevel.Collections
nameWithType: Misaki.HighPerformance.LowLevel.Collections
fullName: Misaki.HighPerformance.LowLevel.Collections
spec.csharp:
- uid: Misaki
name: Misaki
href: Misaki.html
- name: .
- uid: Misaki.HighPerformance
name: HighPerformance
href: Misaki.HighPerformance.html
- name: .
- uid: Misaki.HighPerformance.LowLevel
name: LowLevel
href: Misaki.HighPerformance.LowLevel.html
- name: .
- uid: Misaki.HighPerformance.LowLevel.Collections
name: Collections
href: Misaki.HighPerformance.LowLevel.Collections.html
spec.vb:
- uid: Misaki
name: Misaki
href: Misaki.html
- name: .
- uid: Misaki.HighPerformance
name: HighPerformance
href: Misaki.HighPerformance.html
- name: .
- uid: Misaki.HighPerformance.LowLevel
name: LowLevel
href: Misaki.HighPerformance.LowLevel.html
- name: .
- uid: Misaki.HighPerformance.LowLevel.Collections
name: Collections
href: Misaki.HighPerformance.LowLevel.Collections.html
- uid: System.ValueType.Equals(System.Object)
commentId: M:System.ValueType.Equals(System.Object)
parent: System.ValueType
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.valuetype.equals
name: Equals(object)
nameWithType: ValueType.Equals(object)
fullName: System.ValueType.Equals(object)
nameWithType.vb: ValueType.Equals(Object)
fullName.vb: System.ValueType.Equals(Object)
name.vb: Equals(Object)
spec.csharp:
- uid: System.ValueType.Equals(System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.valuetype.equals
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: System.ValueType.Equals(System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.valuetype.equals
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.ValueType.GetHashCode
commentId: M:System.ValueType.GetHashCode
parent: System.ValueType
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.valuetype.gethashcode
name: GetHashCode()
nameWithType: ValueType.GetHashCode()
fullName: System.ValueType.GetHashCode()
spec.csharp:
- uid: System.ValueType.GetHashCode
name: GetHashCode
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.valuetype.gethashcode
- name: (
- name: )
spec.vb:
- uid: System.ValueType.GetHashCode
name: GetHashCode
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.valuetype.gethashcode
- name: (
- name: )
- uid: System.ValueType.ToString
commentId: M:System.ValueType.ToString
parent: System.ValueType
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.valuetype.tostring
name: ToString()
nameWithType: ValueType.ToString()
fullName: System.ValueType.ToString()
spec.csharp:
- uid: System.ValueType.ToString
name: ToString
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.valuetype.tostring
- name: (
- name: )
spec.vb:
- uid: System.ValueType.ToString
name: ToString
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.valuetype.tostring
- name: (
- name: )
- uid: System.Object.Equals(System.Object,System.Object)
commentId: M:System.Object.Equals(System.Object,System.Object)
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
name: Equals(object, object)
nameWithType: object.Equals(object, object)
fullName: object.Equals(object, object)
nameWithType.vb: Object.Equals(Object, Object)
fullName.vb: Object.Equals(Object, Object)
name.vb: Equals(Object, Object)
spec.csharp:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.Object.GetType
commentId: M:System.Object.GetType
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
name: GetType()
nameWithType: object.GetType()
fullName: object.GetType()
nameWithType.vb: Object.GetType()
fullName.vb: Object.GetType()
spec.csharp:
- uid: System.Object.GetType
name: GetType
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
- name: (
- name: )
spec.vb:
- uid: System.Object.GetType
name: GetType
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
- name: (
- name: )
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
name: ReferenceEquals(object, object)
nameWithType: object.ReferenceEquals(object, object)
fullName: object.ReferenceEquals(object, object)
nameWithType.vb: Object.ReferenceEquals(Object, Object)
fullName.vb: Object.ReferenceEquals(Object, Object)
name.vb: ReferenceEquals(Object, Object)
spec.csharp:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.ValueType
commentId: T:System.ValueType
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.valuetype
name: ValueType
nameWithType: ValueType
fullName: System.ValueType
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
name: object
nameWithType: object
fullName: object
nameWithType.vb: Object
fullName.vb: Object
name.vb: Object
- uid: System
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System
- uid: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1*
isExternal: true
href: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList-1.html
name: UnsafeChunkedList<T>*
nameWithType: UnsafeChunkedList<T>*
fullName: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList<T>*
nameWithType.vb: UnsafeChunkedList(Of T)*
fullName.vb: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList(Of T)*
name.vb: UnsafeChunkedList(Of T)*
spec.csharp:
- uid: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1
name: UnsafeChunkedList
href: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList-1.html
- name: <
- name: T
- name: '>'
- name: '*'
spec.vb:
- uid: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1
name: UnsafeChunkedList
href: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList-1.html
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: '*'
- uid: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.Add*
commentId: Overload:Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.Add
href: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList-1.ParallelWriter.html#Misaki_HighPerformance_LowLevel_Collections_UnsafeChunkedList_1_ParallelWriter_Add__0__
name: Add
nameWithType: UnsafeChunkedList<T>.ParallelWriter.Add
fullName: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList<T>.ParallelWriter.Add
nameWithType.vb: UnsafeChunkedList(Of T).ParallelWriter.Add
fullName.vb: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList(Of T).ParallelWriter.Add
- uid: '{T}'
commentId: '!:T'
definition: T
name: T
nameWithType: T
fullName: T
- uid: T
name: T
nameWithType: T
fullName: T
- uid: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.AddRange*
commentId: Overload:Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList`1.ParallelWriter.AddRange
href: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList-1.ParallelWriter.html#Misaki_HighPerformance_LowLevel_Collections_UnsafeChunkedList_1_ParallelWriter_AddRange_System_ReadOnlySpan__0__
name: AddRange
nameWithType: UnsafeChunkedList<T>.ParallelWriter.AddRange
fullName: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList<T>.ParallelWriter.AddRange
nameWithType.vb: UnsafeChunkedList(Of T).ParallelWriter.AddRange
fullName.vb: Misaki.HighPerformance.LowLevel.Collections.UnsafeChunkedList(Of T).ParallelWriter.AddRange
- uid: System.ReadOnlySpan{{T}}
commentId: T:System.ReadOnlySpan{``0}
parent: System
definition: System.ReadOnlySpan`1
href: https://learn.microsoft.com/dotnet/api/system.readonlyspan-1
name: ReadOnlySpan<T>
nameWithType: ReadOnlySpan<T>
fullName: System.ReadOnlySpan<T>
nameWithType.vb: ReadOnlySpan(Of T)
fullName.vb: System.ReadOnlySpan(Of T)
name.vb: ReadOnlySpan(Of T)
spec.csharp:
- uid: System.ReadOnlySpan`1
name: ReadOnlySpan
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.readonlyspan-1
- name: <
- name: T
- name: '>'
spec.vb:
- uid: System.ReadOnlySpan`1
name: ReadOnlySpan
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.readonlyspan-1
- name: (
- name: Of
- name: " "
- name: T
- name: )
- uid: System.ReadOnlySpan`1
commentId: T:System.ReadOnlySpan`1
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.readonlyspan-1
name: ReadOnlySpan<T>
nameWithType: ReadOnlySpan<T>
fullName: System.ReadOnlySpan<T>
nameWithType.vb: ReadOnlySpan(Of T)
fullName.vb: System.ReadOnlySpan(Of T)
name.vb: ReadOnlySpan(Of T)
spec.csharp:
- uid: System.ReadOnlySpan`1
name: ReadOnlySpan
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.readonlyspan-1
- name: <
- name: T
- name: '>'
spec.vb:
- uid: System.ReadOnlySpan`1
name: ReadOnlySpan
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.readonlyspan-1
- name: (
- name: Of
- name: " "
- name: T
- name: )