MCPcopy Create free account
hub / github.com/catboost/catboost / allocate

Method allocate

util/memory/pool.h:402–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 }
401
402 inline T* allocate(size_t n) {
403 return (T*)Pool_->Allocate(n * sizeof(T), alignof(T));
404 }
405
406 inline void deallocate(pointer /*p*/, size_t /*n*/) {
407 }

Callers 1

check_capacityMethod · 0.45

Calls 1

AllocateMethod · 0.45

Tested by

no test coverage detected