Let's say you are trying to learn some new and rather difficult English vocabulary using a stack of cards.
让我们假设你正试图用一堆卡片来学习一些新的、相当难的英语单词。
The indentation levels of consecutive lines are used to generate indent and DEDENT tokens, using a stack, as follows.
连续行的缩进层次用于生成语言符号INDENT和DEDENT,这个过程中使用了堆栈,如下述。
This problem is simple. After understanding the problem, we should quickly realize that this problem can be solved by using a stack.
这是一个简单的问题,在理解这个问题之后,我们应该很快意识到这个问题能用栈来解决。
Given that I'm probably going to be using a Stack instance throughout my behavior class, I might as well push (no pun intended) that logic into a fixture, as I've done in Listing 7.
由于我可能在整个行为类中使用一个Stack实例,我可能也会将那种逻辑推入(这里并非有意使用双关语)到一个fixture中,正如清单7中那样。
Using our file folder analogy, imagine an inbox with a stack of file folders waiting to be processed.
使用我们的文件夹类比,假设有一个具有一堆文件夹的收件箱等待处理。
The concept is simple: avoid all installation and configuration hassles by using a virtual image of an entire software stack: operating system, application (s), configuration data, etc.
其概念是非常简单的:通过使用整个软件栈(操作系统、应用、配置数据等等)的虚拟映像来避免安装与配置上的冲突。
As you navigate through the application you build a stack of activities that you can then pop out of by using the back button on the phone.
当您在应用程序中导航时,就创建了一个活动堆栈,使用手机上的后退按钮就就可从该堆栈中出来。
Using the directory stack is a good scripting technique to maintain your place in the file system.
使用目录堆栈是一种理想的脚本技术,用于维持您在文件系统中的位置。
Using these two technologies together offers a powerful technology stack that satisfies the demand of RIA applications.
将这两种技术结合使用可提供一个满足RIA应用程序需求的强大的技术堆栈。
These rankings are not intended to be definitive, so if you are using them in making a decision about your own use of a stack, be sure to review my justifications and make your own judgment.
这些排名并不是权威的,因此,如果您要使用它们创建您自己的栈,务必要检查我的理由,并做出自己的判断。
Moreover, a stack of several dielectric EAPs can generate substantial forces using little power.
另外,多组电介质型电活性聚合物用极少的电能就能产生极大的力量。
Bytecodes describe calculations using a theoretically infinitely large operand stack.
字节码使用一个理论上无限大的操作数堆栈来描述计算。
You create a stack or flow using a Ruby block.
您可以使用Ruby块创建一个堆栈或一个流。
Using the +n or -n parameter, where n is a number, you can rotate the stack left or right, as shown in Listing 5.
使用 +n或 -n参数,其中 n是一个数字,您可以向左或向右移动堆栈,如 清单5 所示。
In Greg's tests, using Continuations cuts thread consumption, and concomitantly stack memory consumption, by a factor of more than 10.
在Greg的测试中,使用Continuations能够减少线程消耗,并同时减少了超过10倍的栈内存消耗。
Using Justice validation had the advantage of providing much more detailed information about errors than is supplied by the JVM (including the stack state and a portion of the problem code).
使用Justice检验的优势是:提供的错误信息要比JVM提供的信息更详细(包括堆栈状态和部分问题代码)。
The examples so far -- counter and stack -- are very simple nonblocking algorithms and are easy to follow once you grasp the pattern of using CAS in a loop.
目前为止的示例(计数器和堆栈)都是非常简单的非阻塞算法,一旦掌握了在循环中使用CAS,就可以容易地模仿它们。
Therefore, before using a non-volatile register in a function, its value must be saved in the function's stack frame, and then restored before the function returns.
因此,在函数中使用非易失性寄存器之前,它的值必须保存到该函数的堆栈帧中,然后在函数返回之前恢复。
Typically, these exceptions are handled by using the default behavior, printing out a stack dump, and ending the life of the thread.
通常是使用默认行为、打印堆栈溢出和结束线程的生命来处理这些异常。
They spend years building on a technology stack that nobody else is using.
他们花了几年的时间去建立一个其它人都不用的技术栈。
Let's take a look at two simple protocols in the stack used to send data, RFCOMM and OBEX, and compare the advantages and disadvantages of using them when transferring files.
我们先来看看栈中用来发送数据的两个简单协议RFCOMM和OBEX,并比较使用它们传送文件的优势和不足。
Instead of using a custom client and TCP stack, I used the standard Linux TCP stack and the wget command-line HTTP client.
没有使用定制的客户机和tcp栈,而是使用了标准的Linux TCP协议栈和wget命令行http客户机。
For example, the print_report_i function described earlier compiled with tail-call optimization using -O2 on GCC 3.4 and therefore runs with a stack-size that is constant, not growing linearly.
例如,前面描述的 print_report_i函数在GCC 3.4 中使用-O2 进行尾部调用优化编译,因此运行时使用的栈的大小是固定的,而不是线性增长的。
A new type of precise linear actuator using the piezoelectric stack as actuating element was presented.
提出一种以压电叠堆为驱动动力源的新型精密直线驱动器方案。
Logs a warning using the message, and optionally the stack trace, from the given exception.
使用来自给定异常的消息和堆栈跟踪(可选)记录一个警告。
A novel method is proposed to construct variable-length patterns by using dynamically extracting information from call stack of the process.
提出一种利用动态提取进程堆栈中的信息来寻找不定长模式的方法。
Creates a history point and adds it to the browser's history stack, using the specified state key and state value.
使用指定的状态键和状态值创建历史时间点,然后将它添加到浏览器的历史记录堆栈中。
我用一个灯栈。
我用一个灯栈。
应用推荐