RandomBits


RandomBits

Namespace: RandomBits

Source of random bit stream from ANU.

Record Fields

Record FieldDescription
anuBlockCount
Signature: int
anuUrl
Signature: string
bitSource
Signature: uint64
Modifiers: mutable
consume64Count
Signature: int64
Modifiers: mutable
ptr
Signature: uint64
Modifiers: mutable
theMock
Signature: string
theQueue
Signature: ConcurrentQueue<uint64>

Constructors

ConstructorDescription
new(mock)
Signature: mock:string -> RandomBits

constructor for testing mock string representing at least one hexadecimal 64 bit unsigned integer

CompiledName: .ctor

new()
Signature: unit -> RandomBits

constructor for streaming bits from ANU

CompiledName: .ctor

Instance members

Instance memberDescription
ANU_BlockCount
Signature: int

count of unsigned 16 bit numbers to return from ANU on each call

CompiledName: get_ANU_BlockCount

ANU_Url
Signature: string

url to the ANU JSON API

CompiledName: get_ANU_Url

CacheLength
Signature: int

count of unsigned 64 bit integers currently cached

CompiledName: get_CacheLength

Consume64Count
Signature: int64

count of unsigned 64 bit integer consumed

CompiledName: get_Consume64Count

RndBool()
Signature: unit -> bool

random bool

RndBoolSeq(length)
Signature: length:int -> seq<bool>

random bool seq of length

RndByte(inclLower, exlUpper)
Signature: (inclLower:byte * exlUpper:byte) -> byte

random unsigned 8-bit integer in range inclusive of lower and exclusive of upper

RndByte()
Signature: unit -> byte

random unsigned 8-bit integer

RndByteSeq(inclLower, exlUpper, length)
Signature: (inclLower:byte * exlUpper:byte * length:int) -> seq<byte>

random unsigned 8-bit integer in range inclusive of lower and exclusive of upper seq of length

RndByteSeq(length)
Signature: length:int -> seq<byte>

random unsigned 8-bit integer seq of length

RndByteUniqueSeq(...)
Signature: (inclLower:byte * exlUpper:byte * length:int) -> seq<byte>

random unique unsigned 8-bit integer in range inclusive of lower and exclusive of upper seq of length

RndInt16(inclLower, exlUpper)
Signature: (inclLower:int16 * exlUpper:int16) -> int16

random signed 16-bit integer in range inclusive of lower and exclusive of upper

RndInt16()
Signature: unit -> int16

random signed 16-bit integer

RndInt16Seq(inclLower, exlUpper, length)
Signature: (inclLower:int16 * exlUpper:int16 * length:int) -> seq<int16>

random signed 16-bit integer in range inclusive of lower and exclusive of upper seq of length

RndInt16Seq(length)
Signature: length:int -> seq<int16>

random signed 16-bit integer seq of length

RndInt16UniqueSeq(...)
Signature: (inclLower:int16 * exlUpper:int16 * length:int) -> seq<int16>

random unique signed 16-bit integer in range inclusive of lower and exclusive of upper seq of length

RndInt32(inclLower, exlUpper)
Signature: (inclLower:int32 * exlUpper:int32) -> int32

random signed 32-bit integer in range inclusive of lower and exclusive of upper

RndInt32()
Signature: unit -> int32

random signed 32-bit integer

RndInt32Seq(inclLower, exlUpper, length)
Signature: (inclLower:int * exlUpper:int * length:int) -> seq<int>

random signed 32-bit integer in range inclusive of lower and exclusive of upper seq of length

RndInt32Seq(length)
Signature: length:int -> seq<int>

random signed 32-bit integer seq of length

RndInt32UniqueSeq(...)
Signature: (inclLower:int * exlUpper:int * length:int) -> seq<int>

random unique signed 32-bit integer in range inclusive of lower and exclusive of upper seq of length

RndInt64(inclLower, exlUpper)
Signature: (inclLower:int64 * exlUpper:int64) -> int64

random signed 64-bit integer in range inclusive of lower and exclusive of upper

RndInt64()
Signature: unit -> int64

random signed 64-bit integer

RndInt64Seq(inclLower, exlUpper, length)
Signature: (inclLower:int64 * exlUpper:int64 * length:int) -> seq<int64>

random signed 64-bit integer in range inclusive of lower and exclusive of upper seq of length

RndInt64Seq(length)
Signature: length:int -> seq<int64>

random signed 64-bit integer seq of length

RndSByte(inclLower, exlUpper)
Signature: (inclLower:sbyte * exlUpper:sbyte) -> sbyte

random signed 8-bit integer in range inclusive of lower and exclusive of upper

RndSByte()
Signature: unit -> sbyte

random signed 8-bit integer

RndSByteSeq(inclLower, exlUpper, length)
Signature: (inclLower:sbyte * exlUpper:sbyte * length:int) -> seq<sbyte>

random signed 8-bit integer in range inclusive of lower and exclusive of upper seq of length

RndSByteSeq(length)
Signature: length:int -> seq<sbyte>

random signed 8-bit integer seq of length

RndSByteUniqueSeq(...)
Signature: (inclLower:sbyte * exlUpper:sbyte * length:int) -> seq<sbyte>

random unique usigned 8-bit integer in range inclusive of lower and exclusive of upper seq of length

RndUint16(inclLower, exlUpper)
Signature: (inclLower:uint16 * exlUpper:uint16) -> uint16

random unsigned 16-bit integer in range inclusive of lower and exclusive of upper

RndUint16()
Signature: unit -> uint16

random unsigned 16-bit integer

RndUint16Seq(...)
Signature: (inclLower:uint16 * exlUpper:uint16 * length:int) -> seq<uint16>

random unsigned 16-bit integer in range inclusive of lower and exclusive of upper seq of length

RndUint16Seq(length)
Signature: length:int -> seq<uint16>

random unsigned 16-bit integer seq of length

RndUint16UniqueSeq(...)
Signature: (inclLower:uint16 * exlUpper:uint16 * length:int) -> seq<uint16>

random unique unsigned 16-bit integer in range inclusive of lower and exclusive of upper seq of length

RndUint32(inclLower, exlUpper)
Signature: (inclLower:uint32 * exlUpper:uint32) -> uint32

random unsigned 32-bit integer in range inclusive of lower and exclusive of upper

RndUint32()
Signature: unit -> uint32

random unsigned 32-bit integer

RndUint32Seq(...)
Signature: (inclLower:uint32 * exlUpper:uint32 * length:int) -> seq<uint32>

random unsigned 32-bit integer in range inclusive of lower and exclusive of upper seq of length

RndUint32Seq(length)
Signature: length:int -> seq<uint32>

random unsigned 32-bit integer seq of length

RndUint32UniqueSeq(...)
Signature: (inclLower:uint32 * exlUpper:uint32 * length:int) -> seq<uint32>

random unique unsigned 32-bit integer in range inclusive of lower and exclusive of upper seq of length

RndUint64(inclLower, exlUpper)
Signature: (inclLower:uint64 * exlUpper:uint64) -> uint64

random unsigned 64-bit integer in range inclusive of lower and exclusive of upper

RndUint64()
Signature: unit -> uint64

random unsigned 64-bit integer

RndUint64Seq(...)
Signature: (inclLower:uint64 * exlUpper:uint64 * length:int) -> seq<uint64>

random unsigned 64-bit integer in range inclusive of lower and exclusive of upper seq of length

RndUint64Seq(length)
Signature: length:int -> seq<uint64>

random unsigned 64-bit integer seq of length

Fork me on GitHub