Narrow core ranking public surface

This commit is contained in:
fawney19
2026-04-27 16:05:00 +08:00
parent 9da47ceb22
commit 51c3beb614
5 changed files with 18 additions and 25 deletions

View File

@@ -4,7 +4,7 @@ use crate::SchedulerPriorityMode;
use super::types::SchedulerRankableCandidate;
pub fn candidate_priority_slot(
pub(super) fn candidate_priority_slot(
candidate: &SchedulerRankableCandidate,
priority_mode: SchedulerPriorityMode,
) -> i32 {
@@ -16,7 +16,7 @@ pub fn candidate_priority_slot(
}
}
pub fn compare_candidate_priority_slot(
pub(super) fn compare_candidate_priority_slot(
left: &SchedulerRankableCandidate,
right: &SchedulerRankableCandidate,
priority_mode: SchedulerPriorityMode,
@@ -35,7 +35,7 @@ pub fn compare_candidate_priority_slot(
}
}
pub fn candidates_share_priority_group(
pub(super) fn candidates_share_priority_group(
left: &SchedulerRankableCandidate,
right: &SchedulerRankableCandidate,
priority_mode: SchedulerPriorityMode,