Searched refs:random_file_index (Results 1 – 2 of 2) sorted by relevance
1402 size_t random_file_index = in TestCompactFiles() local1404 if (files[random_file_index].being_compacted) { in TestCompactFiles()1410 input_files.push_back(files[random_file_index].name); in TestCompactFiles()1411 if (random_file_index > 0 && in TestCompactFiles()1412 !files[random_file_index - 1].being_compacted) { in TestCompactFiles()1413 input_files.push_back(files[random_file_index - 1].name); in TestCompactFiles()1415 if (random_file_index + 1 < files.size() && in TestCompactFiles()1416 !files[random_file_index + 1].being_compacted) { in TestCompactFiles()1417 input_files.push_back(files[random_file_index + 1].name); in TestCompactFiles()
1086 size_t random_file_index = static_cast<size_t>(rnd.Uniform( in PickFilesMarkedForCompaction() local1089 if (continuation(vstorage->FilesMarkedForCompaction()[random_file_index])) { in PickFilesMarkedForCompaction()