Distributed Memory Manager<T> Class
A MemoryManager over a raw pointer
Definition
Namespace: Numerics.NET.Distributed
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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
Distributed | Create a new DistributedMemoryManager instance at the given pointer and size |
Distributed | Create a new DistributedMemoryManager instance at the given pointer and size |
Properties
Memory | Gets the memory block handled by this MemoryManager<T>. (Inherited from MemoryManager<T>) |
Methods
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get | Serves as the default hash function. (Inherited from Object) |
Get |
Obtains a span that represents the region
(Overrides MemoryManager<T>.GetSpan()) |
Get | Gets 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)) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Unpin |
Has no effect
(Overrides MemoryManager<T>.Unpin()) |