Show / Hide Table of Contents

Class MyConcurrentArrayBufferPool<TElement>.ArrayAllocator

Inheritance
System.Object
MyConcurrentArrayBufferPool<TElement>.ArrayAllocator
Implements
IMyElementAllocator<TElement[]>
Namespace: VRage.Collections
Assembly: VRage.Library.dll
Syntax
public class ArrayAllocator : Object, IMyElementAllocator<TElement[]>

Constructors

ArrayAllocator()

Declaration
public ArrayAllocator()

Properties

ExplicitlyDisposeAllElements

Declaration
public bool ExplicitlyDisposeAllElements { get; }
Property Value
Type Description
System.Boolean

Methods

Allocate(Int32)

Declaration
public TElement[] Allocate(int size)
Parameters
Type Name Description
System.Int32 size
Returns
Type Description
TElement[]

Dispose(TElement[])

Declaration
public void Dispose(TElement[] instance)
Parameters
Type Name Description
TElement[] instance

GetBucketId(TElement[])

Declaration
public int GetBucketId(TElement[] instance)
Parameters
Type Name Description
TElement[] instance
Returns
Type Description
System.Int32

GetBytes(TElement[])

Declaration
public int GetBytes(TElement[] instance)
Parameters
Type Name Description
TElement[] instance
Returns
Type Description
System.Int32

Init(TElement[])

Declaration
public void Init(TElement[] item)
Parameters
Type Name Description
TElement[] item

Implements

IMyElementAllocator<T>
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