Struct
CoalesceArray<T>
Multiple arrays acting as one uniform coalesced array.
Syntax
public struct CoalesceArray<T>
Type Parameters
Name |
Description |
T |
The type of data to be stored.
|
Constructors
|
Improve this Doc
View Source
CoalesceArray(UInt64)
Declaration
public CoalesceArray(ulong length)
Parameters
Type |
Name |
Description |
System.UInt64 |
length |
|
Properties
|
Improve this Doc
View Source
Item[UInt64]
Declaration
public T this[ulong index] { get; set; }
Parameters
Type |
Name |
Description |
System.UInt64 |
index |
|
Property Value
|
Improve this Doc
View Source
Length
Declaration
public ulong Length { readonly get; }
Property Value
Type |
Description |
System.UInt64 |
|
Methods
|
Improve this Doc
View Source
GetBucket(Int32)
Declaration
public ref T[] GetBucket(int bucketIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
bucketIndex |
|
Returns
|
Improve this Doc
View Source
GetBucketCount()
Declaration
public int GetBucketCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetBucketLocation(UInt64)
Declaration
public (int bucketIndex, int bucketOffset) GetBucketLocation(ulong index)
Parameters
Type |
Name |
Description |
System.UInt64 |
index |
|
Returns
Type |
Description |
System.ValueTuple<System.Int32, System.Int32> |
|
|
Improve this Doc
View Source
Resize(UInt64)
Declaration
public bool Resize(ulong desiredLength)
Parameters
Type |
Name |
Description |
System.UInt64 |
desiredLength |
|
Returns
Type |
Description |
System.Boolean |
|