MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / allocate

Method allocate

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

Source from the content-addressed store, hash-verified

945#endif
946
947 pointer allocate(size_type num, const void* /*hint*/ = 0) {
948 internal::check_size_for_overflow<T>(num);
949 return static_cast<pointer>(internal::aligned_malloc(num * sizeof(T)));
950 }
951
952 void deallocate(pointer p, size_type /*num*/) { internal::aligned_free(p); }
953};

Callers

nothing calls this directly

Calls 1

aligned_mallocFunction · 0.85

Tested by

no test coverage detected