/external/iproute2/tc/ |
q_choke.c | 40 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));
|
q_red.c | 32 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"); 137 if ((parm = tc_red_eval_P(opt.qth_min, opt.qth_max, probability)) < 0) { 138 fprintf(stderr, "RED: failed to calculate probability.\n"); 152 max_P = probability * pow(2, 32); 195 fprintf(f, "probability %lg ", max_P / pow(2, 32)) [all...] |
q_sfq.c | 34 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 ",
|
q_gred.c | 44 fprintf(stderr, " [ probability PROBABILITY ] [ bandwidth KBPS ]\n"); 128 double probability = 0.02; local 191 } else if (strcmp(*argv, "probability") == 0) { 193 if (sscanf(*argv, "%lg", &probability) != 1) { 194 fprintf(stderr, "Illegal \"probability\"\n"); 247 if ((parm = tc_red_eval_P(opt.qth_min, opt.qth_max, probability)) < 0) { 248 fprintf(stderr, "GRED: failed to calculate probability.\n"); 264 max_P = probability * pow(2, 32); 328 fprintf(f, "probability %lg ", max_p[i] / pow(2, 32)) [all...] |
q_netem.c | 350 if (get_percent(&reorder.probability, *argv)) { 365 if (get_percent(&corrupt.probability, *argv)) { 444 if (reorder.probability) { 453 fprintf(stderr, "gap specified without reorder probability\n"); 647 if (reorder && reorder->probability) { 649 sprint_percent(reorder->probability, b1)); 655 if (corrupt && corrupt->probability) { 657 sprint_percent(corrupt->probability, b1));
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
bigram_dict_content.cpp | 47 int probability = NOT_A_PROBABILITY; local 59 probability = bigramListBuffer->readUintAndAdvancePosition( 71 return BigramEntry(hasNext, probability, &historicalInfo, targetTerminalId); 73 return BigramEntry(hasNext, probability, targetTerminalId); 109 AKLOGE("Cannot write bigram probability. pos: %d, probability: %d", *entryWritingPos,
|
/external/iptables/extensions/ |
libxt_statistic.c | 27 "[!] --probability p Probability\n" 37 {.name = "probability", .id = O_PROBABILITY, .type = XTTYPE_DOUBLE, 69 info->u.random.probability = lround(0x80000000 * cb->val.dbl); 84 "--probability must be specified when using " 107 1.0 * info->u.random.probability / 0x80000000);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
cfghooks.h | 69 /* Predict edge E using PREDICTOR to given PROBABILITY. */ 70 void (*predict_edge) (edge e, enum br_predictor predictor, int probability); 176 extern void predict_edge (edge e, enum br_predictor predictor, int probability);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
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...] |
ZipfDistributionImpl.java | 139 * The probability mass function P(X = x) for a Zipf distribution. 141 * @param x the value at which the probability density function is evaluated. 142 * @return the value of the probability mass function at x 144 public double probability(final int x) { method in class:ZipfDistributionImpl 154 * The probability distribution function P(X <= x) for a Zipf distribution. 175 * @param p the desired probability for the critical value 188 * @param p the desired probability for the critical value
|
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...] |
PoissonDistributionImpl.java | 37 * Default maximum number of iterations for cumulative probability calculations. 60 * Maximum number of iterations for cumulative probability. 68 * Convergence criterion for cumulative probability. 182 * The probability mass function P(X = x) for a Poisson distribution. 184 * @param x the value at which the probability density function is 186 * @return the value of the probability mass function at x 188 public double probability(int x) { method in class:PoissonDistributionImpl 203 * The probability distribution function P(X <= x) for a Poisson 208 * @throws MathException if the cumulative probability can not be computed 238 // calculate the probability using half-correctio [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
ver4_patricia_trie_writing_helper.cpp | 168 // Run GC for probability dict content. 217 const int probability = probabilityEntry.hasHistoricalInfo() ? local 221 priorityQueue.push(DictProbability(terminalPos, probability, 264 const int probability = bigramEntry.hasHistoricalInfo() ? local 268 priorityQueue.push(DictProbability(entryPos, probability,
|
ver4_patricia_trie_policy.h | 173 const WordAttributes getWordAttributes(const int probability,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
dynamic_pt_updating_helper.cpp | 140 // Overwrites the probability. 144 // Make the node terminal and write the probability. 281 const CodePointArrayView codePoints, const int probability) const { 286 return PtNodeParams(originalPtNodeParams, flags, parentPos, codePoints, probability); 291 const CodePointArrayView codePoints, const int probability) const { 296 return PtNodeParams(flags, parentPos, codePoints, probability);
|
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/ |
AtlasTmxMapLoader.java | 409 String probability = tileElement.getAttribute("probability", null); local 410 if (probability != null) { 411 tile.getProperties().put("probability", probability); 448 String probability = tileElement.getAttribute("probability", null); local 449 if (probability != null) { 450 tile.getProperties().put("probability", probability); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
BinaryDictionary.java | 82 // Format to get probability and historical info from native side via getWordPropertyNative(). 201 private static native boolean addUnigramEntryNative(long dict, int[] word, int probability, 207 int[] word, int probability, int timestamp); 446 final String word, final int probability, final boolean isBeginningOfSentence, 452 if (!addUnigramEntryNative(mNativeDict, codePoints, probability, 476 final int probability, final int timestamp) { 485 isBeginningOfSentenceArray, wordCodePoints, probability, timestamp)) {
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/ |
throw_allocator.h | 326 * @brief Base class for random probability control and throw. 330 // Scope-level adjustor objects: set probability for throw at the 332 // probability when object is destroyed on exiting the block. 339 adjustor_base() : _M_orig(probability()) { } 349 { set_probability(1 - std::pow(double(1 - probability()), 368 probability(); 374 { probability() = __p; } 379 if (generate() < probability()) 425 probability() function in struct:random_condition
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/ |
throw_allocator.h | 326 * @brief Base class for random probability control and throw. 330 // Scope-level adjustor objects: set probability for throw at the 332 // probability when object is destroyed on exiting the block. 339 adjustor_base() : _M_orig(probability()) { } 349 { set_probability(1 - std::pow(double(1 - probability()), 368 probability(); 374 { probability() = __p; } 379 if (generate() < probability()) 425 probability() function in struct:random_condition
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/ |
throw_allocator.h | 326 * @brief Base class for random probability control and throw. 330 // Scope-level adjustor objects: set probability for throw at the 332 // probability when object is destroyed on exiting the block. 339 adjustor_base() : _M_orig(probability()) { } 349 { set_probability(1 - std::pow(double(1 - probability()), 368 probability(); 374 { probability() = __p; } 379 if (generate() < probability()) 425 probability() function in struct:random_condition
|
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/ |
throw_allocator.h | 482 * @brief Base class for random probability control and throw. 486 // Scope-level adjustor objects: set probability for throw at the 488 // probability when object is destroyed on exiting the block. 495 adjustor_base() : _M_orig(probability()) { } 505 { set_probability(1 - std::pow(double(1 - probability()), 524 probability(); 530 { probability() = __p; } 535 if (generate() < probability()) 581 probability() function in struct:random_condition
|
/external/opencv3/modules/ml/src/ |
nbayes.cpp | 228 double probability = 0; local 277 probability = exp( -0.5 * cur ); 282 results_prob->ptr<float>()[k*rpstep + i] = (float)probability; 284 results_prob->ptr<double>()[k*rpstep + i] = probability;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
patricia_trie_policy.h | 175 const WordAttributes getWordAttributes(const int probability,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
language_model_dict_content.cpp | 73 int probability = NOT_A_PROBABILITY; local 102 probability = DynamicLanguageModelProbabilityUtils::backoff( 105 probability = probabilityEntry.getProbability(); 109 return WordAttributes(probability, unigramProbabilityEntry.isBlacklisted(), 147 // Cannot find bitmap entry for the probability entry. The entry doesn't exist.
|
/development/ndk/platforms/android-3/include/linux/ |
pkt_sched.h | 393 __u32 probability; member in struct:tc_netem_reorder 399 __u32 probability; member in struct:tc_netem_corrupt
|