C# 클래스 Microsoft.HockeyApp.Extensibility.Implementation.XorshiftRandomBatchGenerator

상속: IRandomNumberBatchGenerator
파일 보기 프로젝트 열기: bitstadium/HockeySDK-Windows 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

NextBatch() 공개 메소드

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.
리턴 void

XorshiftRandomBatchGenerator() 공개 메소드

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