Home
last modified time | relevance | path

Searched refs:g_seed (Results 1 – 25 of 38) sorted by relevance

12

/dports/security/john/john-1.9.0-jumbo-1/src/
H A Dsyb-prop_repro_plug.c10 *g_seed = seed; in rnd_srand()
13 static MAYBE_INLINE int rnd_rand(unsigned int *g_seed) in rnd_rand() argument
15 *g_seed = (*g_seed) * 0x343FD + 0x269EC3; in rnd_rand()
16 return ((*g_seed) >> 0x10) & 0x7FFF; in rnd_rand()
61 static MAYBE_INLINE unsigned char salt_prob(unsigned int *g_seed) in salt_prob() argument
63 unsigned int random = rnd_rand(g_seed); in salt_prob()
82 salt_byte = salt_prob(g_seed); in meta_keysch_repro()
91 salt_byte = salt_prob(g_seed); in meta_keysch_repro()
102 salt_byte = salt_prob(g_seed); in meta_keysch_repro()
127 unsigned int g_seed = 0x3f; in generate_hash() local
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/android_webview/browser/variations/
H A Dvariations_seed_loader.cc24 AwVariationsSeed* g_seed = nullptr; variable
46 g_seed = seed.release(); in JNI_VariationsSeedLoader_ParseAndSaveSeedProto()
51 return g_seed ? g_seed->date() : 0; in JNI_VariationsSeedLoader_GetSavedSeedDate()
55 std::unique_ptr<AwVariationsSeed> seed(g_seed); in TakeSeed()
56 g_seed = nullptr; in TakeSeed()
/dports/science/nwchem-data/nwchem-7.0.2-release/src/dimqm/
H A Dseeded_qmr_real_augment.F44 integer id, ld, k_seed, g_seed(2)
81 $ g_seed(1)))
84 $ g_seed(2)))
87 call ga_zero(g_seed(i))
139 call ga_access(g_seed(1), 1, nlen, 1, 1, k_seed, ld)
143 call ga_release_update(g_seed(1), 1, nlen, 1, 1)
144 call ga_access(g_seed(2), 1, nlen, 1, 1, k_seed, ld)
148 call ga_release_update(g_seed(2), 1, nlen, 1, 1)
149 g_n = ga_ddot(g_work(7), g_seed(1)) * scpn
153 call ga_add(ONE, g_work(1), dtmp, g_seed(2), g_work(1))
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/dimqm/
H A Dseeded_qmr_real_augment.F44 integer id, ld, k_seed, g_seed(2)
81 $ g_seed(1)))
84 $ g_seed(2)))
87 call ga_zero(g_seed(i))
139 call ga_access(g_seed(1), 1, nlen, 1, 1, k_seed, ld)
143 call ga_release_update(g_seed(1), 1, nlen, 1, 1)
144 call ga_access(g_seed(2), 1, nlen, 1, 1, k_seed, ld)
148 call ga_release_update(g_seed(2), 1, nlen, 1, 1)
149 g_n = ga_ddot(g_work(7), g_seed(1)) * scpn
153 call ga_add(ONE, g_work(1), dtmp, g_seed(2), g_work(1))
/dports/databases/iowow/iowow-1.4.13/src/kv/tests/
H A Diwkv_test4.c8 uint32_t g_seed; variable
30 g_seed = ts; in init_suite()
32 fprintf(stderr, "\nRandom seed: %u\n", g_seed); in init_suite()
33 iwu_rand_seed(g_seed); in init_suite()
53 .random_seed = g_seed, in iwkv_test4_4()
91 .random_seed = g_seed, in iwkv_test4_3_impl()
191 .random_seed = g_seed, in iwkv_test2_impl()
H A Diwkv_test7.c13 uint32_t g_seed;
18 g_seed = 2681089616;
35 .random_seed = g_seed
/dports/math/libmesh/libmesh-1.6.2/contrib/eigen/3.2.9/test/
H A Dmain.h88 static unsigned int g_seed; variable
468 g_seed = int(strtoul(str, 0, 10));
469 if(errno || g_seed == 0)
527 if(!g_has_set_seed) g_seed = (unsigned int) time(NULL);
530 std::cout << "Initializing random number generator with seed " << g_seed << std::endl;
532 ss << "Seed: " << g_seed;
534 srand(g_seed);
/dports/math/eigen3/eigen-3.3.9/bench/
H A Dquat_slerp.cpp152 unsigned int g_seed = (unsigned int) time(NULL); in main() local
153 std::cout << g_seed << "\n"; in main()
155 srand(g_seed); in main()
/dports/math/stanmath/math-4.2.0/lib/eigen_3.3.9/bench/
H A Dquat_slerp.cpp152 unsigned int g_seed = (unsigned int) time(NULL); in main() local
153 std::cout << g_seed << "\n"; in main()
155 srand(g_seed); in main()
/dports/math/libmesh/libmesh-1.6.2/contrib/eigen/3.2.9/bench/
H A Dquat_slerp.cpp152 unsigned int g_seed = (unsigned int) time(NULL); in main() local
153 std::cout << g_seed << "\n"; in main()
155 srand(g_seed); in main()
/dports/math/libsemigroups/libsemigroups-1.3.7/extern/eigen-3.3.7/bench/
H A Dquat_slerp.cpp152 unsigned int g_seed = (unsigned int) time(NULL); in main() local
153 std::cout << g_seed << "\n"; in main()
155 srand(g_seed); in main()
/dports/misc/opennn/opennn-5.0.5/eigen/bench/
H A Dquat_slerp.cpp152 unsigned int g_seed = (unsigned int) time(NULL); in main() local
153 std::cout << g_seed << "\n"; in main()
155 srand(g_seed); in main()
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/eigen-3.3.7/bench/
H A Dquat_slerp.cpp152 unsigned int g_seed = (unsigned int) time(NULL); in main() local
153 std::cout << g_seed << "\n"; in main()
155 srand(g_seed); in main()
/dports/math/eigen3/eigen-3.3.9/test/
H A Dmain.h150 static unsigned int g_seed; variable
719 g_seed = int(strtoul(str, 0, 10));
720 if(errno || g_seed == 0)
778 if(!g_has_set_seed) g_seed = (unsigned int) time(NULL);
781 std::cout << "Initializing random number generator with seed " << g_seed << std::endl;
783 ss << "Seed: " << g_seed;
785 srand(g_seed);
/dports/math/stanmath/math-4.2.0/lib/eigen_3.3.9/test/
H A Dmain.h150 static unsigned int g_seed; variable
719 g_seed = int(strtoul(str, 0, 10));
720 if(errno || g_seed == 0)
778 if(!g_has_set_seed) g_seed = (unsigned int) time(NULL);
781 std::cout << "Initializing random number generator with seed " << g_seed << std::endl;
783 ss << "Seed: " << g_seed;
785 srand(g_seed);
/dports/math/libsemigroups/libsemigroups-1.3.7/extern/eigen-3.3.7/test/
H A Dmain.h145 static unsigned int g_seed; variable
714 g_seed = int(strtoul(str, 0, 10));
715 if(errno || g_seed == 0)
773 if(!g_has_set_seed) g_seed = (unsigned int) time(NULL);
776 std::cout << "Initializing random number generator with seed " << g_seed << std::endl;
778 ss << "Seed: " << g_seed;
780 srand(g_seed);
/dports/misc/opennn/opennn-5.0.5/eigen/test/
H A Dmain.h150 static unsigned int g_seed; variable
719 g_seed = int(strtoul(str, 0, 10));
720 if(errno || g_seed == 0)
778 if(!g_has_set_seed) g_seed = (unsigned int) time(NULL);
781 std::cout << "Initializing random number generator with seed " << g_seed << std::endl;
783 ss << "Seed: " << g_seed;
785 srand(g_seed);
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/eigen-3.3.7/test/
H A Dmain.h145 static unsigned int g_seed; variable
714 g_seed = int(strtoul(str, 0, 10));
715 if(errno || g_seed == 0)
773 if(!g_has_set_seed) g_seed = (unsigned int) time(NULL);
776 std::cout << "Initializing random number generator with seed " << g_seed << std::endl;
778 ss << "Seed: " << g_seed;
780 srand(g_seed);
/dports/security/vault/vault-1.8.2/vendor/github.com/apple/foundationdb/flow/
H A DTrace.h37 static int g_seed = 0; in fastrand() local
38 g_seed = 214013*g_seed + 2531011; in fastrand()
39 return (g_seed>>16)&0x7fff; in fastrand()
/dports/math/vtk9/VTK-9.1.0/ThirdParty/hdf5/vtkhdf5/src/
H A DH5system.c245 static unsigned int g_seed = 42; variable
250 return rand_r(&g_seed); in HDrand()
256 g_seed = seed; in HDsrand()
/dports/science/hdf5-18/hdf5-1.8.21/src/
H A DH5system.c573 static unsigned int g_seed = 42; variable
577 return rand_r(&g_seed); in HDrand()
582 g_seed = seed; in HDsrand()
/dports/math/vtk6/VTK-6.2.0/ThirdParty/hdf5/vtkhdf5/src/
H A DH5system.c574 static unsigned int g_seed = 42; variable
578 return rand_r(&g_seed); in HDrand()
583 g_seed = seed; in HDsrand()
/dports/games/libretro-opera/opera-libretro-5781f68/libopera/
H A Dopera_dsp.c229 uint32_t g_seed; member
257 DSP.g_seed = 69069 * DSP.g_seed + 1; in fastrand()
258 return (DSP.g_seed & 0xFFFF); in fastrand()
692 DSP.g_seed = 0xa5a5a5a5; in opera_dsp_init()
/dports/security/s2n/s2n-tls-1.1.2/pq-crypto/bike_r1/
H A Dbike_r1_kem.c107 calc_pk(OUT pk_t *pk, IN const seed_t *g_seed, IN const pad_sk_t p_sk) in calc_pk() argument
116 POSIX_GUARD(sample_uniform_r_bits(&g.val, g_seed, MUST_BE_ODD)); in calc_pk()
/dports/games/freeorion/freeorion-0.4.10.2/client/AI/
H A DAIClientApp.cpp289 const std::string g_seed = GetGalaxySetupData().m_seed; in HandleMessage() local
296 std::size_t h = string_hash(g_seed); in HandleMessage()

12