Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ AllocateArray
Method
AllocateArray
util/memory/pool.h:192–194 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
190
191
template <typename T>
192
inline T* AllocateArray(size_t count) {
193
return (T*)this->Allocate(sizeof(T) * count, alignof(T));
194
}
195
196
template <typename T>
197
inline T* AllocateArray(size_t count, size_t align) {
Callers
nothing calls this directly
Calls
2
Allocate
Method · 0.95
Max
Function · 0.50
Tested by
no test coverage detected