LLVM  6.0.0svn
Public Member Functions | List of all members
fuzzer::Random Class Reference

#include "Fuzzer/FuzzerRandom.h"

Inheritance diagram for fuzzer::Random:
Inheritance graph
[legend]
Collaboration diagram for fuzzer::Random:
Collaboration graph
[legend]

Public Member Functions

 Random (unsigned int seed)
 
result_type operator() ()
 
size_t Rand ()
 
size_t RandBool ()
 
size_t operator() (size_t n)
 
intptr_t operator() (intptr_t From, intptr_t To)
 

Detailed Description

Definition at line 18 of file FuzzerRandom.h.

Constructor & Destructor Documentation

◆ Random()

fuzzer::Random::Random ( unsigned int  seed)
inline

Definition at line 20 of file FuzzerRandom.h.

Member Function Documentation

◆ operator()() [1/3]

result_type fuzzer::Random::operator() ( )
inline

Definition at line 21 of file FuzzerRandom.h.

Referenced by operator()(), and Rand().

◆ operator()() [2/3]

size_t fuzzer::Random::operator() ( size_t  n)
inline

Definition at line 24 of file FuzzerRandom.h.

References Rand().

◆ operator()() [3/3]

intptr_t fuzzer::Random::operator() ( intptr_t  From,
intptr_t  To 
)
inline

Definition at line 25 of file FuzzerRandom.h.

References assert(), and operator()().

◆ Rand()

size_t fuzzer::Random::Rand ( )
inline

◆ RandBool()

size_t fuzzer::Random::RandBool ( )
inline

The documentation for this class was generated from the following file: