Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ success
Method
success
valdi_core/src/valdi_core/cpp/Utils/Result.cpp:17–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
ResultBase::ResultBase(size_t index) noexcept : _index(index) {}
16
17
bool ResultBase::success() const noexcept {
18
return _index == kValueIndex;
19
}
20
21
bool ResultBase::failure() const noexcept {
22
return _index == kErrorIndex;
Callers
15
startThread
Method · 0.45
TEST_P
Function · 0.45
TEST_P
Method · 0.45
complete
Method · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
15
TEST_P
Function · 0.36
TEST_P
Method · 0.36
complete
Method · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36