HomeSort by relevance Sort by last modified time
    Searched full:probability (Results 1 - 25 of 1157) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/iptables/extensions/
libxt_statistic.t 3 -m statistic --mode random ! --probability 0.50000000000;=;OK
4 -m statistic --mode random ! --probability 1.1;;FAIL
5 -m statistic --probability 1;;FAIL
  /frameworks/base/cmds/interrupter/
interrupter.c 19 * The probability of a syscall failing from 0.0 to 1.0
21 #define PROBABILITY 0.9
41 static int probability = PROBABILITY * RAND_MAX; variable
44 if (rand() < probability) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
WeightedString.java 24 * A string with a probability.
32 public WeightedString(final String word, final int probability) {
33 this(word, new ProbabilityInfo(probability));
46 public void setProbability(final int probability) {
47 mProbabilityInfo = new ProbabilityInfo(probability);
  /external/llvm/test/Analysis/BranchProbabilityInfo/
basic.ll 8 ; CHECK: edge entry -> body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge]
19 ; CHECK: edge body -> exit probability is 0x04000000 / 0x80000000 = 3.12%
20 ; CHECK: edge body -> body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge]
31 ; CHECK: edge entry -> then probability is 0x78787878 / 0x80000000 = 94.12% [HOT edge]
32 ; CHECK: edge entry -> else probability is 0x07878788 / 0x80000000 = 5.88%
36 ; CHECK: edge then -> exit probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge]
40 ; CHECK: edge else -> exit probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge]
56 ; CHECK: edge entry -> case_a probability is 0x06666666 / 0x80000000 = 5.00%
57 ; CHECK: edge entry -> case_b probability is 0x06666666 / 0x80000000 = 5.00%
58 ; CHECK: edge entry -> case_c probability is 0x66666666 / 0x80000000 = 80.00
    [all...]
loop.ll 1 ; Test the static branch probability heuristics for no-return functions.
13 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge]
19 ; CHECK: edge do.body -> do.body1 probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge]
27 ; CHECK: edge do.body1 -> do.body1 probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge]
28 ; CHECK: edge do.body1 -> do.end probability is 0x04000000 / 0x80000000 = 3.12%
35 ; CHECK: edge do.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge]
36 ; CHECK: edge do.end -> do.end5 probability is 0x04000000 / 0x80000000 = 3.12%
47 ; CHECK: edge entry -> for.body.lr.ph probability is 0x50000000 / 0x80000000 = 62.50%
48 ; CHECK: edge entry -> for.end6 probability is 0x30000000 / 0x80000000 = 37.50%
53 ; CHECK: edge for.body.lr.ph -> for.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge
    [all...]
noreturn.ll 1 ; Test the static branch probability heuristics for no-return functions.
12 ; CHECK: edge entry -> exit probability is 0x7ffff800 / 0x80000000 = 100.00% [HOT edge]
13 ; CHECK: edge entry -> abort probability is 0x00000800 / 0x80000000 = 0.00%
30 ; CHECK: edge entry -> exit probability is 0x7ffff800 / 0x80000000 = 100.00% [HOT edge]
31 ; CHECK: edge entry -> case_a probability is 0x00000200 / 0x80000000 = 0.00%
32 ; CHECK: edge entry -> case_b probability is 0x00000200 / 0x80000000 = 0.00%
33 ; CHECK: edge entry -> case_c probability is 0x00000200 / 0x80000000 = 0.00%
34 ; CHECK: edge entry -> case_d probability is 0x00000200 / 0x80000000 = 0.00%
59 ; CHECK: edge entry -> exit probability is 0x7ffff800 / 0x80000000 = 100.00% [HOT edge]
60 ; CHECK: edge entry -> dom probability is 0x00000800 / 0x80000000 = 0.00
    [all...]
