/dports/www/mod_php81/php-8.1.1/ext/standard/ |
H A D | lcg.c | 56 if (!LCG(seeded)) { in php_combined_lcg() 60 MODMULT(53668, 40014, 12211, 2147483563L, LCG(s1)); in php_combined_lcg() 61 MODMULT(52774, 40692, 3791, 2147483399L, LCG(s2)); in php_combined_lcg() 63 z = LCG(s1) - LCG(s2); in php_combined_lcg() 77 LCG(s1) = tv.tv_sec ^ (tv.tv_usec<<11); in lcg_seed() 79 LCG(s1) = 1; in lcg_seed() 82 LCG(s2) = (zend_long) tsrm_thread_id(); in lcg_seed() 84 LCG(s2) = (zend_long) getpid(); in lcg_seed() 89 LCG(s2) ^= (tv.tv_usec<<11); in lcg_seed() 92 LCG(seeded) = 1; in lcg_seed() [all …]
|
/dports/lang/php74/php-7.4.27/ext/standard/ |
H A D | lcg.c | 58 if (!LCG(seeded)) { in php_combined_lcg() 62 MODMULT(53668, 40014, 12211, 2147483563L, LCG(s1)); in php_combined_lcg() 63 MODMULT(52774, 40692, 3791, 2147483399L, LCG(s2)); in php_combined_lcg() 65 z = LCG(s1) - LCG(s2); in php_combined_lcg() 79 LCG(s1) = tv.tv_sec ^ (tv.tv_usec<<11); in lcg_seed() 81 LCG(s1) = 1; in lcg_seed() 84 LCG(s2) = (zend_long) tsrm_thread_id(); in lcg_seed() 86 LCG(s2) = (zend_long) getpid(); in lcg_seed() 91 LCG(s2) ^= (tv.tv_usec<<11); in lcg_seed() 94 LCG(seeded) = 1; in lcg_seed() [all …]
|
/dports/lang/php80/php-8.0.15/ext/standard/ |
H A D | lcg.c | 56 if (!LCG(seeded)) { in php_combined_lcg() 60 MODMULT(53668, 40014, 12211, 2147483563L, LCG(s1)); in php_combined_lcg() 61 MODMULT(52774, 40692, 3791, 2147483399L, LCG(s2)); in php_combined_lcg() 63 z = LCG(s1) - LCG(s2); in php_combined_lcg() 77 LCG(s1) = tv.tv_sec ^ (tv.tv_usec<<11); in lcg_seed() 79 LCG(s1) = 1; in lcg_seed() 82 LCG(s2) = (zend_long) tsrm_thread_id(); in lcg_seed() 84 LCG(s2) = (zend_long) getpid(); in lcg_seed() 89 LCG(s2) ^= (tv.tv_usec<<11); in lcg_seed() 92 LCG(seeded) = 1; in lcg_seed() [all …]
|
/dports/lang/php73/php-7.3.33/ext/standard/ |
H A D | lcg.c | 58 if (!LCG(seeded)) { in php_combined_lcg() 62 MODMULT(53668, 40014, 12211, 2147483563L, LCG(s1)); in php_combined_lcg() 63 MODMULT(52774, 40692, 3791, 2147483399L, LCG(s2)); in php_combined_lcg() 65 z = LCG(s1) - LCG(s2); in php_combined_lcg() 79 LCG(s1) = tv.tv_sec ^ (tv.tv_usec<<11); in lcg_seed() 81 LCG(s1) = 1; in lcg_seed() 84 LCG(s2) = (zend_long) tsrm_thread_id(); in lcg_seed() 86 LCG(s2) = (zend_long) getpid(); in lcg_seed() 91 LCG(s2) ^= (tv.tv_usec<<11); in lcg_seed() 94 LCG(seeded) = 1; in lcg_seed() [all …]
|
/dports/lang/php81/php-8.1.1/ext/standard/ |
H A D | lcg.c | 56 if (!LCG(seeded)) { in php_combined_lcg() 60 MODMULT(53668, 40014, 12211, 2147483563L, LCG(s1)); in php_combined_lcg() 61 MODMULT(52774, 40692, 3791, 2147483399L, LCG(s2)); in php_combined_lcg() 63 z = LCG(s1) - LCG(s2); in php_combined_lcg() 77 LCG(s1) = tv.tv_sec ^ (tv.tv_usec<<11); in lcg_seed() 79 LCG(s1) = 1; in lcg_seed() 82 LCG(s2) = (zend_long) tsrm_thread_id(); in lcg_seed() 84 LCG(s2) = (zend_long) getpid(); in lcg_seed() 89 LCG(s2) ^= (tv.tv_usec<<11); in lcg_seed() 92 LCG(seeded) = 1; in lcg_seed() [all …]
|
/dports/www/mod_php73/php-7.3.33/ext/standard/ |
H A D | lcg.c | 58 if (!LCG(seeded)) { in php_combined_lcg() 62 MODMULT(53668, 40014, 12211, 2147483563L, LCG(s1)); in php_combined_lcg() 63 MODMULT(52774, 40692, 3791, 2147483399L, LCG(s2)); in php_combined_lcg() 65 z = LCG(s1) - LCG(s2); in php_combined_lcg() 79 LCG(s1) = tv.tv_sec ^ (tv.tv_usec<<11); in lcg_seed() 81 LCG(s1) = 1; in lcg_seed() 84 LCG(s2) = (zend_long) tsrm_thread_id(); in lcg_seed() 86 LCG(s2) = (zend_long) getpid(); in lcg_seed() 91 LCG(s2) ^= (tv.tv_usec<<11); in lcg_seed() 94 LCG(seeded) = 1; in lcg_seed() [all …]
|
/dports/www/mod_php74/php-7.4.27/ext/standard/ |
H A D | lcg.c | 58 if (!LCG(seeded)) { in php_combined_lcg() 62 MODMULT(53668, 40014, 12211, 2147483563L, LCG(s1)); in php_combined_lcg() 63 MODMULT(52774, 40692, 3791, 2147483399L, LCG(s2)); in php_combined_lcg() 65 z = LCG(s1) - LCG(s2); in php_combined_lcg() 79 LCG(s1) = tv.tv_sec ^ (tv.tv_usec<<11); in lcg_seed() 81 LCG(s1) = 1; in lcg_seed() 84 LCG(s2) = (zend_long) tsrm_thread_id(); in lcg_seed() 86 LCG(s2) = (zend_long) getpid(); in lcg_seed() 91 LCG(s2) ^= (tv.tv_usec<<11); in lcg_seed() 94 LCG(seeded) = 1; in lcg_seed() [all …]
|
/dports/www/mod_php80/php-8.0.15/ext/standard/ |
H A D | lcg.c | 56 if (!LCG(seeded)) { in php_combined_lcg() 60 MODMULT(53668, 40014, 12211, 2147483563L, LCG(s1)); in php_combined_lcg() 61 MODMULT(52774, 40692, 3791, 2147483399L, LCG(s2)); in php_combined_lcg() 63 z = LCG(s1) - LCG(s2); in php_combined_lcg() 77 LCG(s1) = tv.tv_sec ^ (tv.tv_usec<<11); in lcg_seed() 79 LCG(s1) = 1; in lcg_seed() 82 LCG(s2) = (zend_long) tsrm_thread_id(); in lcg_seed() 84 LCG(s2) = (zend_long) getpid(); in lcg_seed() 89 LCG(s2) ^= (tv.tv_usec<<11); in lcg_seed() 92 LCG(seeded) = 1; in lcg_seed() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/acro/packages/utilib/src/libs/ |
H A D | LCG.cpp | 61 unsigned long LCG::asLong() in asLong() 75 void LCG::reset() in reset() 99 void LCG::reseed(unsigned seed) in reseed() 107 LCG::LCG(unsigned short seed) in LCG() function in utilib::LCG 111 void LCG::write(ostream& os) const in write() 113 void LCG::write(std::ostream& os) const in write() 121 void LCG::read(istream& is) in read() 123 void LCG::read(std::istream& is) in read()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/Utils/ |
H A D | CallGraphUpdater.cpp | 54 if (LCG && !ReplacedFunctions.count(DeadFn)) { in finalize() 56 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize() 57 auto *DeadSCC = LCG->lookupSCC(N); in finalize() 68 LCG->removeDeadFunction(*DeadFn); in finalize() 92 } else if (LCG) { in reanalyzeFunction() 93 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction() 94 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction() 102 else if (LCG) in registerOutlinedFunction() 103 LCG->addNewFunctionIntoSCC(NewFn, *SCC); in registerOutlinedFunction() 134 } else if (LCG) { in replaceFunctionWith() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/ |
H A D | CallGraphUpdater.cpp | 54 if (LCG && !ReplacedFunctions.count(DeadFn)) { in finalize() 56 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize() 57 auto *DeadSCC = LCG->lookupSCC(N); in finalize() 68 LCG->removeDeadFunction(*DeadFn); in finalize() 92 } else if (LCG) { in reanalyzeFunction() 93 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction() 94 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction() 103 else if (LCG) in registerOutlinedFunction() 104 LCG->addSplitFunction(OriginalFn, NewFn); in registerOutlinedFunction() 135 } else if (LCG) { in replaceFunctionWith() [all …]
|
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/Utils/ |
H A D | CallGraphUpdater.cpp | 54 if (LCG && !ReplacedFunctions.count(DeadFn)) { in finalize() 56 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize() 57 auto *DeadSCC = LCG->lookupSCC(N); in finalize() 68 LCG->removeDeadFunction(*DeadFn); in finalize() 92 } else if (LCG) { in reanalyzeFunction() 93 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction() 94 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction() 103 else if (LCG) in registerOutlinedFunction() 104 LCG->addSplitFunction(OriginalFn, NewFn); in registerOutlinedFunction() 135 } else if (LCG) { in replaceFunctionWith() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/Utils/ |
H A D | CallGraphUpdater.cpp | 54 if (LCG && !ReplacedFunctions.count(DeadFn)) { in finalize() 56 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize() 57 auto *DeadSCC = LCG->lookupSCC(N); in finalize() 68 LCG->removeDeadFunction(*DeadFn); in finalize() 92 } else if (LCG) { in reanalyzeFunction() 93 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction() 94 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction() 103 else if (LCG) in registerOutlinedFunction() 104 LCG->addSplitFunction(OriginalFn, NewFn); in registerOutlinedFunction() 135 } else if (LCG) { in replaceFunctionWith() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/Utils/ |
H A D | CallGraphUpdater.cpp | 54 if (LCG && !ReplacedFunctions.count(DeadFn)) { in finalize() 56 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize() 57 auto *DeadSCC = LCG->lookupSCC(N); in finalize() 68 LCG->removeDeadFunction(*DeadFn); in finalize() 92 } else if (LCG) { in reanalyzeFunction() 93 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction() 94 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction() 102 else if (LCG) in registerOutlinedFunction() 103 LCG->addNewFunctionIntoSCC(NewFn, *SCC); in registerOutlinedFunction() 134 } else if (LCG) { in replaceFunctionWith() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CallGraphUpdater.cpp | 54 if (LCG && !ReplacedFunctions.count(DeadFn)) { in finalize() 56 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize() 57 auto *DeadSCC = LCG->lookupSCC(N); in finalize() 68 LCG->removeDeadFunction(*DeadFn); in finalize() 92 } else if (LCG) { in reanalyzeFunction() 93 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction() 94 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction() 103 else if (LCG) in registerOutlinedFunction() 104 LCG->addSplitFunction(OriginalFn, NewFn); in registerOutlinedFunction() 135 } else if (LCG) { in replaceFunctionWith() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Transforms/Utils/ |
H A D | CallGraphUpdater.cpp | 54 if (LCG && !ReplacedFunctions.count(DeadFn)) { in finalize() 56 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize() 57 auto *DeadSCC = LCG->lookupSCC(N); in finalize() 68 LCG->removeDeadFunction(*DeadFn); in finalize() 92 } else if (LCG) { in reanalyzeFunction() 93 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction() 94 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction() 103 else if (LCG) in registerOutlinedFunction() 104 LCG->addSplitFunction(OriginalFn, NewFn); in registerOutlinedFunction() 135 } else if (LCG) { in replaceFunctionWith() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/ |
H A D | CallGraphUpdater.cpp | 54 if (LCG && !ReplacedFunctions.count(DeadFn)) { in finalize() 56 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize() 57 auto *DeadSCC = LCG->lookupSCC(N); in finalize() 68 LCG->removeDeadFunction(*DeadFn); in finalize() 92 } else if (LCG) { in reanalyzeFunction() 93 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction() 94 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction() 103 else if (LCG) in registerOutlinedFunction() 104 LCG->addSplitFunction(OriginalFn, NewFn); in registerOutlinedFunction() 135 } else if (LCG) { in replaceFunctionWith() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/Utils/ |
H A D | CallGraphUpdater.cpp | 54 if (LCG && !ReplacedFunctions.count(DeadFn)) { in finalize() 56 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize() 57 auto *DeadSCC = LCG->lookupSCC(N); in finalize() 68 LCG->removeDeadFunction(*DeadFn); in finalize() 92 } else if (LCG) { in reanalyzeFunction() 93 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction() 94 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction() 103 else if (LCG) in registerOutlinedFunction() 104 LCG->addSplitFunction(OriginalFn, NewFn); in registerOutlinedFunction() 135 } else if (LCG) { in replaceFunctionWith() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/ |
H A D | CallGraphUpdater.cpp | 54 if (LCG && !ReplacedFunctions.count(DeadFn)) { in finalize() 56 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize() 57 auto *DeadSCC = LCG->lookupSCC(N); in finalize() 68 LCG->removeDeadFunction(*DeadFn); in finalize() 92 } else if (LCG) { in reanalyzeFunction() 93 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction() 94 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction() 103 else if (LCG) in registerOutlinedFunction() 104 LCG->addSplitFunction(OriginalFn, NewFn); in registerOutlinedFunction() 135 } else if (LCG) { in replaceFunctionWith() [all …]
|
/dports/math/sprng/sprng5/SRC/lcg/ |
H A D | lcg.h | 5 class LCG : public Sprng 9 LCG(); 11 ~LCG(); 12 LCG (const LCG &); 13 LCG & operator= (const LCG &);
|
H A D | lcg.cpp | 191 LCG::LCG() in LCG() function in LCG 261 if ((LCG *) mymalloc(1*sizeof(LCG)) == NULL) { in init_rng() 299 LCG::~LCG() in ~LCG() 304 LCG::LCG (const LCG & c) in LCG() function in LCG 324 LCG & LCG::operator= (const LCG & c) in operator =() 355 int LCG::get_rn_int() in get_rn_int() 369 float LCG::get_rn_flt() in get_rn_flt() 434 LCG ** genptr; in spawn_rng() 579 void LCG::multiply() in multiply() 727 int LCG::free_rng() in free_rng() [all …]
|
/dports/math/sprng/sprng5/include/ |
H A D | lcg.h | 5 class LCG : public Sprng 9 LCG(); 11 ~LCG(); 12 LCG (const LCG &); 13 LCG & operator= (const LCG &);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/Utils/ |
H A D | CallGraphUpdater.cpp | 54 if (LCG && !ReplacedFunctions.count(DeadFn)) { in finalize() 56 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize() 57 auto *DeadSCC = LCG->lookupSCC(N); in finalize() 63 AM->getResult<FunctionAnalysisManagerCGSCCProxy>(*DeadSCC, *LCG) in finalize() 68 LCG->removeDeadFunction(*DeadFn); in finalize() 92 } else if (LCG) { in reanalyzeFunction() 93 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction() 94 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction() 95 updateCGAndAnalysisManagerForCGSCCPass(*LCG, *C, N, *AM, *UR, *FAM); in reanalyzeFunction() 132 } else if (LCG) { in replaceFunctionWith() [all …]
|
/dports/audio/praat/praat-6.2.03/external/gsl/ |
H A D | gsl_rng__taus.c | 122 #define LCG(n) ((69069 * n) & 0xffffffffUL) in taus_set() macro 123 state->s1 = LCG (s); in taus_set() 124 state->s2 = LCG (state->s1); in taus_set() 125 state->s3 = LCG (state->s2); in taus_set() 145 #define LCG(n) ((69069 * n) & 0xffffffffUL) in taus2_set() macro 146 state->s1 = LCG (s); in taus2_set() 148 state->s2 = LCG (state->s1); in taus2_set() 150 state->s3 = LCG (state->s2); in taus2_set()
|
/dports/math/gsl/gsl-2.7/rng/ |
H A D | taus.c | 122 #define LCG(n) ((69069 * n) & 0xffffffffUL) in taus_set() macro 123 state->s1 = LCG (s); in taus_set() 124 state->s2 = LCG (state->s1); in taus_set() 125 state->s3 = LCG (state->s2); in taus_set() 145 #define LCG(n) ((69069 * n) & 0xffffffffUL) in taus2_set() macro 146 state->s1 = LCG (s); in taus2_set() 148 state->s2 = LCG (state->s1); in taus2_set() 150 state->s3 = LCG (state->s2); in taus2_set()
|