It usually has an API with methods like push and pop .
它通常有一个API,其中包括push和pop等方法。
Thus far, I've managed to implement push and pop in such a manner as to permit a number of behavior methods to pass.
至此,通过允许传递多个行为方法,我已经实现了push和pop方法。
Based on this idea, let's look at the concept of a concurrent queue where push and pop operations come with timeouts.
根据这个概念,我们来看看如何给并发队列的添加和取出操作增加超时限制。
Arrays respond to push and pop, where push adds an item (at its last spot) and pop removes one (like a stack, from the last position).
Arrays支持push和pop操作,其中push增加项目(在其最后一个位置)而pop移除项目(就像堆栈,从最后一个开始)。
Because you're sharing the same mutex for push and pop operations, the data-read speed is somewhat compromised as writer threads access the lock.
因为添加和取出数据操作使用相同的互斥锁,所以读取数据的速度会影响写数据的线程访问锁。
This algorithm avoids the numerous repeated operations for getting many pixel color values without increasing the number of push and pop operations.
改进后的算法不增加入栈出栈操作的次数,却免除了原算法中为获取众多象素颜色值所需要的大量重复操作。
The list of directories ACTS like a stack — you push a directory onto the top of the stack, and pop a directory off the top again to get it back.
该目录列表的行为就像一个堆栈——您将一个目录压入堆栈顶部,并从顶部弹出一个目录以取回它。
When each of the other elements are parsed, you pop the Employee object off the stack, call the relevant set function, and push the object back on to the stack.
每当其他元素被解析时,您将这个Employee对象弹出Stack,调用相关的set函数,然后将该对象推回Stack。
Here's a tip for all you potential consumers: if you want macaroni and cheese so badly that you're willing to eat it in a push pop, you have an illness and need to reach out to a professional.
给每个有耐心的消费者一个忠告:如果你现在超级想吃奶酪和通心粉,就算加了辣椒酱也可以狼吞虎咽,那么最好小心了,这样的食物组合可能会导致患病住院。
If the character is an operator, pop two operands, perform the appropriate operation, and then push the result onto the stack.
如果字符是个操作符,弹出两个操作数,执行恰当操作,然后把结果压入堆栈。
If you push the Numbers 2, 4, and 6 onto a stack and then pop the stack twice, you will get 6 and 4, in that order.
如果你向堆栈压入数据2,4,6,然后弹出栈两次,你将按照顺序得到6与4。
You will learn how to push colors away from the accurate and neutral into something that has more pop and punch.
你将学习如何将颜色从准确和中性的推向有更多的流行和打孔的东西。
I simply push a value (" test ") and ensure that when I call pop , that same value is returned.
我只是push一个值(“test”),并确保当调用pop时,返回相同的值。
When it is an operator, pop two Numbers from the stack, do the calculation, and push back the result.
当它是一个操作符时,从栈中弹出两个数进行运算,并且将运算结果压入栈中。
The system has advantages such as mouse control, push button operation, pop up menu selection, Windows prompt and all Chinese character desktop.
该系统用鼠标控制,按钮式操作,弹出式菜单选择,弹出窗口提示,全中文平台。
Start with the simple push-off drill, in which the swimmer pushes off and stays in the streamline position until they pop to the surface and stop moving forward.
从简单的有力的游泳练习,游泳运动员结束划水时,停留在流线型姿势直到他们流行于表面,停止前进。
Stack is automatically allocated and released by C++ complier. It has more efficiency using specific push/pop instructions.
栈由编译器自动分配释放,有专门的入栈出栈指令,具有较高的效率。
Stack is automatically allocated and released by C++ complier. It has more efficiency using specific push/pop instructions.
栈由编译器自动分配释放,有专门的入栈出栈指令,具有较高的效率。
应用推荐