MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / malloc

Method malloc

include/dmlc/concurrentqueue.h:338–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336 static inline void (free)(void* ptr) { return WORKAROUND_free(ptr); }
337#else
338 static inline void* malloc(size_t size) { return std::malloc(size); }
339 static inline void free(void* ptr) { return std::free(ptr); }
340#endif
341#else

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected