allocation
Android - view.Surface OutOfResourcesException
My Android app seems to not be releasing its views when I move around inside of it with ListView navigation and with the standard Menu key. After a hundred or so different (of the 10 or so unique view[详细]
2023-03-16 14:48 分类:问答create global dynamic array inside the function
I am writing a programm in C++. In my programm I need to create an array with dynamic size inside one function, but this array should be also accessable for other functions. I will not post here my co[详细]
2023-03-14 02:14 分类:问答C variable allocation time and space
If i have a test.c file with the following #include ... int global = 0; int main() { int local1 = 0; while(1) {[详细]
2023-03-11 18:58 分类:问答Where exactly in memory is count of allocated memory thats being used by delete?
int* Array; Array = new int[10]; delete[] Array; The delete knows the count of allocated memory. I Googled that it 开发者_开发知识库stores it in memory, but it\'s compiler dependent. Is there anyw[详细]
2023-03-11 14:05 分类:问答Object creation differences
What is the difference between the 2 following methods to create an object? Test* t = new Test(); and Test* t;[详细]
2023-03-11 01:20 分类:问答Dynamic allocation of 2 dimensional array in c /linux
I just can\'t figure out how to do a malloc. The following cod开发者_开发问答e just types the first 5 lines and then stops, any help would be appreciated![详细]
2023-03-11 01:10 分类:问答Would this cause a memory leak?
Okay, so I am having somewhat of a disagreement with someone else, and I was hoping someone who knows more about c++ than either of us can clear this up. Say we have this block of code somewhere insid[详细]
2023-03-10 22:12 分类:问答Removing Dynamic Memory Allocation - from a embedded C program
I\'m trying to port a C library to a embedded platform (Xilinx Microblaze), and the library contains some calls to malloc(), alloc(), calloc() and free().[详细]
2023-03-09 23:02 分类:问答Java object browser in eclipse
I\'m almost sure there is tool in eclipse that will allow me to browse my application objects. There is something done for Android called allocation tracked, is there anything similar that I could use[详细]
2023-03-05 13:25 分类:问答Explain the jvm memory structure?
Can anyone please explain the structure of JVM memory or I should s开发者_JAVA技巧ay runtime data areas in JVM.Eden, new gen, old gen, perm space - objects are migrated from one to the other depending[详细]
2023-03-03 17:26 分类:问答