MCPcopy Create free account
hub / github.com/PX4/eigen / allocate

Method allocate

Eigen/src/Core/util/Memory.h:739–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

737 ~aligned_allocator() {}
738
739 pointer allocate(size_type num, const void* /*hint*/ = 0)
740 {
741 internal::check_size_for_overflow<T>(num);
742 return static_cast<pointer>( internal::aligned_malloc(num * sizeof(T)) );
743 }
744
745 void deallocate(pointer p, size_type /*num*/)
746 {

Callers

nothing calls this directly

Calls 1

aligned_mallocFunction · 0.85

Tested by

no test coverage detected