Category "stack"

Does `ret` also remove all the function's arguments from the stack?

When ret is executed, it pops the (return) address and puts it in the EIP register. But what about all the function's arguments left on the stack? Are we just i

I'm trying to create a stack in c using structures but my push function doesn't work

I'm trying to create a stack in C using structures but the push() function I wrote is acting strangely. I'm sure it is something obvious that I'm missing but I

Hi i have installed 'stack' and installed fb-duckling for extraction of date and time.but i am running fb Duckling in my code .Get connection errors

here is my code: from fb_duckling import Duckling duckling = Duckling() duckling("Lets have call on Monday at 4pm") getting error: ConnectionError: ('Connection

prevent numpy stack method change INT data to float

I try to stack three one dimension array. a and b are int that can be work as index and c is float. After I stack this three with axis=0, the a and b data chang

Allocate a vector of bytes on stack in assembly x86

I try to put on stack the values contained by array_output but every time I print the values from the stack it prints just 0s. If I try to print the array simpl

When I call the C system() function, is the location of the new program's main() stack frame similar to the original program's main() stack frame?

I'm wondering if when I call the C system() function, the location of the new program's main() stack frame is similar to the original program's main() stack fra

c code to paint an embedded stack with a pattern say (0xABABABAB) just after main begins?

I am working on dynamic memory analysis using stack painting/foot print analysis method. dynamic-stack-depth-determination-using-footprint-analysis basically t

Is it practical for a Forth implementation to use the system stack as the return stack?

A language like C uses the system stack for local variables and return addresses. Forth has the data stack and the return stack. Is there an implementation of F

docker stack deploy with GPU , but can't find nvidia devices

docker stack deploy with GPU , but can't find nvidia devices description: When I use docker-compose up start the program, the code works well! But when I use

I started learning DSA ,while writing code for stack DS in c++ , I came across this error

I started learning DSA ,while writing code for stack DS in c++ , I came across this error. So, while I was trying fixing it , I get to know that when I am using

How do you declare a stack of type struct? in c++

In the code below, how do you properly declare a stack of type struct and push strings onto the stack so that they are saved in the struct? How do you specify w

Amazon interview: Min stack

I recently had my Amazon interview for SDE. I was asked to design a stack which does push, pop and min in O(1). I got the logic and implemented the push of the

Variable importance from a tidymodels/stacks output?

Is it possible to retrieve the variable importance for one, many, or the full stacked model after running tidymodels/stacks? This is not yet supported by the VI

Decimal To Binary conversion using Array and Stack

This is the C Program I have written to convert a Decimal number to it's equivalent Binary number. I have used Stack (implemented using array) and the following

'clarinet integrate' quickly fails and nothing is logged to console?

Following https://docs.hiro.so/smart-contracts/devnet I can't get the command clarinet integrate to work. I have installed Docker on my mac and am running versi

Reversing an array using a stack

I am attempting to reverse an array using a stack. However, I get an error on arr[i] = stack.top();, and the suggestion to resolve it in Eclipse is to change it

JVM Stack Variables

I understand JVM creates a Stack for each thread and that Stack contains calls to other methods as thread invokes them. I don't understand when it says Stack wi

stack vs queuing?

hello im still a student and im a bit confused about stacking and queuing ? first question is, what is the main diffrence between them two ? btw there is circ