This loop will print out the page number and page headers at each page break.
这个循环将在每一个分页处打印出页编号和页眉。
For example, the code in Listing 3 prints a note after each number in the loop.
举例来说,清单3中的代码会在循环中为各编号输出一个说明。
Another endless loop: Until the user has picked a suitable track number, I simply can't go on.
另一个无穷循环:在用户选择出合适的曲目数量之前,完全不能继续下去。
Define a loop that starts the required number of event handlers.
定义启动所需数量的事件处理程序的循环。
By doing so, the loop in the main scope and logic in the event handler controls the final number of event handler instances.
这样,主范围内的循环和事件处理程序中的逻辑就可以控制事件处理程序的最终数目。
A standard optimization is loop unrolling; the compiler will unroll the loops to reduce the number of branches.
标准的优化是循环展开;编译器将展开循环,以减少分支的数量。
The comments in Listing 5 merely tell the reader what the code is doing - that it's iterating through a loop or that it's adding a number.
清单5中的注释仅告诉读者代码在做什么—它正在通过一个循环进行迭代或添加一个数字。
These fields keep track of the number of iterations that have been performed in the loop, and check the condition to determine when to end.
这些字段将跟踪已在循环中执行的迭代数,并检查该条件以确定何时结束。
Remember also that each iteration through the loop wastes time, so rather than working through the same loop a number of times, try to perform all the actions in one pass through the loop.
还要记住的是,在循环中,每次反复都是在浪费时间,因此不要多次使用相同的循环,而是要尽量在一个循环中执行所有的操作。
This saves time by reducing the number of overhead instructions that the computer has to execute in a loop.
通过减少循环中计算机需要执行的指令,节省了执行时间。
The LOOP statement executes a statement block for an unspecified number of iterations.
loop语句不限次数地执行一个语句块。
The client that connects to this server should use a time.sleep in its loop if it only wants a new number intermittently rather than as fast as possible.
连接到该服务器的客户机如果只是间歇地需要新数字,而不需要尽快地得到新数字的话,那么它应该在其循环中使用time . sleep 。
OEMPUTX puts a specified number of messages in a loop, and writes a report with the measurement results. This is the report for the same run shown above.
OEMPUTX在循环中放置特定数目的消息,然后使用测量结果写一个报告。
It expects a total count of the number of feeds to be in var://context/loop/count and the pipesout_x contexts to contain the results appropriately.
它预期Feed数量的总计数在var://context/loop/count 中,并且 pipesout_x上下文包含适当的结果。
Call, I added only the line psyco.bind (main), since the main function does loop a number of times (but only makes minimal use of integer arithmetic).
我只添加了psyco .bind (main)这一行,而不是添加一个总的psyco . jit调用,因为main函数确实要循环多次(但是仅利用了最少的整数运算)。
By adding a loop, you can repeat any part of your test for a set number of iterations.
通过添加一个循环,您可以为一系列的迭代重复您的测试的任何一部分。
You can define part of a test as a loop that runs a specified number of times, as shown in Figure 7.
您可以定义测试的一部分作为循环,此循环可以运行特定的次数,如图7所示。
You can define part of a test as a loop that runs a specified number of times.
您可以定义一个测试中的部分为循环,让其运行特定次数。
If a script is being written to create a number of bridge objects defined by a variable, the creation of those objects can be placed inside a loop.
如果脚本正在编写,用于创建用变量定义的大量网桥对象,这些对象的创建可以放在一个循环中。
To solve the number classifier, I had to discern exactly how to gather factors, which in turn means I had to write the specific code to loop through Numbers to determine factors.
要解决数字分类器问题,必须准确辨别如何搜集因子,这意味着必须编写特定代码来遍历数字,从而确定因子。
A while loop will rarely include the number of iterations — unless it is a for loop in disguise.
while循环很少包含迭代次数——除非它是一个伪装的for循环。
If the specified number is not detected, the tool will wait in an infinite loop.
如果未检测到指定数量的Mbean,工具将会无限期等待。
Note that you could also use a for loop to execute the script a given number of times before quitting.
注意,您也可以使用for 循环按照指定的次数来循环执行这个脚本,然后才退出。
A while loop within bash allows you to execute a statement a given number of times, or until a certain condition is met.
bash中的while循环可以重复执行语句一定的次数,或者一直执行到满足某一条件为止。
In this article, we'll focus on writing an OpenID Provider to secure a number of applications in a closed loop architecture.
在本文中,我们要在闭环架构中编写一个OpenID提供者以保护许多应用程序。
You actually know whether the number is prime or not, immediately after the end of the for loop, even though you don't use the determined value until the if statement.
在for 循环结束之后,就已经知道数字是否是素数,尽管在 if 语句之前并不使用判断结果。
C-based programming languages have a for loop, but it's designed to perform a series of operations a specific number of times.
基于C的编程语言具有for循环,但它的设计目的是对一系列操作执行特定次数。
Our diagram for the while loop contains both a condition and an asterisk, signaling iteration, but as you can see the number of iterations is unavailable.
我们的while循环图既包含条件,又包含表明迭代的星号,但您会发现,没有迭代的次数。
The for loop, which executes a block of statements a certain number of times
for 循环,它对一个语句块执行一定次数。
If the probes had been placed at the start and end of the while loop, a number of operations unrelated to the actual calculation of the primes would have been included.
如果把探测放在while循环的开头和末尾,就会包含许多与素数的实际计算无关的操作。
应用推荐