/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/util/test/ |
H A D | test_random.cpp | 50 CRandom rnd; in BOOST_AUTO_TEST_CASE() 62 CRandom rnd(CRandom::eGetRand_Sys); in BOOST_AUTO_TEST_CASE() 99 CRandom rnd(CRandom::eGetRand_Sys); in BOOST_AUTO_TEST_CASE() 118 CRandom rnd(CRandom::eGetRand_Sys); in BOOST_AUTO_TEST_CASE() 139 CRandom rnd(CRandom::eGetRand_Sys); in BOOST_AUTO_TEST_CASE() 160 CRandom rnd(CRandom::eGetRand_Sys); in BOOST_AUTO_TEST_CASE() 185 CRandom::TValue limit = CRandom::GetMax(); in BOOST_AUTO_TEST_CASE() 202 CRandom rnd(CRandom::eGetRand_Sys); in BOOST_AUTO_TEST_CASE() 205 CRandom::TValue limit = CRandom::GetMax(); in BOOST_AUTO_TEST_CASE() 243 CRandom rnd(CRandom::eGetRand_Sys); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/include/util/ |
H A D | random_gen.hpp | 65 class NCBI_XUTIL_EXPORT CRandom class 83 CRandom(TValue seed); 173 CRandom(const CRandom&); 174 CRandom& operator=(const CRandom&); 217 inline CRandom::TValue CRandom::x_GetRand32Bits(void) in x_GetRand32Bits() 238 inline CRandom::TValue CRandom::GetRand(void) in GetRand() 244 inline Uint8 CRandom::GetRandUint8(void) in GetRandUint8() 251 inline CRandom::TValue CRandom::GetRandIndex(TValue size) in GetRandIndex() 277 inline CRandom::TValue CRandom::GetRand(TValue min_value, TValue max_value) in GetRand() 295 inline CRandom::TValue CRandom::GetMax(void) in GetMax() [all …]
|
H A D | distribution.hpp | 44 class CRandom; 53 CRandom* random_gen) in InitFromParameter() 62 CRandom* m_RandomGen;
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/include/util/ |
H A D | random_gen.hpp | 65 class NCBI_XUTIL_EXPORT CRandom class 83 CRandom(TValue seed); 173 CRandom(const CRandom&); 174 CRandom& operator=(const CRandom&); 217 inline CRandom::TValue CRandom::x_GetRand32Bits(void) in x_GetRand32Bits() 238 inline CRandom::TValue CRandom::GetRand(void) in GetRand() 244 inline Uint8 CRandom::GetRandUint8(void) in GetRandUint8() 251 inline CRandom::TValue CRandom::GetRandIndex(TValue size) in GetRandIndex() 277 inline CRandom::TValue CRandom::GetRand(TValue min_value, TValue max_value) in GetRand() 295 inline CRandom::TValue CRandom::GetMax(void) in GetMax() [all …]
|
H A D | distribution.hpp | 44 class CRandom; 53 CRandom* random_gen) in InitFromParameter() 62 CRandom* m_RandomGen;
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/util/ |
H A D | random_gen.cpp | 126 bool GetRand(CRandom::TValue * value, bool throw_on_error) in GetRand() 133 if (read(m_Fd, value, sizeof(CRandom::TValue)) == in GetRand() 215 CRandom::CRandom(EGetRandMethod method) : in CRandom() function in CRandom 227 CRandom::CRandom(TValue seed) : in CRandom() function in CRandom 234 void CRandom::Reset(void) in Reset() 242 static const CRandom::TValue sm_State[CRandom::kStateSize] = { in Reset() 267 void CRandom::Randomize(void) in Randomize() 287 void CRandom::SetSeed(TValue seed) in SetSeed() 312 CRandom::TValue CRandom::GetSeed(void) const in GetSeed() 323 CRandom::TValue CRandom::x_GetSysRand32Bits(void) const in x_GetSysRand32Bits() [all …]
|
H A D | distribution.cpp | 42 CRandom::TValue random_number = m_RandomGen->GetRand(); in GetNextValue()
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/util/ |
H A D | random_gen.cpp | 126 bool GetRand(CRandom::TValue * value, bool throw_on_error) in GetRand() 133 if (read(m_Fd, value, sizeof(CRandom::TValue)) == in GetRand() 215 CRandom::CRandom(EGetRandMethod method) : in CRandom() function in CRandom 227 CRandom::CRandom(TValue seed) : in CRandom() function in CRandom 234 void CRandom::Reset(void) in Reset() 242 static const CRandom::TValue sm_State[CRandom::kStateSize] = { in Reset() 267 void CRandom::Randomize(void) in Randomize() 287 void CRandom::SetSeed(TValue seed) in SetSeed() 312 CRandom::TValue CRandom::GetSeed(void) const in GetSeed() 323 CRandom::TValue CRandom::x_GetSysRand32Bits(void) const in x_GetSysRand32Bits() [all …]
|
/dports/security/yubikey-personalization-gui/yubikey-personalization-gui-yubikey-personalization-gui-3.1.25/lib/ |
H A D | crandom.cpp | 31 CRandom::CRandom(void) { in CRandom() function in CRandom 38 CRandom::~CRandom(void) { in ~CRandom() 42 bool CRandom::getRand(BYTE *buf, int size) { in getRand()
|
H A D | crandom.h | 35 class CRandom 41 CRandom(); 42 ~CRandom(void);
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/connect/services/test/ |
H A D | test_compound_id.cpp | 58 CRandom::TValue random_seed); 67 CRandom m_Random; 72 CRandom::TValue random_seed) : in CCompoundIDTestRequest() 78 #define RANDOM_ROOT (roots[m_Random.GetRandIndex((CRandom::TValue)roots.size())]) 158 size_t container_idx = m_Random.GetRandIndex((CRandom::TValue)roots.size()); in Process() 161 m_Random.GetRand(1, (CRandom::TValue)roots.size() - 1)) % roots.size(); in Process() 231 CRandom::TValue random_seed = (CRandom::TValue) time(NULL); in Run() 240 CRandom random_seed_generator(random_seed); in Run()
|
H A D | test_json_over_uttp.cpp | 67 CRandom::TValue m_RandomSeed; 68 CRandom m_Random; 81 m_RandomSeed((CRandom::TValue) time(NULL)), in CJsonOverUTTPTest() 315 size_t container_idx = m_Random.GetRandIndex((CRandom::TValue)tree_size); in MakeRandomJsonTree() 322 m_Random.GetRand(1, (CRandom::TValue)tree_size - 1)) % tree_size; in MakeRandomJsonTree()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/other-licenses/7zstub/src/Common/ |
H A D | Random.cpp | 10 void CRandom::Init(unsigned int seed) in Init() 13 void CRandom::Init() in Init() 16 int CRandom::Generate() const in Generate()
|
H A D | Random.h | 6 class CRandom
|
/dports/archivers/maxcso/maxcso-1.10.0/7zip/CPP/Common/ |
H A D | Random.cpp | 15 void CRandom::Init(unsigned int seed) { srand(seed); } in Init() 17 void CRandom::Init() in Init() 28 int CRandom::Generate() const { return rand(); } in Generate()
|
H A D | Random.h | 6 class CRandom
|
/dports/archivers/7-zip/7-zip-21.07/CPP/Common/ |
H A D | Random.cpp | 15 void CRandom::Init(unsigned int seed) { srand(seed); } in Init() 17 void CRandom::Init() in Init() 28 int CRandom::Generate() const { return rand(); } in Generate()
|
H A D | Random.h | 6 class CRandom
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/include/objmgr/ |
H A D | seq_vector.hpp | 49 class CRandom; 172 void SetRandomizeAmbiguities(CRandom& random_gen); 190 void x_InitRandomizer(CRandom& random_gen); 222 CNcbi2naRandomizer(CRandom& gen);
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/include/objmgr/ |
H A D | seq_vector.hpp | 49 class CRandom; 172 void SetRandomizeAmbiguities(CRandom& random_gen); 190 void x_InitRandomizer(CRandom& random_gen); 222 CNcbi2naRandomizer(CRandom& gen);
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/include/algo/structure/bma_refine/ |
H A D | RowSelector.hpp | 48 class CRandom; 136 CRandom* m_rng; // random number generator; must be initialized in ctor
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objtools/align_format/unit_test/ |
H A D | blast_test_util.hpp | 76 template <int lowest_value = 0, int highest_value = ncbi::CRandom::GetMax()> 84 ncbi::CRandom m_Gen;
|
H A D | blast_test_util.cpp | 71 static CRandom random_gen(static_cast<CRandom::TValue>(time(0))); in GenerateRandomSeqid_Gi()
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/objtools/align_format/unit_test/ |
H A D | blast_test_util.hpp | 76 template <int lowest_value = 0, int highest_value = ncbi::CRandom::GetMax()> 84 ncbi::CRandom m_Gen;
|
H A D | blast_test_util.cpp | 71 static CRandom random_gen(static_cast<CRandom::TValue>(time(0))); in GenerateRandomSeqid_Gi()
|