Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ SetValue
Method
SetValue
library/cpp/threading/future/core/future-inl.h:807–810 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
805
806
template <typename T>
807
inline void TPromise<T>::SetValue(const T& value) {
808
EnsureInitialized();
809
State->SetValue(value);
810
}
811
812
template <typename T>
813
inline void TPromise<T>::SetValue(T&& value) {
Callers
15
Y_UNIT_TEST
Function · 0.45
TestApplyNoRvalueCopyImpl
Function · 0.45
TestApplyLvalueCopyImpl
Function · 0.45
SetPromise
Method · 0.45
SetPromise
Method · 0.45
RunWaitTest
Function · 0.45
Release
Method · 0.45
SetValueImpl
Function · 0.45
SetValue
Function · 0.45
Return
Method · 0.45
UpdateNextInput
Method · 0.45
SetPromise
Function · 0.45
Calls
2
EnsureInitialized
Function · 0.85
move
Function · 0.50
Tested by
2
TestApplyNoRvalueCopyImpl
Function · 0.36
TestApplyLvalueCopyImpl
Function · 0.36