deopt-intrinsic.ll 12 ; CHECK: edge entry -> exit probability is 0x7ffff800 / 0x80000000 = 100.00% [HOT edge]
13 ; CHECK: edge entry -> deopt probability is 0x00000800 / 0x80000000 = 0.00%
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
probability_entry.h 46 ProbabilityEntry(const int flags, const int probability)
47 : mFlags(flags), mProbability(probability), mHistoricalInfo() {}
50 ProbabilityEntry(const int flags, const int probability,
52 : mFlags(flags), mProbability(probability), mHistoricalInfo(*historicalInfo) {}
54 const ProbabilityEntry createEntryWithUpdatedProbability(const int probability) const {
55 return ProbabilityEntry(mFlags, probability, &mHistoricalInfo);
bigram_entry.h 42 BigramEntry(const bool hasNext, const int probability, const int targetTerminalId)
43 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(),
47 BigramEntry(const bool hasNext, const int probability,
49 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(*historicalInfo),
64 const BigramEntry updateProbabilityAndGetEntry(const int probability) const {
65 return BigramEntry(mHasNext, probability, &mHistoricalInfo, mTargetTerminalId);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
probability_utils.h 27 // TODO: Quit using bigram probability to indicate the delta.
33 // backoff weight, we divide the probability by 2, which in our storing format means
43 // the unigram probability to be the median value of the 17th step from the top. A value of
44 // 0 for the bigram probability represents the middle of the 16th step from the top,
53 // Encode probability using the same way as we are doing for main dictionaries.
55 const float probability = static_cast<float>(MAX_PROBABILITY) local
57 if (probability < 0.0f) {
60 return std::min(static_cast<int>(probability + 0.5f), MAX_PROBABILITY);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
IntegerDistribution.java 30 * method represents the probability mass function for the distribution.
32 * @param x the value at which the probability density function is evaluated.
33 * @return the value of the probability density function at x
35 double probability(int x); method in interface:IntegerDistribution
40 * this method represents the probability distribution function, or PDF
45 * @throws MathException if the cumulative probability can not be
54 * @return the cumulative probability.
55 * @throws MathException if the cumulative probability can not be
67 * probability under (the density of) X, then <code>m - 1</code> is
77 * @param p the cumulative probability
    [all...]
DiscreteDistribution.java 29 * method represents the probability mass function, or PMF for the distribution.
31 * @param x the value at which the probability mass function is evaluated.
32 * @return the value of the probability mass function at x
34 double probability(double x); method in interface:DiscreteDistribution
BinomialDistributionImpl.java 41 /** The probability of success. */
46 * probability of success.
49 * @param p the probability of success.
67 * Access the probability of success for this distribution.
69 * @return the probability of success.
104 * Change the probability of success for this distribution.
106 * @param p the new probability of success.
108 * probability.
117 * Change the probability of success for this distribution.
119 * @param p the new probability of success
185 public double probability(int x) { method in class:BinomialDistributionImpl
    [all...]
HasDensity.java 23 * <p>Interface that signals that a distribution can compute the probability density function
38 * Compute the probability density function.
39 * @param x point for which the probability density is requested
40 * @return probability density at point x
41 * @throws MathException if probability density cannot be computed at specifed point
PascalDistributionImpl.java 42 /** The probability of success */
47 * probability of success.
49 * @param p the probability of success
66 * Access the probability of success for this distribution.
67 * @return the probability of success
101 * Change the probability of success for this distribution.
102 * @param p the new probability of success
104 * probability.
113 * Change the probability of success for this distribution.
114 * @param p the new probability of succes
175 public double probability(int x) { method in class:PascalDistributionImpl
    [all...]
AbstractIntegerDistribution.java 64 * @return cumulative probability that a random variable with this
66 * @throws MathException if the cumulative probability can not be
79 * @return the probability that a random variable with this distribution
82 * @throws MathException if the cumulative probability can not be
105 * this method represents the probability distribution function, or PDF,
110 * @throws MathException if the cumulative probability can not be
118 * method represents the probability mass function, or PMF, for the distribution.
122 * @param x the value at which the probability density function is evaluated
123 * @return the value of the probability density function at x
125 public double probability(double x) method in class:AbstractIntegerDistribution
    [all...]
BinomialDistribution.java 40 * Access the probability of success for this distribution.
41 * @return the probability of success.
54 * Change the probability of success for this distribution.
55 * @param p the new probability of success.
  /external/iptables/include/linux/netfilter/
xt_statistic.h 25 __u32 probability; member in struct:xt_statistic_info::__anon22418::__anon22419
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/
xt_statistic.h 25 __u32 probability; member in struct:xt_statistic_info::__anon62683::__anon62684
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
unigram_property.h 31 ShortcutProperty(const std::vector<int> &&targetCodePoints, const int probability)
33 mProbability(probability) {}
58 const bool isPossiblyOffensive, const int probability,
62 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability),
67 const bool isPossiblyOffensive, const int probability,
71 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability),
76 const bool isBlacklisted, const bool isPossiblyOffensive, const int probability,
80 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability),
85 const bool isBlacklisted, const bool isPossiblyOffensive, const int probability,
89 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability),
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
dynamic_language_model_probability_utils.h 38 const int probability = local
40 return std::min(std::max(probability, NOT_A_PROBABILITY), MAX_PROBABILITY);
43 static int getDecayedProbability(const int probability, const HistoricalInfo historicalInfo) {
50 // We don't modify probability depending on the elapsed time.
51 return probability;
  /frameworks/base/core/java/android/privacy/internal/longitudinalreporting/
LongitudinalReportingConfig.java 29 * <li> f is probability to flip input value, used in IRR.
30 * <li> p is probability to override input value, used in PRR1.
31 * <li> q is probability to set input value as 1 when result of PRR(p) is true, used in PRR2.
40 // Probability to flip input value.
43 // Probability to override original value.
45 // Probability to override value with 1.
58 * @param probabilityF Probability F used in Longitudinal Reporting algorithm.
59 * @param probabilityP Probability P used in Longitudinal Reporting algorithm. This will be
61 * @param probabilityQ Probability Q used in Longitudinal Reporting algorithm. This will be
  /packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
normal_distribution_2d_test.cpp 38 // The probability density of the point near the distribution center is larger than the
39 // probability density of the point that is far from distribution center.
42 // The probability density of the point shifted toward the direction that has larger standard
43 // deviation is larger than the probability density of the point shifted towards another
58 // The probability density of the rotated distribution at the point and the probability
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/shortcut/
ver4_shortcut_list_policy.h 54 int probability = 0; local
56 outCodePoint, outCodePointCount, &probability, outHasNext, pos);
58 *outIsWhitelist = ShortcutListReadingUtils::isWhitelist(probability);
67 const int probability) {
76 return mShortcutDictContent->writeShortcutEntry(codePoints, codePointCount, probability,
90 codePointCount, probability, true /* hasNext */, &writingPos)) {
100 0 /* outCodePointCount */ , 0 /* probability */, &hasNext, entryPos);
102 codePointCount, probability, hasNext, entryPos)) {
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/shortcut/
ver4_shortcut_list_policy.h 44 int probability = 0; local
46 outCodePoint, outCodePointCount, &probability, outHasNext, pos);
48 *outIsWhitelist = ShortcutListReadingUtils::isWhitelist(probability);
57 const int probability) {
66 return mShortcutDictContent->writeShortcutEntry(codePoints, codePointCount, probability,
80 codePointCount, probability, true /* hasNext */, &writingPos)) {
90 0 /* outCodePointCount */ , 0 /* probability */, &hasNext, entryPos);
92 codePointCount, probability, hasNext, entryPos)) {

Completed in 761 milliseconds

1 2 3 4 5 6 7 8 91011>>