Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ AlignStackPtr
Method
AlignStackPtr
util/system/context.cpp:89–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
87
88
private:
89
static inline char* AlignStackPtr(char* ptr) noexcept {
90
#if defined(STACK_GROW_DOWN)
91
return AlignDown(ptr, STACK_ALIGN);
92
#else
93
return AlignUp(ptr, STACK_ALIGN);
94
#endif
95
}
96
97
private:
98
char* Data_;
Callers
nothing calls this directly
Calls
2
AlignDown
Function · 0.70
AlignUp
Function · 0.70
Tested by
no test coverage detected