Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
testing::internal::Random Class Reference

#include <gtest-internal.h>

Public Member Functions

UInt32 Generate (UInt32 range)
 
UInt32 Generate (UInt32 range)
 
UInt32 Generate (UInt32 range)
 
UInt32 Generate (UInt32 range)
 
uint32_t Generate (uint32_t range)
 
uint32_t Generate (uint32_t range)
 
 Random (UInt32 seed)
 
 Random (UInt32 seed)
 
 Random (UInt32 seed)
 
 Random (UInt32 seed)
 
 Random (uint32_t seed)
 
 Random (uint32_t seed)
 
void Reseed (UInt32 seed)
 
void Reseed (UInt32 seed)
 
void Reseed (UInt32 seed)
 
void Reseed (UInt32 seed)
 
void Reseed (uint32_t seed)
 
void Reseed (uint32_t seed)
 

Static Public Attributes

static const UInt32 kMaxRange = 1u << 31
 
static const uint32_t kMaxRange = 1u << 31
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (Random)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (Random)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (Random)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (Random)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (Random)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (Random)
 

Private Attributes

UInt32 state_
 
uint32_t state_
 

Detailed Description

Definition at line 833 of file bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h.

Constructor & Destructor Documentation

◆ Random() [1/6]

testing::internal::Random::Random ( UInt32  seed)
inlineexplicit

◆ Random() [2/6]

testing::internal::Random::Random ( UInt32  seed)
inlineexplicit

◆ Random() [3/6]

testing::internal::Random::Random ( uint32_t  seed)
inlineexplicit

◆ Random() [4/6]

testing::internal::Random::Random ( UInt32  seed)
inlineexplicit

Definition at line 8491 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.

◆ Random() [5/6]

testing::internal::Random::Random ( uint32_t  seed)
inlineexplicit

◆ Random() [6/6]

testing::internal::Random::Random ( UInt32  seed)
inlineexplicit

Member Function Documentation

◆ Generate() [1/6]

UInt32 testing::internal::Random::Generate ( UInt32  range)

◆ Generate() [2/6]

UInt32 testing::internal::Random::Generate ( UInt32  range)

◆ Generate() [3/6]

UInt32 testing::internal::Random::Generate ( UInt32  range)

◆ Generate() [4/6]

UInt32 testing::internal::Random::Generate ( UInt32  range)

◆ Generate() [5/6]

uint32_t testing::internal::Random::Generate ( uint32_t  range)

◆ Generate() [6/6]

uint32_t testing::internal::Random::Generate ( uint32_t  range)

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_() [1/6]

testing::internal::Random::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Random  )
private

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_() [2/6]

testing::internal::Random::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Random  )
private

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_() [3/6]

testing::internal::Random::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Random  )
private

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_() [4/6]

testing::internal::Random::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Random  )
private

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_() [5/6]

testing::internal::Random::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Random  )
private

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_() [6/6]

testing::internal::Random::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Random  )
private

◆ Reseed() [1/6]

void testing::internal::Random::Reseed ( UInt32  seed)
inline

◆ Reseed() [2/6]

void testing::internal::Random::Reseed ( UInt32  seed)
inline

◆ Reseed() [3/6]

void testing::internal::Random::Reseed ( UInt32  seed)
inline

◆ Reseed() [4/6]

void testing::internal::Random::Reseed ( UInt32  seed)
inline

Definition at line 8493 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.

◆ Reseed() [5/6]

void testing::internal::Random::Reseed ( uint32_t  seed)
inline

◆ Reseed() [6/6]

void testing::internal::Random::Reseed ( uint32_t  seed)
inline

Member Data Documentation

◆ kMaxRange [1/2]

static const UInt32 testing::internal::Random::kMaxRange = 1u << 31
static

◆ kMaxRange [2/2]

const uint32_t testing::internal::Random::kMaxRange = 1u << 31
static

◆ state_ [1/2]

UInt32 testing::internal::Random::state_
private

◆ state_ [2/2]

uint32_t testing::internal::Random::state_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:50