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

Function AllocateFromPool

util/ysaveload_ut.cpp:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include <util/generic/maybe.h>
17
18static inline char* AllocateFromPool(TMemoryPool& pool, size_t len) {
19 return (char*)pool.Allocate(len);
20}
21
22class TSaveLoadTest: public TTestBase {
23 UNIT_TEST_SUITE(TSaveLoadTest);

Callers

nothing calls this directly

Calls 1

AllocateMethod · 0.45

Tested by

no test coverage detected