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

Method allocate

include/Eigen/Eigen/src/Core/util/Memory.h:992–996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

990 #endif
991
992 pointer allocate(size_type num, const void* /*hint*/ = 0)
993 {
994 internal::check_size_for_overflow<T>(num);
995 return static_cast<pointer>( internal::aligned_malloc(num * sizeof(T)) );
996 }
997
998 void deallocate(pointer p, size_type /*num*/)
999 {

Callers

nothing calls this directly

Calls 1

aligned_mallocFunction · 0.85

Tested by

no test coverage detected