MCPcopy 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

AllocateMethod · 0.95
MaxFunction · 0.50

Tested by

no test coverage detected