M_Random

Software screenshot:
M_Random
Dettagli del software:
Versione: 1.0
Data di caricamento: 2 Jan 15
Licenza: Libero
Popolarità: 15
Dimensione: 23 Kb

Rating: 2.0/5 (Total Votes: 1)

M_Random è un modulo REAL Studio / REALbasic che chiamerà i crittograficamente forti funzioni di numeri casuali native all'interno di ogni sistema operativo. In Mac OS e Linux, che è / dev / random. In Windows, è RtlGenRandom. Il modulo viene fornito con un progetto di cablaggio che dimostra le sue caratteristiche, e il modulo stesso è ben commentato.
 
 Queste sono le funzioni da essa svolte:
 

  • RandomDouble
  • RandomBoolean
  • RandomInt8
  • RandomInt16
  • RandomInt32
  • RandomInt64
  • RandomUInt8
  • RandomUInt16
  • RandomUInt32
  • RandomUInt64
  • InRange (valore1, valore2)
  • InRange_Int64 (valore1, valore2)
  • BetweenValues ​​(valore1, valore2) alias per InRange
  • BetweenValues_Int64 (valore1, valore2) alias per InRange_Int64
  • LessThan (valore)
  • LessThan_Int64 (valore)
  • ArrayInRange (cnt, value1, value2)
  • ArrayInRange_Int64 (cnt, value1, value2)
  • RandomMemoryBlock (mbSize)
Inoltre, il modulo estende la classe Random nativa con nuovi metodi:
 
  • Random.BetweenValues ​​Come InRange, ma i valori possono essere dati in qualsiasi ordine
  • Random.SeedFromEntropy Uguale utilizzando random.seed = M_Random.RandomUInt32

Requisiti :.

REALbasic 2005r1 o poi

Programmi simili

Altri software di sviluppo MacTechnologies Consulting

RegExRX
RegExRX

28 May 15

MacTFTP Client
MacTFTP Client

12 Dec 14

Commenti a M_Random

I commenti non trovato
Aggiungi commento
Accendere le immagini!