HIAIMemory:: IsDMalloc
Checks whether the memory is allocated by DMalloc. This API is defined in ai_memory.h.
Syntax
static bool IsDMalloc(const void* dataBuffer, const uint32_t& dataSize)
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
dataBuffer |
Pointer to the memory to be determined |
- |
dataSize |
Size of the memory address, in bytes |
- |
Return Value
true: The memory is applied for by using DMalloc.
false: The memory is not applied for by using DMalloc.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot