Home
last modified time | relevance | path

Searched refs:next_random (Results 1 – 25 of 148) sorted by relevance

123456

/dports/textproc/py-gensim/gensim-4.0.1/gensim/models/
H A Ddoc2vec_inner.pyx85 next_random = (next_random * <unsigned long long>25214903917ULL + 11) & modulo
102 return next_random
147 next_random = (next_random * <unsigned long long>25214903917ULL + 11) & modulo
162 return next_random
208 next_random = (next_random * <unsigned long long>25214903917ULL + 11) & modulo
223 return next_random
353 if c.sample and vocab_sample_ints[word_index] < random_int32(&c.next_random):
486 if c.sample and vocab_sample_ints[word_index] < random_int32(&c.next_random):
538 … c.next_random = fast_document_dm_neg(c.negative, c.cum_table, c.cum_table_len, c.next_random,
631 if c.sample and vocab_sample_ints[word_index] < random_int32(&c.next_random):
[all …]
H A Dword2vec_inner.pyx154 cdef inline unsigned long long random_int32(unsigned long long *next_random) nogil: argument
155 cdef unsigned long long this_random = next_random[0] >> 16
156 next_random[0] = (next_random[0] * <unsigned long long>25214903917ULL + 11) & 281474976710655ULL
163 unsigned long long next_random, REAL_t *words_lockf, argument
223 next_random = (next_random * <unsigned long long>25214903917ULL + 11) & modulo
247 return next_random
352 int i, int j, int k, int cbow_mean, unsigned long long next_random, REAL_t *words_lockf, argument
433 next_random = (next_random * <unsigned long long>25214903917ULL + 11) & modulo
464 return next_random
548 if c.sample and vocab_sample_ints[word_index] < random_int32(&c.next_random):
[all …]
H A Ddoc2vec_corpusfile.pyx59 int *effective_words, unsigned long long *next_random, cvocab_t *vocab, argument
75 if sample and predict_word.sample_int < random_int32(next_random):
91 reduced_windows[i] = random_int32(next_random) % window
185 &c.next_random, vocab.get_vocab_ptr(), c.indexes, c.codelens, c.codes, c.points,
208 c.next_random = fast_document_dbow_neg(
222 c.next_random = fast_document_dbow_neg(
224 c.layer1_size, c.indexes[i], _doc_tag, c.alpha, c.work, c.next_random,
360 c.next_random = fast_document_dm_neg(
361 c.negative, c.cum_table, c.cum_table_len, c.next_random, c.neu1,
492 &c.next_random, vocab.get_vocab_ptr(), c.indexes, c.codelens, c.codes,
[all …]
H A Ddoc2vec_inner.pxd52 unsigned long long cum_table_len, next_random
66 unsigned long long next_random, int learn_context, int learn_hidden, REAL_t *contexts_lockf, argument
77 …negative, np.uint32_t *cum_table, unsigned long long cum_table_len, unsigned long long next_random, argument
89 …negative, np.uint32_t *cum_table, unsigned long long cum_table_len, unsigned long long next_random, argument
H A Dword2vec_corpusfile.pyx187 int *effective_words, int *effective_sentences, unsigned long long *next_random, argument
206 if sample and word.sample_int < random_int32(next_random):
228 reduced_windows[i] = random_int32(next_random) % window
313 &c.next_random, vocab.get_vocab_ptr(), c.sentence_idx, c.indexes,
335 c.next_random = w2v_fast_sentence_sg_neg(
337 c.indexes[i], c.indexes[j], c.alpha, c.work, c.next_random,
413 &effective_sentences, &c.next_random, vocab.get_vocab_ptr(), c.sentence_idx,
433 c.next_random = w2v_fast_sentence_cbow_neg(
436 c.next_random, c.words_lockf, c.words_lockf_len, c.compute_loss,
H A Dfasttext_corpusfile.pyx47 … int *effective_words, int *effective_sentences, unsigned long long *next_random, cvocab_t *vocab, argument
66 if sample and word.sample_int < random_int32(next_random):
92 reduced_windows[i] = random_int32(next_random) % window
155 &c.next_random, vocab.get_vocab_ptr(), c.sentence_idx, c.indexes, c.codelens,
245 &c.next_random, vocab.get_vocab_ptr(), c.sentence_idx, c.indexes, c.codelens,
H A Dfasttext_inner.pyx127 … c.cum_table, (c.next_random >> 16) % c.cum_table[c.cum_table_len-1], 0, c.cum_table_len)
128 c.next_random = (c.next_random * <unsigned long long>25214903917ULL + 11) & modulo
274 …target_index = bisect_left(c.cum_table, (c.next_random >> 16) % c.cum_table[c.cum_table_len-1], 0,…
275 c.next_random = (c.next_random * <unsigned long long>25214903917ULL + 11) & modulo
422 c.next_random = (2**24) * model.random.randint(0, 2**24) + model.random.randint(0, 2**24)
482 if c.sample and vocab_sample_ints[word_index] < random_int32(&c.next_random):
/dports/games/wesnoth/wesnoth-1.14.17/src/
H A Drandom.cpp84 uint32_t rng::next_random() in next_random() function in randomness::rng
108 return static_cast<int> (next_random() % (static_cast<uint32_t>(max)+1)); in get_random_int_in_range_zero_to()
128 number.integer |= static_cast<uint64_t>(next_random()) << (52 - 32); in get_random_double()
H A Drandom.hpp35 uint32_t next_random();
81 uint32_t operator()() { return next_random(); } in operator ()()
/dports/devel/p5-Test-MockRandom/Test-MockRandom-1.01/t/
H A D06-override-global.t25 is( $obj->next_random(), .5, 'testing $obj->next_random == .5' );
H A D05-override-list.t27 is( $obj->next_random(), .5, 'testing $obj->next_random == .5' );
H A D04-override-module.t27 is( $obj->next_random(), .5, 'testing $obj->next_random == .5' );
/dports/devel/hyperscan/boost_1_75_0/libs/multiprecision/example/
H A Dcpp_int_mul_timing.cpp181 local_random_value_type next_random = rng(); in get_random_big_uint() local
183 *it_out = next_random; in get_random_big_uint()
189 next_random = rng(); in get_random_big_uint()
191 (*it_out) |= next_random; in get_random_big_uint()
/dports/science/clhep/2.4.1.0/CLHEP/Random/src/
H A DRanluxEngine.cc344 float next_random; in flat() local
380 next_random = uni; in flat()
417 std::cout << "next_random = " << next_random << "\n"; in flat()
421 return (double) next_random; in flat()
426 float next_random; in flatArray() local
450 next_random = uni; in flatArray()
451 vect[index] = (double)next_random; in flatArray()
/dports/sysutils/busybox/busybox-1.26.2/shell/
H A Drandom.c36 next_random(random_t *rnd) in next_random() function
152 buf[i] = next_random(&rnd); in main()
/dports/emulators/anese/ANESE-0.9.1/roms/tests/cpu/cpu_dummy_writes/source/
H A Dcpu_dummy_writes_oam.s243 jsr next_random
247 jsr next_random
257 jsr next_random
260 jsr next_random
263 jsr next_random
271 jsr next_random
274 jsr next_random
277 jsr next_random
280 jsr next_random
335 next_random: label
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/runtime/
H A DthreadHeapSampler.cpp54 uint64_t ThreadHeapSampler::next_random(uint64_t rnd) { in next_random() function in ThreadHeapSampler
91 _rnd = next_random(_rnd); in pick_next_geometric_sample()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/runtime/
H A DthreadHeapSampler.cpp54 uint64_t ThreadHeapSampler::next_random(uint64_t rnd) { in next_random() function in ThreadHeapSampler
91 _rnd = next_random(_rnd); in pick_next_geometric_sample()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/share/runtime/
H A DthreadHeapSampler.cpp54 uint64_t ThreadHeapSampler::next_random(uint64_t rnd) { in next_random() function in ThreadHeapSampler
91 _rnd = next_random(_rnd); in pick_next_geometric_sample()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/share/runtime/
H A DthreadHeapSampler.cpp54 uint64_t ThreadHeapSampler::next_random(uint64_t rnd) { in next_random() function in ThreadHeapSampler
91 _rnd = next_random(_rnd); in pick_next_geometric_sample()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/src/docs/
H A Dcursor-random.dox3 The \c next_random configuration to the WT_SESSION::open_cursor method
5 object (the \c next_random configuration is not supported on other types
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/runtime/
H A DthreadHeapSampler.cpp46 static uint64_t next_random(uint64_t rnd) { in next_random() function
81 _rnd = next_random(_rnd); in pick_next_geometric_sample()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/runtime/
H A DthreadHeapSampler.cpp46 static uint64_t next_random(uint64_t rnd) { in next_random() function
81 _rnd = next_random(_rnd); in pick_next_geometric_sample()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/runtime/
H A DthreadHeapSampler.cpp343 uint64_t ThreadHeapSampler::next_random(uint64_t rnd) { in next_random() function in ThreadHeapSampler
378 _rnd = next_random(_rnd); in pick_next_geometric_sample()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/runtime/
H A DthreadHeapSampler.cpp343 uint64_t ThreadHeapSampler::next_random(uint64_t rnd) { in next_random() function in ThreadHeapSampler
378 _rnd = next_random(_rnd); in pick_next_geometric_sample()

123456