C# Class RampUp.Buffers.UnsafeBuffer

Unsafe, aligned to a page boundary buffer allocated with Native.VirtualAlloc.
Inheritance: IUnsafeBuffer
Afficher le fichier Open project: Scooletz/RampUp

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetAtomicInt ( long index ) : AtomicInt
GetAtomicLong ( long index ) : AtomicLong
UnsafeBuffer ( int size ) : System
Write ( int offset, ByteChunk chunk ) : void
ZeroMemory ( int start, int length ) : void

Private Methods

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetAtomicInt() public méthode

public GetAtomicInt ( long index ) : AtomicInt
index long
Résultat RampUp.Atomics.AtomicInt

GetAtomicLong() public méthode

public GetAtomicLong ( long index ) : AtomicLong
index long
Résultat RampUp.Atomics.AtomicLong

UnsafeBuffer() public méthode

public UnsafeBuffer ( int size ) : System
size int
Résultat System

Write() public méthode

public Write ( int offset, ByteChunk chunk ) : void
offset int
chunk ByteChunk
Résultat void

ZeroMemory() public méthode

public ZeroMemory ( int start, int length ) : void
start int
length int
Résultat void