MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / allocate

Method allocate

benchmarks/tbb/task_group_context.cpp:79–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79captured_exception* captured_exception::allocate ( const char* a_name, const char* info ) {
80 captured_exception *e = (captured_exception*)allocate_via_handler_v3( sizeof(captured_exception) );
81 if ( e ) {
82 ::new (e) captured_exception(a_name, info);
83 e->my_dynamic = true;
84 }
85 return e;
86}
87
88const char* captured_exception::name() const throw() {
89 return my_exception_name;

Callers 15

enable_segmentMethod · 0.45
operator newMethod · 0.45
operator newFunction · 0.45
allocate_siblingFunction · 0.45
allocate_blockMethod · 0.45
allocate_pageMethod · 0.45
create_tokenMethod · 0.45
initializeMethod · 0.45
assignMethod · 0.45
growMethod · 0.45
allocate_siblingFunction · 0.45

Calls 2

destroyMethod · 0.45

Tested by

no test coverage detected