Home
last modified time | relevance | path

Searched refs:max_element (Results 1 – 25 of 67) sorted by relevance

123

/external/libcxx/test/std/algorithms/alg.sorting/alg.min.max/
Dmax_element_comp.pass.cpp31 Iter i = std::max_element(first, last, std::greater<int>()); in test()
68 assert(first == std::max_element(first, last, p)); in test_eq0()
90 constexpr auto p = std::max_element(il, il+8, less()); in constexpr_test()
Dmax_element.pass.cpp29 Iter i = std::max_element(first, last); in test()
70 constexpr auto p = std::max_element(il,il+8); in constexpr_test()
Drequires_forward_iterator.fail.cpp30 std::max_element(Iter(b), Iter(e)); in main()
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dstats.cc102 frame = std::max_element(stats_.begin(), stats_.end(), LessForEncodeTime); in PrintSummary()
128 frame = std::max_element(decoded_frames.begin(), decoded_frames.end(), in PrintSummary()
145 frame = std::max_element(stats_.begin(), stats_.end(), LessForEncodedSize); in PrintSummary()
169 frame = std::max_element(stats_.begin(), stats_.end(), LessForBitRate); in PrintSummary()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dstate_funcs.h58 auto maxXi = std::max_element(std::begin(_xi), &_xi[numSamples]); in CalcTileSampleOffsets()
64 auto maxYi = std::max_element(std::begin(_yi), &_yi[numSamples]); in CalcTileSampleOffsets()
/external/tensorflow/tensorflow/core/kernels/
Dtopk_op_gpu.h321 const Entry<T>& max_element = max_heap.root();
322 top_k_values[rank] = max_element.value;
323 int shard_index = max_element.index;
333 const Entry<T>& max_element = max_heap.root();
334 top_k_values[last_k] = max_element.value;
335 int shard_index = max_element.index;
Dmfcc_test.cc90 EXPECT_EQ(output.begin() + 1, std::max_element(output.begin(), output.end())); in TEST()
/external/libtextclassifier/lang_id/common/math/
Dalgorithm.h34 std::max_element(elements.begin(), elements.end())); in GetArgMax()
Dsoftmax.cc85 const float max_score = *std::max_element(scores.begin(), scores.end()); in ComputeSoftmax()
/external/tensorflow/tensorflow/compiler/xla/tools/
Dshow_text_literal.cc47 float max = *std::max_element(literal.data<float>().begin(), in main()
/external/tensorflow/tensorflow/core/grappler/costs/
Drobust_stats.cc49 const auto lower_middle = std::max_element(values.begin(), middle); in Median()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_detector.cc138 return *std::max_element(previous_results_.begin(), previous_results_.end()); in Detect()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DMinimalTypeDumper.cpp275 auto Max = std::max_element(Indices.begin(), Indices.end()); in visitKnownRecord()
290 auto Max = std::max_element(Indices.begin(), Indices.end()); in visitKnownRecord()
457 auto Max = std::max_element(Indices.begin(), Indices.end()); in visitKnownRecord()
/external/compiler-rt/test/tsan/
Dreal_deadlock_detector_stress_test.cc51 max_locked = *std::max_element(locked.begin(), locked.end()); in Thread()
/external/webrtc/webrtc/test/testsupport/metrics/
Dvideo_metrics.cc74 iter = std::max_element(result->frames.begin(), result->frames.end(), in CalculateStats()
/external/webrtc/webrtc/video/
Dsend_statistics_proxy_unittest.cc322 *std::max_element(config_.rtp.ssrcs.begin(), config_.rtp.ssrcs.end()), in TEST_F()
323 *std::max_element(config_.rtp.rtx.ssrcs.begin(), in TEST_F()
/external/webrtc/webrtc/modules/audio_device/ios/
Daudio_device_unittest_ios.cc290 int max = *std::max_element(vec.begin(), vec.end()); in Write()
323 return *std::max_element(latencies_.begin(), latencies_.end()); in max_latency()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_array.c948 GLuint max_element = 2 * 1000 * 1000 * 1000; /* just a big number */ in vbo_exec_DrawRangeElementsBaseVertex() local
969 if ((int) end + basevertex < 0 || start + basevertex >= max_element) { in vbo_exec_DrawRangeElementsBaseVertex()
983 max_element - 1); in vbo_exec_DrawRangeElementsBaseVertex()
1012 if ((int) start + basevertex < 0 || end + basevertex >= max_element) in vbo_exec_DrawRangeElementsBaseVertex()
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_device_unittest.cc297 int max = *std::max_element(vec.begin(), vec.end()); in Write()
333 return *std::max_element(latencies_.begin(), latencies_.end()); in max_latency()
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/
Dlinq.hpp436 auto it = std::max_element(begin(), end(), less); in max()
/external/deqp/modules/glshared/
DglsCalibration.cpp55 …return (*mid + *std::max_element(data.begin(), mid))*0.5f; // Data is partially sorted around mid,… in destructiveMedian()
/external/clang/lib/Sema/
DSemaCUDA.cpp161 Sema::CUDAFunctionPreference BestCFP = GetCFP(*std::max_element( in EraseUnwantedCUDAMatchesImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DPDBFile.cpp89 return *std::max_element(ContainerLayout.StreamSizes.begin(), in getMaxStreamSize()
/external/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp307 std::max_element(Candidates.begin(), Candidates.end(), in findPointersWrittenOnForwardingPath()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h72 *std::max_element(ColCounts, ColCounts + M.getCols() - 1); in MatrixMetadata()

123