Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ AddCompToPlan
Function
AddCompToPlan
library/cpp/par/distr_tree.h:27–30 ·
view source on GitHub ↗
add as a leaf to the top node
Source
from the content-addressed store, hash-verified
25
26
// add as a leaf to the top node
27
inline void AddCompToPlan(TVector<ui16>* plan, int compId) {
28
if (!IsIn(*plan, compId))
29
plan->push_back(compId);
30
}
31
}
Callers
1
RescheduleJobRequest
Function · 0.85
Calls
2
IsIn
Function · 0.85
push_back
Method · 0.45
Tested by
no test coverage detected