首先是while 循环。
Listing 7. Pseudocode for the while loop.
清单7. while循环的伪代码。
Decrement the count and end the while loop.
减少计数并终止while循环。
Listing 8. A simple example of the while loop.
清单8.while循环的一个简单例子。
Create a while loop to select multiple shippers.
创建while循环,以选择多个托运人。
Until then, the function blocks in a while loop.
在此之前,函数在while循环中阻塞。
We'll diagram the while loop shown in Listing 3.
我们将对清单3中显示的while循环绘制图。
The diagram for the while loop is shown in Figure 6.
图6显示了while循环图。
Now instinctively, prefer the for loop or the while loop?
现在凭感觉,你们喜欢for循环还是while循环?
Preceding a block of JSON data with an endless while loop.
在JSON数据块前面放置一个无限while循环。
Listing 2 shows this while loop and the corresponding condition.
清单2显示了这个while循环和相应的条件。
A while loop activity contains other activities and a condition.
While循环活动包含其他活动和一个条件。
Figure 6 shows the contents of the while loop (Manufacturing loop).
图6显示了while循环的内容(ManufacturingLoop)。
Instead, the program enters a while loop waiting for new connections.
相反,程序进入一个while循环,等待新的连接。
The obvious issue is that the NULL check must be part of the while loop.
明显的问题是NULL检查必须放在 while 循环中。
Going a step further, look at the structure of the code inside the while loop.
再进一步,看看while循环内部的结构。
At the bottom of the while loop, you read another directory entry and process it.
在while循环的底部,读取另一个目录条目并对其进行处理。
The while loop in Listing 12 ensures that spurious wake-ups are handled properly.
清单12中的while循环确保正确地处理虚假的唤醒。
This starts the second trip through the while loop, where the variable I becomes 25.
这就会第二次进入while循环,这次变量i变成了25。
The while loop declaration describes the conditions under which the loop will continue.
while循环声明描述循环继续的条件。
BuildCanary then goes back to the top of its while loop and waits for the next message.
然后,BuildCanary回到while循环的顶端,等待下一条消息。
Listing 3 shows a simple while loop that USES these functions to print what it sees.
清单3展示了简单的while循环,该循环使用这些函数来打印它所查看的内容。
That's why the main test method in Listing 1 USES a while loop instead of a new for loop.
这就是为什么清单1中的main测试方法使用while循环而不是一个新的for循环。
The while loop, which executes a block of statements as long as a test expression is true.
while循环,它当一个测试表达式为true时执行一个语句块。
A while loop is a loop that repeats the included activities while some condition is satisfied.
一个while循环在满足一些条件的情况下,将重复所包含的活动。
A while loop will rarely include the number of iterations — unless it is a for loop in disguise.
while循环很少包含迭代次数——除非它是一个伪装的for循环。
If you clicked + to expand a while loop, the editor showed just the contents of the while loop.
如果单击+以展开while循环,编辑器仅显示while循环的内容。
Notice how this method accounts for possible weak references in the queue with the do-while loop.
请注意该方法如何用do -while循环来处理队列中可能存在的弱引用。
With a while loop set up to read from stdin, the various components of the dots file are extracted.
建立一个while循环从stdin中读取数据,这样可以将dots文件中的各项内容提取出来。
(Generally, though, you would have these hosts in a text file and read them in using a while loop.)
但是,一般情况下,把这些主机名放在一个文本文件中并使用while循环读取它们。
应用推荐