Home
last modified time | relevance | path

Searched refs:half_count (Results 1 – 7 of 7) sorted by relevance

/external/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc374 const size_t idx_begin, const size_t half_count) { in MinRange() argument
378 for (size_t idx = idx_begin; idx < idx_begin + half_count; ++idx) { in MinRange()
379 ABSL_RAW_CHECK(sorted[idx] <= sorted[idx + half_count], "Not sorted"); in MinRange()
380 const T range = sorted[idx + half_count] - sorted[idx]; in MinRange()
400 size_t half_count = num_values / 2; in ModeOfSorted() local
401 while (half_count > 1) { in ModeOfSorted()
402 idx_begin = MinRange(sorted, idx_begin, half_count); in ModeOfSorted()
403 half_count >>= 1; in ModeOfSorted()
407 if (half_count == 0) { in ModeOfSorted()
410 ABSL_RAW_CHECK(half_count == 1, "Should stop at half_count=1"); in ModeOfSorted()
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc374 const size_t idx_begin, const size_t half_count) { in MinRange() argument
378 for (size_t idx = idx_begin; idx < idx_begin + half_count; ++idx) { in MinRange()
379 ABSL_RAW_CHECK(sorted[idx] <= sorted[idx + half_count], "Not sorted"); in MinRange()
380 const T range = sorted[idx + half_count] - sorted[idx]; in MinRange()
400 size_t half_count = num_values / 2; in ModeOfSorted() local
401 while (half_count > 1) { in ModeOfSorted()
402 idx_begin = MinRange(sorted, idx_begin, half_count); in ModeOfSorted()
403 half_count >>= 1; in ModeOfSorted()
407 if (half_count == 0) { in ModeOfSorted()
410 ABSL_RAW_CHECK(half_count == 1, "Should stop at half_count=1"); in ModeOfSorted()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc374 const size_t idx_begin, const size_t half_count) { in MinRange() argument
378 for (size_t idx = idx_begin; idx < idx_begin + half_count; ++idx) { in MinRange()
379 ABSL_RAW_CHECK(sorted[idx] <= sorted[idx + half_count], "Not sorted"); in MinRange()
380 const T range = sorted[idx + half_count] - sorted[idx]; in MinRange()
400 size_t half_count = num_values / 2; in ModeOfSorted() local
401 while (half_count > 1) { in ModeOfSorted()
402 idx_begin = MinRange(sorted, idx_begin, half_count); in ModeOfSorted()
403 half_count >>= 1; in ModeOfSorted()
407 if (half_count == 0) { in ModeOfSorted()
410 ABSL_RAW_CHECK(half_count == 1, "Should stop at half_count=1"); in ModeOfSorted()
/external/openscreen/third_party/abseil/src/absl/random/internal/
Dnanobenchmark.cc374 const size_t idx_begin, const size_t half_count) { in MinRange() argument
378 for (size_t idx = idx_begin; idx < idx_begin + half_count; ++idx) { in MinRange()
379 ABSL_RAW_CHECK(sorted[idx] <= sorted[idx + half_count], "Not sorted"); in MinRange()
380 const T range = sorted[idx + half_count] - sorted[idx]; in MinRange()
400 size_t half_count = num_values / 2; in ModeOfSorted() local
401 while (half_count > 1) { in ModeOfSorted()
402 idx_begin = MinRange(sorted, idx_begin, half_count); in ModeOfSorted()
403 half_count >>= 1; in ModeOfSorted()
407 if (half_count == 0) { in ModeOfSorted()
410 ABSL_RAW_CHECK(half_count == 1, "Should stop at half_count=1"); in ModeOfSorted()
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc374 const size_t idx_begin, const size_t half_count) { in MinRange() argument
378 for (size_t idx = idx_begin; idx < idx_begin + half_count; ++idx) { in MinRange()
379 ABSL_RAW_CHECK(sorted[idx] <= sorted[idx + half_count], "Not sorted"); in MinRange()
380 const T range = sorted[idx + half_count] - sorted[idx]; in MinRange()
400 size_t half_count = num_values / 2; in ModeOfSorted() local
401 while (half_count > 1) { in ModeOfSorted()
402 idx_begin = MinRange(sorted, idx_begin, half_count); in ModeOfSorted()
403 half_count >>= 1; in ModeOfSorted()
407 if (half_count == 0) { in ModeOfSorted()
410 ABSL_RAW_CHECK(half_count == 1, "Should stop at half_count=1"); in ModeOfSorted()
/external/deqp/external/openglcts/modules/common/
DglcKHRDebugTests.cpp1568 GLint half_count = max_debug_messages / 2; in iterate() local
1570 GLint rest_count = max_debug_messages - half_count; in iterate()
1572 GLsizei buf_size = (GLsizei)((half_count + 1) * (label_length + 1)); in iterate()
1582 sources.resize(half_count + 1); in iterate()
1583 types.resize(half_count + 1); in iterate()
1584 ids.resize(half_count + 1); in iterate()
1585 severities.resize(half_count + 1); in iterate()
1586 lengths.resize(half_count + 1); in iterate()
1588 …GLuint ret = m_gl->getDebugMessageLog(half_count /* count */, buf_size /* bufSize */, &sources[0] … in iterate()
1593 if (ret != (GLuint)half_count) in iterate()
[all …]
/external/pcre/dist2/src/sljit/
DsljitNativeARM_T2_32.c367 sljit_uw half_count; in sljit_generate_code() local
385 half_count = 0; in sljit_generate_code()
399 if (next_addr == half_count) { in sljit_generate_code()
400 SLJIT_ASSERT(!label || label->size >= half_count); in sljit_generate_code()
401 SLJIT_ASSERT(!jump || jump->addr >= half_count); in sljit_generate_code()
402 SLJIT_ASSERT(!const_ || const_->addr >= half_count); in sljit_generate_code()
403 SLJIT_ASSERT(!put_label || put_label->addr >= half_count); in sljit_generate_code()
406 if (label && label->size == half_count) { in sljit_generate_code()
411 if (jump && jump->addr == half_count) { in sljit_generate_code()
416 if (const_ && const_->addr == half_count) { in sljit_generate_code()
[all …]