memory-management
C++ shared memory leak, how to clear shared memory?
I am using Qt and trying to achieve a single instance application by applying this solution in Linux(ubuntu). The problem is that if the application unexpectedly finishes(seg. fault or user kills it)[详细]
2023-04-13 07:37 分类:问答Manual retain with ARC
Before ARC I had the following code that retains the开发者_运维百科 delegate while an async operation is in progress:[详细]
2023-04-13 07:18 分类:问答Heap memory size of the DLL loaded via .NET Interop
I have a generic C++ dll which in which I have few structures. I am passing the structure data from the C#.net console based application and and I am trying to deep copy that structure inside my dll l[详细]
2023-04-13 05:35 分类:问答Sqlite in iOS memory issues
I spent hours trying to fix that but I\'ve just given up; I have no idea what\'s wrong. In my app, I do nested SQL operations to set all my objects correctly. For some reason, sometimes the sqlite3 o[详细]
2023-04-13 02:34 分类:问答Does a DMA controller have its own registers?
I\'m trying to understand the ins and outs of how a DMA controller functions. I\'m looking at the 8237 DMA controller. Some information here has some tab开发者_JAVA技巧les with register values.[详细]
2023-04-13 02:07 分类:问答Allocating UIViewControllers in viewDidLoad. Was this a mistake?
A colleague and I have been designing our code so that our view controller objects are being allocated within the viewDidLoad method of our controller objects.We did this a lot and the object graph se[详细]
2023-04-13 02:05 分类:问答Why not use self. call inside class
I\'ve read google\'s and apple\'s code guide, they both access instance variables without self. call(getter and setter) inside the method implementation开发者_运维百科 even though they have declared a[详细]
2023-04-12 22:13 分类:问答Android Memory Crashes
I am playing with Cocos2d nowadays and facing lot many memory related issues. Anybody can tell me any best way to manage the memory or find memory crashes. I have tries MAT plugin(http://ww开发者_运维[详细]
2023-04-12 20:52 分类:问答Proper, memory-managed implementation of custom NSDictionary getter
Thanks in advance... So after some recent memory leaks and bugs (documented here), I\'ve been studying up on my memory management, and I am now trying to write a custom getter for an NSDictionary in[详细]
2023-04-12 17:58 分类:问答Invalidating deleted pointers?
template<typename T> someclass<T>& operator=(const someclass<T>& other) { typename std::vector<T *>::const_iterator rhs;[详细]
2023-04-12 17:04 分类:问答