DistributedMemoryManager<T> Class

A MemoryManager over a raw pointer

Definition

Namespace: Numerics.NET.Distributed
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public sealed class DistributedMemoryManager<T> : MemoryManager<T>
where T : struct, new()
Inheritance
Object  →  MemoryManager<T>  →  DistributedMemoryManager<T>

Type Parameters

T

Remarks

The pointer is assumed to be fully unmanaged, or externally pinned - no attempt will be made to pin this data

Constructors

DistributedMemoryManager<T>(Span<T>) Create a new DistributedMemoryManager instance at the given pointer and size
DistributedMemoryManager<T>(IntPtr, Int32) Create a new DistributedMemoryManager instance at the given pointer and size

Properties

MemoryGets the memory block handled by this MemoryManager<T>.
(Inherited from MemoryManager<T>)

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetSpan Obtains a span that represents the region
(Overrides MemoryManager<T>.GetSpan())
GetTypeGets the Type of the current instance.
(Inherited from Object)
Pin Provides access to a pointer that represents the data (note: no actual pin occurs)
(Overrides MemoryManager<T>.Pin(Int32))
ToStringReturns a string that represents the current object.
(Inherited from Object)
Unpin Has no effect
(Overrides MemoryManager<T>.Unpin())

See Also