MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / allocate

Method allocate

extern/libcds/src/hp.cpp:95–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 explicit allocator( allocator<U> const& ) {}
94
95 static T* allocate( size_t nCount )
96 {
97 return reinterpret_cast<T*>( s_alloc_memory( sizeof( value_type ) * nCount ));
98 }
99
100 static void deallocate( T* p, size_t /*nCount*/ )
101 {

Callers 2

PODArrayMethod · 0.45
CachedStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected