/third_party/gptfdisk/ |
D | gpttext.cc | 76 cout << "Found valid MBR and GPT. Which do you want to use?\n"; in UseWhichPartitions() 82 cout << "Using GPT and creating fresh protective MBR.\n"; in UseWhichPartitions() 90 cout << "Found valid MBR and corrupt GPT. Which do you want to use? (Using the\n" in UseWhichPartitions() 99 cout << "Found invalid MBR and corrupt GPT. What do you want to do? (Using the\n" in UseWhichPartitions() 126 cout << "Specified partition doesn't have a disklabel partition type " in XFormDisklabel() 165 cout << "Current partition table size is " << numParts << ".\n"; in ResizePartitionTable() 174 cout << "Caution: The partition table size should officially be 16KB or larger,\n" in ResizePartitionTable() 189 cout << "Currently, main partition table begins at sector " << mainHeader.partitionEntriesLBA in MoveMainTable() 196 cout << "Aborting change!\n"; in MoveMainTable() 225 cout << "partition " << partNum + 1 << " is in use.\n"; in CreatePartition() [all …]
|
/third_party/boost/libs/math/example/ |
D | students_t_two_samples.cpp | 16 using std::cout; using std::endl; 47 cout << in two_samples_t_test_equal_sd() 51 cout << setprecision(5); in two_samples_t_test_equal_sd() 52 cout << setw(55) << left << "Number of Observations (Sample 1)" << "= " << Sn1 << "\n"; in two_samples_t_test_equal_sd() 53 cout << setw(55) << left << "Sample 1 Mean" << "= " << Sm1 << "\n"; in two_samples_t_test_equal_sd() 54 cout << setw(55) << left << "Sample 1 Standard Deviation" << "= " << Sd1 << "\n"; in two_samples_t_test_equal_sd() 55 cout << setw(55) << left << "Number of Observations (Sample 2)" << "= " << Sn2 << "\n"; in two_samples_t_test_equal_sd() 56 cout << setw(55) << left << "Sample 2 Mean" << "= " << Sm2 << "\n"; in two_samples_t_test_equal_sd() 57 cout << setw(55) << left << "Sample 2 Standard Deviation" << "= " << Sd2 << "\n"; in two_samples_t_test_equal_sd() 63 cout << setw(55) << left << "Degrees of Freedom" << "= " << v << "\n"; in two_samples_t_test_equal_sd() [all …]
|
D | HSO3SO4.cpp | 35 ::std::cout << "That's all folks!" << ::std::endl; in main() 45 ::std::cout << "Testing spherical:" << ::std::endl; in test_SO3_spherical() 46 ::std::cout << ::std::endl; in test_SO3_spherical() 66 ::std::cout << "theta = " << theta << " ; "; in test_SO3_spherical() 67 ::std::cout << "phi1 = " << phi1 << " ; "; in test_SO3_spherical() 68 ::std::cout << "phi2 = " << phi2; in test_SO3_spherical() 69 ::std::cout << ::std::endl; in test_SO3_spherical() 73 ::std::cout << "q = " << q << ::std::endl; in test_SO3_spherical() 77 ::std::cout << "rot = "; in test_SO3_spherical() 78 ::std::cout << "\t" << rot.a11 << "\t" << rot.a12 << "\t" << rot.a13 << ::std::endl; in test_SO3_spherical() [all …]
|
D | students_t_single_sample.cpp | 20 using std::cout; using std::endl; 48 cout << in confidence_limits_on_mean() 52 cout << setprecision(7); in confidence_limits_on_mean() 53 cout << setw(40) << left << "Number of Observations" << "= " << Sn << "\n"; in confidence_limits_on_mean() 54 cout << setw(40) << left << "Mean" << "= " << Sm << "\n"; in confidence_limits_on_mean() 55 cout << setw(40) << left << "Standard Deviation" << "= " << Sd << "\n"; in confidence_limits_on_mean() 67 cout << "\n\n" in confidence_limits_on_mean() 78 cout << fixed << setprecision(3) << setw(10) << right << 100 * (1-alpha[i]); in confidence_limits_on_mean() 82 cout << fixed << setprecision(3) << setw(10) << right << T; in confidence_limits_on_mean() 87 cout << scientific << setprecision(3) << setw(17) << right << w; in confidence_limits_on_mean() [all …]
|
D | chi_square_std_dev_test.cpp | 10 using std::cout; using std::endl; 42 cout << in confidence_limits_on_std_deviation() 46 cout << setprecision(7); in confidence_limits_on_std_deviation() 47 cout << setw(40) << left << "Number of Observations" << "= " << N << "\n"; in confidence_limits_on_std_deviation() 48 cout << setw(40) << left << "Standard Deviation" << "= " << Sd << "\n"; in confidence_limits_on_std_deviation() 58 cout << "\n\n" in confidence_limits_on_std_deviation() 68 cout << fixed << setprecision(3) << setw(10) << right << 100 * (1-alpha[i]); in confidence_limits_on_std_deviation() 73 cout << fixed << setprecision(5) << setw(15) << right << lower_limit; in confidence_limits_on_std_deviation() 74 cout << fixed << setprecision(5) << setw(15) << right << upper_limit << endl; in confidence_limits_on_std_deviation() 76 cout << endl; in confidence_limits_on_std_deviation() [all …]
|
D | binomial_quiz_example.cpp | 37 using std::cout; using std::endl; 51 cout << "Binomial distribution example - guessing in a quiz." << endl; in main() 65 cout << "In a quiz with " << quiz.trials() in main() 72 cout << "Probability of getting none right is " << pdf(quiz, 0) << endl; // 0.010023 in main() 73 cout << "Probability of getting exactly one right is " << pdf(quiz, 1) << endl; in main() 74 cout << "Probability of getting exactly two right is " << pdf(quiz, 2) << endl; in main() 76 cout << "Probability of getting exactly " << pass_score << " answers right by chance is " in main() 78 cout << "Probability of getting all " << questions << " answers right by chance is " in main() 92 cout << "\n" "Guessed Probability" << right << endl; in main() 96 cout << setw(2) << successes << " " << probability << endl; in main() [all …]
|
D | float_comparison_example.cpp | 22 std::cout << "Compare floats using Boost.Math functions/classes" << std::endl; in main() 56 std::cout.precision(std::numeric_limits<float>::max_digits10); in main() 57 std::cout << std::boolalpha << std::showpoint << std::endl; in main() 70 std::cout << "a = " << a << std::endl; in main() 71 std::cout << "b = " << b << std::endl; in main() 72 std::cout << "float_distance = " << float_distance(a, b) << std::endl; in main() 73 std::cout << "relative_difference = " << relative_difference(a, b) << std::endl; in main() 74 std::cout << "epsilon_difference = " << epsilon_difference(a, b) << std::endl; in main() 97 std::cout << "a = " << a << std::endl; in main() 98 std::cout << "b = " << b << std::endl; in main() [all …]
|
D | geometric_examples.cpp | 52 using std::cout; using std::endl; 63 cout <<"Geometric distribution example" << endl; in main() 64 cout << endl; in main() 66 cout.precision(4); // But only show a few for this example. in main() 101 cout << "success fraction of a six-sided dice is " << g6.success_fraction() << endl; in main() 104 cout << pdf(g6, 0) << endl; // 0.1667 in main() 105 cout << cdf(g6, 0) << endl; // 0.1667 in main() 109 cout << pdf(g6, 1) << endl; // 0.1389 in main() 114 cout << "pdf(g6, 0) + pdf(g6, 1) = " << pdf(g6, 0) + pdf(g6, 1) << endl; in main() 118 cout << "cdf(g6, 1) = " << cdf(g6, 1) << endl; // 0.3056 in main() [all …]
|
D | normal_misc_examples.cpp | 25 using std::cout; using std::endl; using std::left; using std::showpoint; using std::noshowpoint; 33 cout << "Example: Normal distribution, Miscellaneous Applications."; in main() 50 cout << "Standard normal distribution, mean = "<< s.mean() in main() 55 cout << "Probability distribution function values" << endl; in main() 56 cout << " z " " pdf " << endl; in main() 57 cout.precision(5); in main() 60 cout << left << setprecision(3) << setw(6) << z << " " in main() 63 cout.precision(6); // default in main() 68 cout << "Standard normal mean = "<< s.mean() in main() 70 cout << "Integral (area under the curve) from - infinity up to z " << endl; in main() [all …]
|
D | nonfinite_facet_simple.cpp | 37 using std::cout; 64 std::cout << "Nonfinite_num_facet very simple example." << std::endl; in main() 68 std::cout << "Infinity not supported on this platform." << std::endl; in main() 74 std::cout << "NaN not supported on this platform." << std::endl; in main() 94 cout << "Using C locale" << endl; in main() 95 cout << "+std::numeric_limits<double>::infinity() = " << plus_infinity << endl; in main() 96 cout << "-std::numeric_limits<double>::infinity() = " << minus_infinity << endl; in main() 97 cout << "+std::numeric_limits<double>::quiet_NaN () = " << NaN << endl; in main() 100 cout << "negated NaN " << negated_NaN << endl; // "-1.IND" or "-nan". in main() 105 cout.imbue (C99_out_locale); in main() [all …]
|
D | negative_binomial_example1.cpp | 63 using std::cout; using std::endl; 74 cout <<"Selling candy bars - using the negative binomial distribution." in main() 79 cout << endl; in main() 80 cout.precision(5); in main() 119 cout << "Pat has a sales per house success rate of " << success_fraction in main() 125 cout << "With a success rate of " << nb.success_fraction() in main() 145 cout << "Probability that Pat finishes on the " << sales_quota << "th house is " in main() 155 cout << "Probability that Pat finishes on the 6th house is " in main() 157 cout << "Probability that Pat finishes on the 7th house is " in main() 159 cout << "Probability that Pat finishes on the 8th house is " in main() [all …]
|
D | lambert_w_precision_example.cpp | 50 std::cout << "Lambert W examples of precision control." << std::endl; in main() 51 std::cout.precision(std::numeric_limits<double>::max_digits10); in main() 52 std::cout << std::showpoint << std::endl; // Show any trailing zeros. in main() 75 std::cout.precision(std::numeric_limits<cpp_bin_float_50>::digits10); in main() 78 std::cout << "lambert_w0(z) cpp_bin_float_50 = " << r << std::endl; in main() 81 std::cout.precision(std::numeric_limits<double>::max_digits10); in main() 82 std::cout << "lambert_w0(z) static_cast from cpp_bin_float_50 = " in main() 86 std::cout << "bits different from Wolfram = " in main() 94 …std::cout.precision(std::numeric_limits<float>::max_digits10); // Show all potentially significant… in main() 95 std::cout << std::showpoint << std::endl; // and show any significant trailing zeros too. in main() [all …]
|
D | cstdfloat_example.cpp | 76 std::cout.setf(std::ios::showpoint); // show all significant trailing zeros. in main() 81 std::cout << "pi = " << p << std::endl; in main() 86 std::cout.precision(std::numeric_limits<boost::float64_t>::max_digits10); in main() 87 std::cout.setf(std::ios::showpoint); // Show trailing zeros. in main() 95 std::cout << jahnke_emden_lambda(v, x) << std::endl; // 0.88010117148986700 in main() 102 std::cout << std::setprecision(2) << boost::float64_t(i) << ' ' in main() 110 std::cout << std::setprecision(2) << boost::floatmax_t(i) << ' ' in main() 116 std::cout << "Floating-point type long double is available with:" << std::endl; in main() 117 std::cout << " std::numeric_limits<long double>::digits10 == " in main() 119 std::cout << " std::numeric_limits<long double>::max_digits10 == " in main() [all …]
|
D | lambert_w_simple_examples.cpp | 59 std::streamsize precision = std::cout.precision(std::numeric_limits<T>::max_digits10); // Save. in show_value() 60 …std::cout.precision(std::numeric_limits<T>::max_digits10); // Show all possibly significant digits. in show_value() 61 std::ios::fmtflags flags(std::cout.flags()); in show_value() 62 std::cout.setf(std::ios_base::showpoint); // Include any trailing zeros. in show_value() 63 std::cout << z; in show_value() 65 std::cout.precision(precision); in show_value() 66 std::cout.flags(flags); in show_value() 73 std::cout << "Lambert W simple examples." << std::endl; in main() 88 std::cout.precision(std::numeric_limits<double>::max_digits10); in main() 90 std::cout << std::showpoint << std::endl; in main() [all …]
|
D | f_test.cpp | 17 using std::cout; using std::endl; 45 cout << in f_test() 49 cout << setprecision(5); in f_test() 50 cout << "Sample 1:\n"; in f_test() 51 cout << setw(55) << left << "Number of Observations" << "= " << N1 << "\n"; in f_test() 52 cout << setw(55) << left << "Sample Standard Deviation" << "= " << sd1 << "\n\n"; in f_test() 53 cout << "Sample 2:\n"; in f_test() 54 cout << setw(55) << left << "Number of Observations" << "= " << N2 << "\n"; in f_test() 55 cout << setw(55) << left << "Sample Standard Deviation" << "= " << sd2 << "\n\n"; in f_test() 62 cout << setw(55) << left << "Test Statistic" << "= " << F << "\n\n"; in f_test() [all …]
|
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/LayerManagerControl/src/ |
D | print.cpp | 24 using std::cout; 42 cout << count << " " << text << "(s):\n"; in printArray() 45 cout << "- " << text << " " << dec << array[i] << hex << " (0x" in printArray() 53 cout << count << " " << text << "(s):\n"; in printArray() 56 cout << "- " << text << " " << "[" << array[i] << "]" << "\n"; in printArray() 63 cout << v.size() << " " << text << "(s) Vector:\n"; in printVector() 66 cout << "- " << text << " " << v[i] << endl; in printVector() 73 cout << m.size() << " " << text << endl; in printMap() 77 cout << "- " << (*it).first << " -> " << (*it).second << endl; in printMap() 83 cout << prefix << "screen " << screenid << " (0x" << hex << screenid << dec in printScreenProperties() [all …]
|
/third_party/boost/libs/multiprecision/test/ |
D | eigen.hpp | 33 std::cout << "a + b =\n" in example1() 36 std::cout << "a - b =\n" in example1() 39 std::cout << "Doing a += b;" << std::endl; in example1() 41 std::cout << "Now a =\n" in example1() 45 std::cout << "-v + w - v =\n" in example1() 56 std::cout << "a * 2.5 =\n" in example2() 58 std::cout << "0.1 * v =\n" in example2() 60 std::cout << "Doing v *= 2;" << std::endl; in example2() 62 std::cout << "Now v =\n" in example2() 65 std::cout << "Doing v *= Num;" << std::endl; in example2() [all …]
|
/third_party/boost/libs/math/tools/ |
D | rational_tests.cpp | 17 std::cout << std::scientific << std::setprecision(40); in main() 31 std::cout << in main() 39 std::cout << ", "; in main() 40 std::cout << coef[j]; in main() 42 std::cout << " };\n"; in main() 43 std::cout << in main() 48 std::cout << ", "; in main() 49 std::cout << coef[j]; in main() 51 std::cout << " };\n"; in main() 58 std::cout << in main() [all …]
|
D | generate_rational_test.cpp | 21 std::cout << std::scientific << std::setprecision(40); in main() 35 std::cout << std::scientific; in main() 36 std::cout << in main() 44 std::cout << ", "; in main() 45 std::cout << coef[j]; in main() 47 std::cout << " };\n"; in main() 48 std::cout << in main() 53 std::cout << ", "; in main() 54 std::cout << coef[j]; in main() 56 std::cout << " };\n"; in main() [all …]
|
/third_party/boost/libs/filesystem/example/ |
D | path_info.cpp | 21 cout << "Usage: path_info path-element [path-element...]\n" in main() 36 cout << "\ncomposed path:\n"; in main() 37 cout << " operator<<()---------: " << p << "\n"; in main() 38 cout << " make_preferred()-----: " << p.make_preferred() << "\n"; in main() 40 cout << "\nelements:\n"; in main() 42 cout << " " << element << '\n'; in main() 44 cout << "\nobservers, native format:" << endl; in main() 46 cout << " native()-------------: " << p.native() << endl; in main() 47 cout << " c_str()--------------: " << p.c_str() << endl; in main() 52 cout << " string()-------------: " << p.string() << endl; in main() [all …]
|
/third_party/boost/libs/spirit/classic/example/fundamental/ |
D | functor_parser.cpp | 92 cout << "/////////////////////////////////////////////////////////\n\n"; in main() 93 cout << "\t\tA number parser implemented as a functor for Spirit...\n\n"; in main() 94 cout << "/////////////////////////////////////////////////////////\n\n"; in main() 96 cout << "Give me an integer number command\n"; in main() 97 cout << "Commands:\n"; in main() 98 cout << " A <num> --> parses a single number\n"; in main() 99 cout << " B <num>, <num>, ... --> parses a series of numbers "; in main() 100 cout << "separated by commas\n"; in main() 101 cout << " Q --> quit\n\n"; in main() 114 cout << "-------------------------\n"; in main() [all …]
|
/third_party/boost/libs/math/test/ |
D | test_remez.cpp | 32 … std::cout << "Testing expm1 approximation, pinned to origin, absolute error, 6 term polynomial\n"; in test_polynomial() 34 std::cout << "Interpolation Error: " << approx1.max_error() << std::endl; in test_polynomial() 38 …std::cout << approx1.error_term() << " " << approx1.max_error() << " " << approx1.max_change() << … in test_polynomial() 40 std::cout << "~~~~~~~~~~~~~~~~~~~~~~~~~" << std::endl; in test_polynomial() 41 … std::cout << "Testing expm1 approximation, pinned to origin, relative error, 6 term polynomial\n"; in test_polynomial() 43 std::cout << "Interpolation Error: " << approx1.max_error() << std::endl; in test_polynomial() 47 …std::cout << approx2.error_term() << " " << approx2.max_error() << " " << approx2.max_change() << … in test_polynomial() 49 std::cout << "~~~~~~~~~~~~~~~~~~~~~~~~~" << std::endl; in test_polynomial() 52 …std::cout << "Testing exp approximation, not pinned to origin, absolute error, 6 term polynomial\n… in test_polynomial() 54 std::cout << "Interpolation Error: " << approx1.max_error() << std::endl; in test_polynomial() [all …]
|
/third_party/boost/libs/locale/test/ |
D | test_config.cpp | 35 …std::cout << " " << std::setw(32) << "locale" << std::setw(4) << "C" << std::setw(4) << "C++" << … in check_locale() 38 std::cout << " " << std::setw(32) << name << std::setw(4); in check_locale() 40 std::cout << "Yes"; in check_locale() 42 std::cout << "No"; in check_locale() 43 std::cout << std::setw(4); in check_locale() 46 std::cout << "Yes"; in check_locale() 49 std::cout << "No"; in check_locale() 51 std::cout << std::endl; in check_locale() 58 std::cout << "- Backends: "; in main() 60 std::cout << "icu:" << U_ICU_VERSION << " "; in main() [all …]
|
/third_party/boost/libs/heap/examples/ |
D | interface.cpp | 14 using std::cout; 29 cout << "Priority Queue: popped elements" << endl; in basic_interface() 30 cout << pq.top() << " "; // 3 in basic_interface() 32 cout << pq.top() << " "; // 2 in basic_interface() 34 cout << pq.top() << " "; // 1 in basic_interface() 36 cout << endl; in basic_interface() 54 cout << "Priority Queue: iteration" << endl; in iterator_interface() 56 cout << *it << " "; // 1, 2, 3 in unspecified order in iterator_interface() 57 cout << endl; in iterator_interface() 75 cout << "Priority Queue: ordered iteration" << endl; in ordered_iterator_interface() [all …]
|
/third_party/boost/libs/numeric/ublas/examples/tensor/ |
D | prod_expressions.cpp | 52 std::cout << "% --------------------------- " << std::endl; in main() 53 std::cout << "% --------------------------- " << std::endl << std::endl; in main() 54 std::cout << "% C1(j,k) = T2(j,k) + A(i,j,k)*T1(i);" << std::endl << std::endl; in main() 55 std::cout << "C1=" << C1 << ";" << std::endl << std::endl; in main() 58 std::cout << "% --------------------------- " << std::endl; in main() 59 std::cout << "% --------------------------- " << std::endl << std::endl; in main() 60 std::cout << "% C2(i,k) = A(i,j,k)*T1(j) + 4;" << std::endl << std::endl; in main() 61 std::cout << "C2=" << C2 << ";" << std::endl << std::endl; in main() 64 std::cout << "% --------------------------- " << std::endl; in main() 65 std::cout << "% --------------------------- " << std::endl << std::endl; in main() [all …]
|