Home
last modified time | relevance | path

Searched refs:max_counts (Results 1 – 25 of 40) sorted by relevance

12

/dports/net-p2p/vuze/vuze-5.7.4.0_2/com/aelitis/azureus/core/peermanager/utils/
H A DPeerMessageLimiter.java49 public boolean countIncomingMessage( String message_id, int max_counts, int time_limit_ms ) { in countIncomingMessage() argument
54 data = new CountData( max_counts, time_limit_ms ); in countIncomingMessage()
62 if( data.counts.size() > data.max_counts ) { //we've potentially reached our count limit in countIncomingMessage()
78 if( data.counts.size() > data.max_counts ) { //too many counts within the time limit in countIncomingMessage()
90 private final int max_counts; field in PeerMessageLimiter.CountData
94 private CountData( int max_counts, int time_limit ) { in CountData() argument
95 this.max_counts = max_counts; in CountData()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/learning/common/
H A Dtarget_histogram_unittest.cc85 double max_counts = 0; in TEST_F() local
86 EXPECT_TRUE(histogram_.FindSingularMax(&max_value, &max_counts)); in TEST_F()
88 EXPECT_EQ(max_counts, counts_1); in TEST_F()
98 double max_counts = 0; in TEST_F() local
99 EXPECT_TRUE(histogram_.FindSingularMax(&max_value, &max_counts)); in TEST_F()
101 EXPECT_EQ(max_counts, counts_1); in TEST_F()
109 double max_counts = 0; in TEST_F() local
110 EXPECT_FALSE(histogram_.FindSingularMax(&max_value, &max_counts)); in TEST_F()
121 double max_counts = 0; in TEST_F() local
122 EXPECT_TRUE(histogram_.FindSingularMax(&max_value, &max_counts)); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/learning/common/
H A Dtarget_histogram_unittest.cc85 double max_counts = 0; in TEST_F() local
86 EXPECT_TRUE(histogram_.FindSingularMax(&max_value, &max_counts)); in TEST_F()
88 EXPECT_EQ(max_counts, counts_1); in TEST_F()
98 double max_counts = 0; in TEST_F() local
99 EXPECT_TRUE(histogram_.FindSingularMax(&max_value, &max_counts)); in TEST_F()
101 EXPECT_EQ(max_counts, counts_1); in TEST_F()
109 double max_counts = 0; in TEST_F() local
110 EXPECT_FALSE(histogram_.FindSingularMax(&max_value, &max_counts)); in TEST_F()
121 double max_counts = 0; in TEST_F() local
122 EXPECT_TRUE(histogram_.FindSingularMax(&max_value, &max_counts)); in TEST_F()
[all …]
/dports/devel/aws-c-common/aws-c-common-0.6.15/tests/
H A Dmutex_test.c39 int max_counts; member
48 if (p_mutex->counter != p_mutex->max_counts) { in s_mutex_thread_fn()
52 finished = p_mutex->counter == p_mutex->max_counts; in s_mutex_thread_fn()
65 .max_counts = 1000000, in s_test_mutex_is_actually_mutex()
87 if (mutex_data.counter != mutex_data.max_counts) { in s_test_mutex_is_actually_mutex()
91 finished = mutex_data.counter == mutex_data.max_counts; in s_test_mutex_is_actually_mutex()
102 …mutex_data.max_counts, mutex_data.counter, "Both threads should have written exactly the max count… in s_test_mutex_is_actually_mutex()
H A Drw_lock_test.c43 int max_counts; member
54 if (p_rw_lock->counter != p_rw_lock->max_counts) { in s_rw_lock_thread_fn()
66 finished = p_rw_lock->counter == p_rw_lock->max_counts; in s_rw_lock_thread_fn()
80 .max_counts = 1000000, in s_test_rw_lock_is_actually_rw_lock()
97 finished = rw_lock_data.counter == rw_lock_data.max_counts; in s_test_rw_lock_is_actually_rw_lock()
104 …rw_lock_data.thread_fn_increments, rw_lock_data.max_counts, "Thread 2 should have written all data… in s_test_rw_lock_is_actually_rw_lock()
106 …rw_lock_data.max_counts, rw_lock_data.counter, "Both threads should have written exactly the max c… in s_test_rw_lock_is_actually_rw_lock()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/learning/impl/
H A Drandom_number_generator_unittest.cc26 size_t max_counts = min_counts; in GenerateAndVerify() local
33 if (c > max_counts) in GenerateAndVerify()
34 max_counts = c; in GenerateAndVerify()
49 EXPECT_LT(max_counts, expected_counts * 1.05); in GenerateAndVerify()
50 EXPECT_GT(max_counts, expected_counts * 0.95); in GenerateAndVerify()
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/learning/impl/
H A Drandom_number_generator_unittest.cc26 size_t max_counts = min_counts; in GenerateAndVerify() local
33 if (c > max_counts) in GenerateAndVerify()
34 max_counts = c; in GenerateAndVerify()
49 EXPECT_LT(max_counts, expected_counts * 1.05); in GenerateAndVerify()
50 EXPECT_GT(max_counts, expected_counts * 0.95); in GenerateAndVerify()
/dports/misc/gpsim/gpsim-0.31.0/src/
H A Dtmr0.cc185 last_cycle = (restart_value % max_counts()) * prescale; in start()
187 guint64 fc = last_cycle + max_counts() * prescale; in start()
250 if (value.get() >= (max_counts() - 1)) in increment()
307 if (new_value == (int)max_counts()) in get_value()
322 if (new_value >= (int)max_counts()) in get_value()
324 std::cout << "TMR0: bug TMR0 is larger than " << max_counts() - 1 << "...\n"; in get_value()
413 if (new_value >= max_counts()) in new_prescale()
415 std::cout << "TMR0 bug (new_prescale): exceeded max count" << max_counts() << '\n'; in new_prescale()
428 guint64 fc = last_cycle + max_counts() * prescale; in new_prescale()
505 future_cycle = last_cycle + max_counts() * prescale; in callback()
/dports/biology/py-scikit-bio/scikit-bio-0.5.6/skbio/stats/
H A Dpower.py154 max_counts=50, counts_interval=10, min_counts=None, argument
357 max_counts=max_counts,
383 max_counts=50, counts_interval=10, min_counts=None, argument
546 max_counts=max_counts,
842 max_counts=50, counts_interval=10, argument
926 if (max_counts - min_counts) < counts_interval:
952 min(max_counts, largest),
/dports/textproc/py-nltk/nltk-3.4.1/nltk/translate/
H A Dbleu_score.py321 max_counts = {}
327 max_counts[ngram] = max(max_counts.get(ngram, 0), reference_counts[ngram])
331 ngram: min(count, max_counts[ngram]) for ngram, count in counts.items()
/dports/print/texlive-base/texlive-20150521-source/texk/ps2pk/
H A Dpkout.c172 { int current_value, pixel, i, j, max_counts, first_count; in pk_runlengths() local
177 first_count = H; max_counts = first_count + H * W; in pk_runlengths()
183 if (max_counts > MAX_COUNTS) { in pk_runlengths()
185 count = malloc(max_counts * sizeof(int)); in pk_runlengths()
187 MAX_COUNTS = max_counts; in pk_runlengths()
/dports/devel/tex-synctex/texlive-20150521-source/texk/web2c/
H A Dpktogf.ch91 @!max_counts=400; {maximum number of run counts in a raster line}
353 max_counts := MAX_COUNTS;
367 @!row_counts : array [0..max_counts] of integer ;
369 @!max_counts : integer ;
377 print_ln('Reallocated row_counts array to ', (max_counts+MAX_COUNTS):1,
378 ' items from ', max_counts:1, '.');
379 max_counts := max_counts + MAX_COUNTS;
380 row_counts := xrealloc_array (row_counts, integer, max_counts);
/dports/devel/tex-web2c/texlive-20150521-source/texk/web2c/
H A Dpktogf.ch91 @!max_counts=400; {maximum number of run counts in a raster line}
353 max_counts := MAX_COUNTS;
367 @!row_counts : array [0..max_counts] of integer ;
369 @!max_counts : integer ;
377 print_ln('Reallocated row_counts array to ', (max_counts+MAX_COUNTS):1,
378 ' items from ', max_counts:1, '.');
379 max_counts := max_counts + MAX_COUNTS;
380 row_counts := xrealloc_array (row_counts, integer, max_counts);
/dports/japanese/tex-ptex/texlive-20150521-source/texk/web2c/
H A Dpktogf.ch91 @!max_counts=400; {maximum number of run counts in a raster line}
353 max_counts := MAX_COUNTS;
367 @!row_counts : array [0..max_counts] of integer ;
369 @!max_counts : integer ;
377 print_ln('Reallocated row_counts array to ', (max_counts+MAX_COUNTS):1,
378 ' items from ', max_counts:1, '.');
379 max_counts := max_counts + MAX_COUNTS;
380 row_counts := xrealloc_array (row_counts, integer, max_counts);
/dports/print/tex-basic-engines/texlive-20150521-source/texk/web2c/
H A Dpktogf.ch91 @!max_counts=400; {maximum number of run counts in a raster line}
353 max_counts := MAX_COUNTS;
367 @!row_counts : array [0..max_counts] of integer ;
369 @!max_counts : integer ;
377 print_ln('Reallocated row_counts array to ', (max_counts+MAX_COUNTS):1,
378 ' items from ', max_counts:1, '.');
379 max_counts := max_counts + MAX_COUNTS;
380 row_counts := xrealloc_array (row_counts, integer, max_counts);
/dports/print/tex-aleph/texlive-20150521-source/texk/web2c/
H A Dpktogf.ch91 @!max_counts=400; {maximum number of run counts in a raster line}
353 max_counts := MAX_COUNTS;
367 @!row_counts : array [0..max_counts] of integer ;
369 @!max_counts : integer ;
377 print_ln('Reallocated row_counts array to ', (max_counts+MAX_COUNTS):1,
378 ' items from ', max_counts:1, '.');
379 max_counts := max_counts + MAX_COUNTS;
380 row_counts := xrealloc_array (row_counts, integer, max_counts);
/dports/print/tex-luatex/texlive-20150521-source/texk/web2c/
H A Dpktogf.ch91 @!max_counts=400; {maximum number of run counts in a raster line}
353 max_counts := MAX_COUNTS;
367 @!row_counts : array [0..max_counts] of integer ;
369 @!max_counts : integer ;
377 print_ln('Reallocated row_counts array to ', (max_counts+MAX_COUNTS):1,
378 ' items from ', max_counts:1, '.');
379 max_counts := max_counts + MAX_COUNTS;
380 row_counts := xrealloc_array (row_counts, integer, max_counts);
/dports/print/tex-xetex/texlive-20150521-source/texk/web2c/
H A Dpktogf.ch91 @!max_counts=400; {maximum number of run counts in a raster line}
353 max_counts := MAX_COUNTS;
367 @!row_counts : array [0..max_counts] of integer ;
369 @!max_counts : integer ;
377 print_ln('Reallocated row_counts array to ', (max_counts+MAX_COUNTS):1,
378 ' items from ', max_counts:1, '.');
379 max_counts := max_counts + MAX_COUNTS;
380 row_counts := xrealloc_array (row_counts, integer, max_counts);
/dports/biology/py-biom-format/biom-format-2.1.10/biom/cli/
H A Dtable_summarizer.py64 min_counts, max_counts, median_counts, mean_counts, counts_per_samp =\
112 lines.append(' Max: ' + locale.format('%1.3f', max_counts, grouping=True))
/dports/devel/cdash/CDash-2-2-3/tests/kwtest/simpletest/
H A Dmock_objects.php646 private $max_counts; variable in SimpleMock
659 $this->max_counts = array();
939 $this->max_counts[strtolower($method)] =
1092 foreach ($this->max_counts as $method => $expectation) {
1147 if (isset($this->max_counts[$method])) {
1148 if (! $this->max_counts[$method]->test($timing + 1)) {
1149 $test->assert($this->max_counts[$method], $timing + 1);
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/docopt-1.1.0/src/
H A Dparse.rs1072 max_counts: HashMap<Atom, usize>, // optional flag appearances field
1132 match self.max_counts.entry(flag.clone()) { in use_flag()
1151 match self.max_counts.entry(flag.clone()) { in use_optional_flag()
1187 max_counts: HashMap::new(), in matches()
1278 self.argv.counts.keys().all(|flag| state.max_counts.contains_key(flag)) in state_has_valid_flags()
1283 |(flag, count)| count <= &state.max_counts[flag]) in state_valid_num_flags()
1324 let max_count = base.max_counts.get(a) in states()
1340 let max_count = base.max_counts.get(a) in states()
1362 let max_count = base.max_counts.get(a) in states()
/dports/net/quiche/quiche-0.9.0/cargo-crates/docopt-1.1.1/src/
H A Dparse.rs1072 max_counts: HashMap<Atom, usize>, // optional flag appearances field
1132 match self.max_counts.entry(flag.clone()) { in use_flag()
1151 match self.max_counts.entry(flag.clone()) { in use_optional_flag()
1187 max_counts: HashMap::new(), in matches()
1278 self.argv.counts.keys().all(|flag| state.max_counts.contains_key(flag)) in state_has_valid_flags()
1283 |(flag, count)| count <= &state.max_counts[flag]) in state_valid_num_flags()
1324 let max_count = base.max_counts.get(a) in states()
1340 let max_count = base.max_counts.get(a) in states()
1362 let max_count = base.max_counts.get(a) in states()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/docopt-1.1.0/src/
H A Dparse.rs1072 max_counts: HashMap<Atom, usize>, // optional flag appearances field
1132 match self.max_counts.entry(flag.clone()) { in use_flag()
1151 match self.max_counts.entry(flag.clone()) { in use_optional_flag()
1187 max_counts: HashMap::new(), in matches()
1278 self.argv.counts.keys().all(|flag| state.max_counts.contains_key(flag)) in state_has_valid_flags()
1283 |(flag, count)| count <= &state.max_counts[flag]) in state_valid_num_flags()
1324 let max_count = base.max_counts.get(a) in states()
1340 let max_count = base.max_counts.get(a) in states()
1362 let max_count = base.max_counts.get(a) in states()
/dports/textproc/xsv-rs/xsv-0.13.0/cargo-crates/docopt-1.0.0/src/
H A Dparse.rs1070 max_counts: HashMap<Atom, usize>, // optional flag appearances field
1130 match self.max_counts.entry(flag.clone()) { in use_flag()
1149 match self.max_counts.entry(flag.clone()) { in use_optional_flag()
1185 max_counts: HashMap::new(), in matches()
1276 self.argv.counts.keys().all(|flag| state.max_counts.contains_key(flag)) in state_has_valid_flags()
1281 |(flag, count)| count <= &state.max_counts[flag]) in state_valid_num_flags()
1322 let max_count = base.max_counts.get(a) in states()
1338 let max_count = base.max_counts.get(a) in states()
1360 let max_count = base.max_counts.get(a) in states()
/dports/sysutils/tealdeer/tealdeer-1.4.1/cargo-crates/docopt-1.1.0/src/
H A Dparse.rs1072 max_counts: HashMap<Atom, usize>, // optional flag appearances field
1132 match self.max_counts.entry(flag.clone()) { in use_flag()
1151 match self.max_counts.entry(flag.clone()) { in use_optional_flag()
1187 max_counts: HashMap::new(), in matches()
1278 self.argv.counts.keys().all(|flag| state.max_counts.contains_key(flag)) in state_has_valid_flags()
1283 |(flag, count)| count <= &state.max_counts[flag]) in state_valid_num_flags()
1324 let max_count = base.max_counts.get(a) in states()
1340 let max_count = base.max_counts.get(a) in states()
1362 let max_count = base.max_counts.get(a) in states()

12