Skip to content

Commit 6368a90

Browse files
[Automated Commit] Format Codebase
1 parent f424dee commit 6368a90

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

loadgen/loadgen.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,8 @@ void LoadSamplesToRam(QuerySampleLibrary* qsl,
623623
/// RAM at the same time.
624624
/// \param qsl The query sample library.
625625
/// \param settings The test settings.
626-
/// \param total_sample_count The total number of samples to generate indices for.
626+
/// \param total_sample_count The total number of samples to generate indices
627+
/// for.
627628
/// In accuracy mode, this should be accuracy_sample_count.
628629
/// In performance mode, this should be performance_sample_count.
629630
std::vector<LoadableSampleSet> GenerateLoadableSets(
@@ -637,7 +638,8 @@ std::vector<LoadableSampleSet> GenerateLoadableSets(
637638

638639
// Cap sample count to QSL's actual total to avoid out-of-range indices.
639640
const size_t qsl_total_count = qsl->TotalSampleCount();
640-
const size_t effective_sample_count = std::min(total_sample_count, qsl_total_count);
641+
const size_t effective_sample_count =
642+
std::min(total_sample_count, qsl_total_count);
641643

642644
// Generate indices for the specified sample count.
643645
std::vector<QuerySampleIndex> samples(effective_sample_count);

0 commit comments

Comments
 (0)