C# Class Microsoft.HockeyApp.Extensibility.Implementation.XorshiftRandomBatchGenerator

Inheritance: IRandomNumberBatchGenerator
Datei anzeigen Open project: bitstadium/HockeySDK-Windows Class Usage Examples

Public Methods

Method Description
NextBatch ( ulong buffer, int index, int count ) : void

Generates a batch of random numbers.

XorshiftRandomBatchGenerator ( ulong seed ) : System.Diagnostics.CodeAnalysis

Initializes a new instance of the XorshiftRandomBatchGenerator class.

Method Details

NextBatch() public method

Generates a batch of random numbers.
public NextBatch ( ulong buffer, int index, int count ) : void
buffer ulong Buffer to put numbers in.
index int Start index in the buffer.
count int Count of random numbers to generate.
return void

XorshiftRandomBatchGenerator() public method

Initializes a new instance of the XorshiftRandomBatchGenerator class.
public XorshiftRandomBatchGenerator ( ulong seed ) : System.Diagnostics.CodeAnalysis
seed ulong Random generator seed value.
return System.Diagnostics.CodeAnalysis