Searched defs:probability (Results 1 - 15 of 15) sorted by relevance

/external/iptables/include/linux/netfilter/
H A Dxt_statistic.h25 __u32 probability; member in struct:xt_statistic_info::__anon19860::__anon19861
/external/kernel-headers/original/linux/netfilter/
H A Dxt_statistic.h21 u_int32_t probability; member in struct:xt_statistic_info::__anon20387::__anon20388
/external/iproute2/tc/
H A Dq_choke.c40 double probability = 0.02; local
89 } else if (strcmp(*argv, "probability") == 0) {
91 if (sscanf(*argv, "%lg", &probability) != 1) {
92 fprintf(stderr, "Illegal \"probability\"\n");
141 wlog = tc_red_eval_P(opt.qth_min*avpkt, opt.qth_max*avpkt, probability);
143 fprintf(stderr, "CHOKE: failed to calculate probability.\n");
161 max_P = probability * pow(2, 32);
196 fprintf(f, "probability %g ", max_P / pow(2, 32));
H A Dq_gred.c40 fprintf(stderr, "Usage: ... gred DP drop-probability limit BYTES "
42 fprintf(stderr, " avpkt BYTES burst PACKETS probability PROBABILITY "
124 double probability = 0.02; local
187 } else if (strcmp(*argv, "probability") == 0) {
189 if (sscanf(*argv, "%lg", &probability) != 1) {
190 fprintf(stderr, "Illegal \"probability\"\n");
239 if ((wlog = tc_red_eval_P(opt.qth_min, opt.qth_max, probability)) < 0) {
240 fprintf(stderr, "GRED: failed to calculate probability.\n");
256 max_P = probability * pow(2, 32);
316 fprintf(f, "probability
[all...]
H A Dq_red.c32 fprintf(stderr, " [adaptive] [probability PROBABILITY] bandwidth KBPS\n");
41 double probability = 0.02; local
81 } else if (strcmp(*argv, "probability") == 0) {
83 if (sscanf(*argv, "%lg", &probability) != 1) {
84 fprintf(stderr, "Illegal \"probability\"\n");
136 if ((wlog = tc_red_eval_P(opt.qth_min, opt.qth_max, probability)) < 0) {
137 fprintf(stderr, "RED: failed to calculate probability.\n");
151 max_P = probability * pow(2, 32);
194 fprintf(f, "probability %lg ", max_P / pow(2, 32));
H A Dq_sfq.c34 fprintf(stderr, " [ avpkt BYTES ] [ burst PACKETS ] [ probability P ]\n");
45 double probability = 0.02; local
134 } else if (strcmp(*argv, "probability") == 0) {
136 if (sscanf(*argv, "%lg", &probability) != 1) {
137 fprintf(stderr, "Illegal \"probability\"\n");
192 wlog = tc_red_eval_P(opt.qth_min, opt.qth_max, probability);
194 fprintf(stderr, "SFQ: failed to calculate probability.\n");
198 opt.max_P = probability * pow(2, 32);
236 fprintf(f, "min %s max %s probability %g ",
/external/libvpx/libvpx/vp8/decoder/
H A Ddboolhuff.h59 static int vp8dx_decode_bool(BOOL_DECODER *br, int probability) { argument
67 split = 1 + (((br->range - 1) * probability) >> 8);
/external/libvpx/libvpx/vp8/encoder/
H A Dboolhuff.h62 static void vp8_encode_bool(BOOL_CODER *br, int bit, int probability) argument
74 Sectionbits[active_section] += vp8_prob_cost[255-probability];
76 Sectionbits[active_section] += vp8_prob_cost[probability];
81 split = 1 + (((range - 1) * probability) >> 8);
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_dboolhuff.h41 static int vp9_read(vp9_reader *br, int probability) { argument
47 unsigned int split = ((br->range * probability) + (256 - probability)) >> 8;
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_boolhuff.h44 static void vp9_write(vp9_writer *br, int bit, int probability) { argument
55 Sectionbits[active_section] += vp9_prob_cost[255 - probability];
57 Sectionbits[active_section] += vp9_prob_cost[probability];
62 split = 1 + (((range - 1) * probability) >> 8);
/external/chromium_org/components/autofill/core/browser/
H A Dpassword_generator.cc60 // we have probability = |num_needed| / |num_left| to select
62 size_t probability = base::RandInt(0, num_left - 1); local
63 if (probability < num_needed) {
/external/chromium_org/components/variations/
H A Dvariations_seed_processor_unittest.cc34 // Adds an experiment to |study| with the specified |name| and |probability|.
35 Study_Experiment* AddExperiment(const std::string& name, int probability, argument
39 experiment->set_probability_weight(probability);
535 // The two flag groups are given high probability, which would normally make
/external/kernel-headers/original/linux/
H A Dpkt_sched.h493 __u32 probability; member in struct:tc_netem_reorder
499 __u32 probability; member in struct:tc_netem_corrupt
/external/iproute2/include/linux/
H A Dpkt_sched.h207 __u32 max_P; /* probability, high resolution */
533 __u32 probability; member in struct:tc_netem_reorder
538 __u32 probability; member in struct:tc_netem_corrupt
621 __u32 increment; /* probability increment, (d1 in Blue) */
622 __u32 decrement; /* probability decrement, (d2 in Blue) */
/external/chromium_org/v8/src/
H A Djsregexp.cc3694 // probability-of-finding-one-of-the-characters, where the probability is
3722 // We use the probability of skipping times the distance we are skipping to
3724 // dividing by 2 we switch off the skipping if the probability of skipping
3729 // Called 'probability' but it is only a rough estimate and can actually
3731 int probability = (in_quickcheck_range ? kSize / 2 : kSize) - frequency; local
3732 int points = (i - remembered_from) * probability;

Completed in 253 milliseconds