Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/PhotonLibOS
/ test_sat_sub
Function
test_sat_sub
thread/test/test.cpp:886–891 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
884
}
885
886
__attribute__((noinline))
887
void test_sat_sub()
888
{
889
auto c = sat_sub(1, 2);
890
DevNull(&c, sizeof(c));
891
}
892
893
TEST(saturated, sub)
894
{
Callers
1
TEST
Function · 0.85
Calls
2
DevNull
Function · 0.70
sat_sub
Function · 0.50
Tested by
no test coverage detected