Results for memory
I'm almost there on persisting my H2 database using JPA in the application for the first time, but I'm running into the error message No qualifying be...
I am working on a procedure call problem with this code where initially %ebp = 0x800060, and %esp = 0x800040. I'm trying to find what memory address a...
Trying to run a simple macro to copy/paste some columns from one worksheet to another. It works fine when I only use a few columns but when I add all ...
I have an Android game.Evertime the user matches the 'Power Rating' on the right block with the one on the left block,they get 10 points.The score is ...
According to the C Standard, the signature of printf() is: int printf(const char * restrict format, ...); As I understand, the meaning of the restrict...
I have been struggling to understand what I am doing wrong with the memory management of this this C++ function for a python module, but I don't have ...
I'm facing a memory leak problem in iOS 17, in earlier versions it works fine: import SwiftUI struct SkeletonModifier: ViewModifier { @State pri...
The provided c code runs periodically , I checked the debugger it indicates that the problem is in the line : UUo[irx][i] += dt * dt * slice[i][it]; w...
I would like to clarify something. Below are what I'm supposed to do: void key_print1(Key key); Print a key, key –> key1 and then key–> key2 From my u...
Runge-Kutta schemes consist of an algorithm, implemented in Scheme, and a piece of data, called Table (Butcher tableau). For the construction of a sch...
In the below code: package main import ( "fmt" ) func main() { var a, b int8 = -4, 4 fmt.Printf("%b\n", a) fmt.Printf("%08b\n", a)...
We have below code in production system written in C and I feel that after below function call the getptr variable and the value it refers to will be ...
I am setting up a C application that is supposed to read data from an OPCUA server and convert it to a JSON message to be used somewhere else. Current...
I have incoming data that I want to store on disk in a database or something. The data looks something like this incoming_data 5){ dat 1:10,100,repl...
I am using the Salabim package in python to simulate some queueing theory. Salabim (documentation) is based on SimPy but with many extensions and addi...
Consider an application that invokes malloc() and free() many times. The application allocates a total of say 1000 bytes in total. I am trying to writ...
my destroy_list(pHead1_reversed) and destroy_list(pHead2_reversed) function in my list_sum function doesn't seem to be freeing up the nodes. I'm getti...
When I need to make an std::vector from some elements of another container (let's say another vector) the safest way to ensure that the new vector wil...
When I need to make an std::vector from some elements of another container, e.g. another vector, the safest way to ensure that the new vector will be ...
I am still not able to get my head around why there is still memory leak here because of strdup (that's what the error says), I made sure I freed all ...
I have a function that, given a pointer to a char array string (Passed by reference), a char character (passed by value), and an unsigned short int le...
I have an ASP.NET Core API app that I need to publish on my production server which is run on Ubuntu. When publish the app and run it on MS Windows it...
I'm working on a Jupyter notebook in Python with Pandas for data analysis. When creating new aggregation features, I encounter a "MemoryError" due to ...
The result in the two following examples is different: EXAMPLE 1 a = 845 b = int("8"+"4"+"5") print(a == b) # True print(a is b) # False EXAMPLE 2 a ...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?