Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chronoxor/CppBenchmark
/ TestDirect
Method
TestDirect
examples/virtual.cpp:21–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
20
#if (defined(__clang__) || defined(__GNUC__))
21
int TestDirect(int i) __attribute__((noinline)) { return i + 2; }
22
#elif defined(_MSC_VER)
23
__declspec(noinline) int TestDirect(int i) { return i + 2; }
24
#endif
Callers
1
virtual.cpp
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected