/external/angle/third_party/abseil-cpp/absl/random/ |
D | exponential_distribution_test.cc | 244 std::vector<double> cutoffs; in SingleChiSquaredTest() local 247 cutoffs.push_back(InverseCDF(p)); in SingleChiSquaredTest() 249 if (cutoffs.back() != std::numeric_limits<double>::infinity()) { in SingleChiSquaredTest() 250 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 255 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 258 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 259 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 277 for (int i = 0; i < cutoffs.size(); i++) { in SingleChiSquaredTest() 279 INFO, absl::StrFormat("%d : (%f) = %d", i, cutoffs[i], counts[i])); in SingleChiSquaredTest()
|
D | beta_distribution_test.cc | 337 std::vector<double> cutoffs, expected; in SingleChiSquaredTest() local 350 if ((cutoffs.empty() && boundary < kErr) || in SingleChiSquaredTest() 351 (!cutoffs.empty() && boundary <= cutoffs.back())) { in SingleChiSquaredTest() 358 cutoffs.push_back(boundary); in SingleChiSquaredTest() 363 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 369 EXPECT_GE(cutoffs.size(), 3) << alpha_ << ", " << beta_; in SingleChiSquaredTest() 373 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 376 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 377 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 382 const int dof = cutoffs.size() - 1; in SingleChiSquaredTest() [all …]
|
D | gaussian_distribution_test.cc | 266 std::vector<double> cutoffs; in SingleChiSquaredTest() local 269 cutoffs.push_back(InverseCDF(p)); in SingleChiSquaredTest() 271 if (cutoffs.back() != std::numeric_limits<double>::infinity()) { in SingleChiSquaredTest() 272 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 277 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 280 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 281 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 300 for (int i = 0; i < cutoffs.size(); i++) { in SingleChiSquaredTest() 302 INFO, absl::StrFormat("%d : (%f) = %d", i, cutoffs[i], counts[i])); in SingleChiSquaredTest()
|
/external/libtextclassifier/abseil-cpp/absl/random/ |
D | exponential_distribution_test.cc | 255 std::vector<double> cutoffs; in SingleChiSquaredTest() local 258 cutoffs.push_back(InverseCDF(p)); in SingleChiSquaredTest() 260 if (cutoffs.back() != std::numeric_limits<double>::infinity()) { in SingleChiSquaredTest() 261 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 266 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 269 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 270 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 288 for (int i = 0; i < cutoffs.size(); i++) { in SingleChiSquaredTest() 290 INFO, absl::StrFormat("%d : (%f) = %d", i, cutoffs[i], counts[i])); in SingleChiSquaredTest()
|
D | beta_distribution_test.cc | 354 std::vector<double> cutoffs, expected; in SingleChiSquaredTest() local 367 if ((cutoffs.empty() && boundary < kErr) || in SingleChiSquaredTest() 368 (!cutoffs.empty() && boundary <= cutoffs.back())) { in SingleChiSquaredTest() 375 cutoffs.push_back(boundary); in SingleChiSquaredTest() 380 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 386 EXPECT_GE(cutoffs.size(), 3) << alpha_ << ", " << beta_; in SingleChiSquaredTest() 390 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 393 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 394 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 399 const int dof = cutoffs.size() - 1; in SingleChiSquaredTest() [all …]
|
D | gaussian_distribution_test.cc | 282 std::vector<double> cutoffs; in SingleChiSquaredTest() local 285 cutoffs.push_back(InverseCDF(p)); in SingleChiSquaredTest() 287 if (cutoffs.back() != std::numeric_limits<double>::infinity()) { in SingleChiSquaredTest() 288 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 293 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 296 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 297 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 316 for (int i = 0; i < cutoffs.size(); i++) { in SingleChiSquaredTest() 318 INFO, absl::StrFormat("%d : (%f) = %d", i, cutoffs[i], counts[i])); in SingleChiSquaredTest()
|
/external/openscreen/third_party/abseil/src/absl/random/ |
D | exponential_distribution_test.cc | 255 std::vector<double> cutoffs; in SingleChiSquaredTest() local 258 cutoffs.push_back(InverseCDF(p)); in SingleChiSquaredTest() 260 if (cutoffs.back() != std::numeric_limits<double>::infinity()) { in SingleChiSquaredTest() 261 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 266 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 269 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 270 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 288 for (int i = 0; i < cutoffs.size(); i++) { in SingleChiSquaredTest() 290 INFO, absl::StrFormat("%d : (%f) = %d", i, cutoffs[i], counts[i])); in SingleChiSquaredTest()
|
D | beta_distribution_test.cc | 354 std::vector<double> cutoffs, expected; in SingleChiSquaredTest() local 367 if ((cutoffs.empty() && boundary < kErr) || in SingleChiSquaredTest() 368 (!cutoffs.empty() && boundary <= cutoffs.back())) { in SingleChiSquaredTest() 375 cutoffs.push_back(boundary); in SingleChiSquaredTest() 380 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 386 EXPECT_GE(cutoffs.size(), 3) << alpha_ << ", " << beta_; in SingleChiSquaredTest() 390 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 393 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 394 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 399 const int dof = cutoffs.size() - 1; in SingleChiSquaredTest() [all …]
|
D | gaussian_distribution_test.cc | 282 std::vector<double> cutoffs; in SingleChiSquaredTest() local 285 cutoffs.push_back(InverseCDF(p)); in SingleChiSquaredTest() 287 if (cutoffs.back() != std::numeric_limits<double>::infinity()) { in SingleChiSquaredTest() 288 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 293 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 296 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 297 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 316 for (int i = 0; i < cutoffs.size(); i++) { in SingleChiSquaredTest() 318 INFO, absl::StrFormat("%d : (%f) = %d", i, cutoffs[i], counts[i])); in SingleChiSquaredTest()
|
/external/webrtc/third_party/abseil-cpp/absl/random/ |
D | exponential_distribution_test.cc | 251 std::vector<double> cutoffs; in SingleChiSquaredTest() local 254 cutoffs.push_back(InverseCDF(p)); in SingleChiSquaredTest() 256 if (cutoffs.back() != std::numeric_limits<double>::infinity()) { in SingleChiSquaredTest() 257 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 262 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 265 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 266 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 284 for (int i = 0; i < cutoffs.size(); i++) { in SingleChiSquaredTest() 286 INFO, absl::StrFormat("%d : (%f) = %d", i, cutoffs[i], counts[i])); in SingleChiSquaredTest()
|
D | beta_distribution_test.cc | 349 std::vector<double> cutoffs, expected; in SingleChiSquaredTest() local 362 if ((cutoffs.empty() && boundary < kErr) || in SingleChiSquaredTest() 363 (!cutoffs.empty() && boundary <= cutoffs.back())) { in SingleChiSquaredTest() 370 cutoffs.push_back(boundary); in SingleChiSquaredTest() 375 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 381 EXPECT_GE(cutoffs.size(), 3) << alpha_ << ", " << beta_; in SingleChiSquaredTest() 385 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 388 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 389 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 394 const int dof = cutoffs.size() - 1; in SingleChiSquaredTest() [all …]
|
D | gaussian_distribution_test.cc | 276 std::vector<double> cutoffs; in SingleChiSquaredTest() local 279 cutoffs.push_back(InverseCDF(p)); in SingleChiSquaredTest() 281 if (cutoffs.back() != std::numeric_limits<double>::infinity()) { in SingleChiSquaredTest() 282 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 287 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 290 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 291 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 310 for (int i = 0; i < cutoffs.size(); i++) { in SingleChiSquaredTest() 312 INFO, absl::StrFormat("%d : (%f) = %d", i, cutoffs[i], counts[i])); in SingleChiSquaredTest()
|
/external/abseil-cpp/absl/random/ |
D | exponential_distribution_test.cc | 251 std::vector<double> cutoffs; in SingleChiSquaredTest() local 254 cutoffs.push_back(InverseCDF(p)); in SingleChiSquaredTest() 256 if (cutoffs.back() != std::numeric_limits<double>::infinity()) { in SingleChiSquaredTest() 257 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 262 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 265 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 266 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 284 for (int i = 0; i < cutoffs.size(); i++) { in SingleChiSquaredTest() 286 INFO, absl::StrFormat("%d : (%f) = %d", i, cutoffs[i], counts[i])); in SingleChiSquaredTest()
|
D | beta_distribution_test.cc | 349 std::vector<double> cutoffs, expected; in SingleChiSquaredTest() local 362 if ((cutoffs.empty() && boundary < kErr) || in SingleChiSquaredTest() 363 (!cutoffs.empty() && boundary <= cutoffs.back())) { in SingleChiSquaredTest() 370 cutoffs.push_back(boundary); in SingleChiSquaredTest() 375 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 381 EXPECT_GE(cutoffs.size(), 3) << alpha_ << ", " << beta_; in SingleChiSquaredTest() 385 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 388 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 389 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 394 const int dof = cutoffs.size() - 1; in SingleChiSquaredTest() [all …]
|
D | gaussian_distribution_test.cc | 276 std::vector<double> cutoffs; in SingleChiSquaredTest() local 279 cutoffs.push_back(InverseCDF(p)); in SingleChiSquaredTest() 281 if (cutoffs.back() != std::numeric_limits<double>::infinity()) { in SingleChiSquaredTest() 282 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 287 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 290 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 291 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 310 for (int i = 0; i < cutoffs.size(); i++) { in SingleChiSquaredTest() 312 INFO, absl::StrFormat("%d : (%f) = %d", i, cutoffs[i], counts[i])); in SingleChiSquaredTest()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/ |
D | exponential_distribution_test.cc | 255 std::vector<double> cutoffs; in SingleChiSquaredTest() local 258 cutoffs.push_back(InverseCDF(p)); in SingleChiSquaredTest() 260 if (cutoffs.back() != std::numeric_limits<double>::infinity()) { in SingleChiSquaredTest() 261 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 266 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 269 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 270 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 288 for (int i = 0; i < cutoffs.size(); i++) { in SingleChiSquaredTest() 290 INFO, absl::StrFormat("%d : (%f) = %d", i, cutoffs[i], counts[i])); in SingleChiSquaredTest()
|
D | beta_distribution_test.cc | 354 std::vector<double> cutoffs, expected; in SingleChiSquaredTest() local 367 if ((cutoffs.empty() && boundary < kErr) || in SingleChiSquaredTest() 368 (!cutoffs.empty() && boundary <= cutoffs.back())) { in SingleChiSquaredTest() 375 cutoffs.push_back(boundary); in SingleChiSquaredTest() 380 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 386 EXPECT_GE(cutoffs.size(), 3) << alpha_ << ", " << beta_; in SingleChiSquaredTest() 390 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 393 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 394 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 399 const int dof = cutoffs.size() - 1; in SingleChiSquaredTest() [all …]
|
D | gaussian_distribution_test.cc | 282 std::vector<double> cutoffs; in SingleChiSquaredTest() local 285 cutoffs.push_back(InverseCDF(p)); in SingleChiSquaredTest() 287 if (cutoffs.back() != std::numeric_limits<double>::infinity()) { in SingleChiSquaredTest() 288 cutoffs.push_back(std::numeric_limits<double>::infinity()); in SingleChiSquaredTest() 293 std::vector<int32_t> counts(cutoffs.size(), 0); in SingleChiSquaredTest() 296 auto it = std::upper_bound(cutoffs.begin(), cutoffs.end(), x); in SingleChiSquaredTest() 297 counts[std::distance(cutoffs.begin(), it)]++; in SingleChiSquaredTest() 316 for (int i = 0; i < cutoffs.size(); i++) { in SingleChiSquaredTest() 318 INFO, absl::StrFormat("%d : (%f) = %d", i, cutoffs[i], counts[i])); in SingleChiSquaredTest()
|
/external/icu/icu4c/source/i18n/ |
D | dayperiodrules.cpp | 49 for (int32_t i = 0; i < UPRV_LENGTHOF(cutoffs); ++i) { cutoffs[i] = 0; } in DayPeriodRulesDataSink() 120 for (int32_t k = 0; k < UPRV_LENGTHOF(cutoffs); ++k) { in processRules() 121 cutoffs[k] = 0; in processRules() 133 int32_t cutoffs[25]; // [0] thru [24]: 24 is allowed in "before 24". member 188 cutoffs[hour] |= 1 << type; in addCutoff() 197 if (cutoffs[startHour] & (1 << CUTOFF_TYPE_AT)) { in setDayPeriodForHoursFromCutoffs() 209 if (cutoffs[startHour] & (1 << CUTOFF_TYPE_FROM) || in setDayPeriodForHoursFromCutoffs() 210 cutoffs[startHour] & (1 << CUTOFF_TYPE_AFTER)) { in setDayPeriodForHoursFromCutoffs() 218 if (cutoffs[hour] & (1 << CUTOFF_TYPE_BEFORE)) { in setDayPeriodForHoursFromCutoffs()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | DayPeriodRules.java | 132 for (int k = 0; k < cutoffs.length; ++k) { in processRules() 133 cutoffs[k] = 0; in processRules() 145 private int cutoffs[] = new int[25]; // [0] thru [24]; 24 is allowed is "before 24". field in DayPeriodRules.DayPeriodRulesDataSink 156 cutoffs[hour] |= 1 << type.ordinal(); in addCutoff() 163 if ((cutoffs[startHour] & (1 << CutoffType.AT.ordinal())) > 0) { in setDayPeriodForHoursFromCutoffs() 174 if ((cutoffs[startHour] & (1 << CutoffType.FROM.ordinal())) > 0 || in setDayPeriodForHoursFromCutoffs() 175 (cutoffs[startHour] & (1 << CutoffType.AFTER.ordinal())) > 0) { in setDayPeriodForHoursFromCutoffs() 183 if ((cutoffs[hour] & (1 << CutoffType.BEFORE.ordinal())) > 0) { in setDayPeriodForHoursFromCutoffs()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | DayPeriodRules.java | 125 for (int k = 0; k < cutoffs.length; ++k) { in processRules() 126 cutoffs[k] = 0; in processRules() 138 private int cutoffs[] = new int[25]; // [0] thru [24]; 24 is allowed is "before 24". field in DayPeriodRules.DayPeriodRulesDataSink 149 cutoffs[hour] |= 1 << type.ordinal(); in addCutoff() 156 if ((cutoffs[startHour] & (1 << CutoffType.AT.ordinal())) > 0) { in setDayPeriodForHoursFromCutoffs() 167 if ((cutoffs[startHour] & (1 << CutoffType.FROM.ordinal())) > 0 || in setDayPeriodForHoursFromCutoffs() 168 (cutoffs[startHour] & (1 << CutoffType.AFTER.ordinal())) > 0) { in setDayPeriodForHoursFromCutoffs() 176 if ((cutoffs[hour] & (1 << CutoffType.BEFORE.ordinal())) > 0) { in setDayPeriodForHoursFromCutoffs()
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_io_utils.cc | 139 std::vector<size_t> cutoffs; in WrapStringTensorAsEvents() local 150 cutoffs.push_back(i); in WrapStringTensorAsEvents() 155 cutoffs.push_back(num_strs); in WrapStringTensorAsEvents() 156 const size_t num_chunks = cutoffs.size(); in WrapStringTensorAsEvents() 164 if (cutoffs.size() == 1) { in WrapStringTensorAsEvents() 168 const size_t begin = (i == 0) ? 0 : cutoffs[i - 1]; in WrapStringTensorAsEvents() 169 const size_t end = cutoffs[i]; in WrapStringTensorAsEvents()
|
/external/llvm-project/llvm/test/tools/llvm-profdata/ |
D | general.proftext | 82 # RUN: llvm-profdata show --detailed-summary --detailed-summary-cutoffs=600000 %t.profdata | FileCh… 85 # RUN: llvm-profdata show --detailed-summary --detailed-summary-cutoffs=600000,900000,999999 %t.pro…
|
/external/llvm/test/tools/llvm-profdata/ |
D | general.proftext | 82 # RUN: llvm-profdata show --detailed-summary --detailed-summary-cutoffs=600000 %t.profdata | FileCh… 85 # RUN: llvm-profdata show --detailed-summary --detailed-summary-cutoffs=600000,900000,999999 %t.pro…
|
/external/llvm-project/llvm/test/DebugInfo/MIR/X86/ |
D | live-debug-values-cutoffs.mir | 1 # Test cutoffs for livedebugvalues debug range extension.
|