接下来,考虑无限循环语句和条件。
Next, we consider the infinite loop statement and conditionals.
如果不注意的话,会启动无限循环。
You will start an infinite loop if you are not careful. Try the following, for instance.
它不会崩溃,但是会陷入无限循环中。
It doesn't crash, but appears to be stuck in an infinite loop.
图7显示了一个无限循环。
也不需要担心线程停止或陷入无限循环。
No need to worry about a thread stalling or getting caught in an infinite loop.
语句在无限循环中运行。
出现此错误的原因是现在运行了一个无限循环。
案例研究4:由于无限循环导致的内存泄漏示例。
Case study 4: Example of a memory leak due to an infinite loop.
然后,中断执行并找到表示该无限循环的汇编代码。
Then, break the execution and find the assembly code representing the infinite loop.
如果你陷了无限循环(向后循环),这时该怎么办?
What should you do if you have infinite loops (loops going backwards)?
那么,如果这些应用程序之一进入无限循环。
Well, if one of those applications went into an infinite loop.
使用时要小心,因为它可能导致无限循环而产生有害消息。
Use with care, because it can cause an infinite loop resulting in a poison message.
脚本注册到本地IRC服务器,并开始进行无限循环。
The script logs in to the local IRC server, then goes through an infinite loop.
我们的Actor会无限循环来等待进来的消息。
Our actor loops indefinitely, waiting for incoming messages.
由于已经定义了同一个回调,该过程将在一个无限循环中重复。
Because the same callback is already defined, the process repeats in an endless loop.
例如,必须在专门的测试代码中捕捉到占用大量资源的无限循环代码。
For example, code that might go into an infinite loop, or otherwise use excessive resources, must be wrapped in testing code that will detect such eventualities.
这种类型的无限循环有时是由于多线程访问共享的不同步的数据结构造成的。
This type of infinite loops can sometimes occur due to multithreaded access into a Shared unsynchronized data structure.
要避免发生无限循环,只有在响应GET请求而生成当前页面时发送恢复请求。
To avoid an infinite loop, the restore request should be sent only when the current page was generated in response to a GET request.
该属性的值被设为true;如果不是这样,在执行这些规则时将陷入无限循环。
The value of this attribute is set to true; if it weren't, you'd end up with an infinite loop when executing these rules.
此文件包含所有活动线程的线程堆栈,并能够用于标识可能陷入无限循环的方法和线程。
This file contains thread stacks of all active threads and can be used for identifying methods and threads which might be stuck in an infinite loop.
看点:《盗梦空间》里的《偷天情缘》,特工陷入时间无限循环——还是在别人的身体里。
Hook: Groundhog Day meets Inception, when a government agent finds himself traversing the same time loop over and over - in someone else's body.
使团队和个人打破这个”无限循环“并实现真实纯粹的生产力的收获是我们今天要做的变化。
Enabling teams and individuals to break out of this "infinite loop" and achieve substantial net productivity gains is the change we're making today.
该函数接受三个参数,然后对这些值进行一些简单的测试,以确保函数不会开始一个无限循环。
The function accepts three arguments, and performs some simple tests on the values to ensure that the function will not start an infinite loop.
显然,它应该防止无限循环,而且它应该检测以前装载的对象并通过重用这些对象来节省时间。
Obviously, it should prevent never-ending loops, and it should detect previously loaded objects and save time by reusing them.
虽然通过分析堆转储能够标识内存泄漏数据结构,但是标识无限循环中的内存泄漏代码并不简单。
While it might be possible to identify the memory leaking data structure by analyzing the heap dumps, identifying the memory leaking code which is in a infinite loop is not straightforward.
清单4中显示的MessageServer run方法建立了一个无限循环以等待客户机连接。
The MessageServer run method, shown in Listing 4, establishes an infinite loop to wait for a client connection.
一旦在三个点的Python提示后按enter键,Python解释器就处于无限循环的混乱中。
Once you press Enter following the last three-dot Python prompt, the Python interpreter starts churning away in an infinite loop.
为了避免无限循环,IBM的jms类会检查消息的恢复计数以及输入队列的恢复阈值和恢复队列属性。
To prevent an infinite loop, IBM's JMS classes inspect the message's backout count, as well as the backout threshold and backout queue attributes of the input queue.
图8中的Suspects选项卡显示了从涉及无限循环的内存泄漏案例中获取的两个堆转储的分析结果。
Figure 8 shows the Suspects TAB from the analysis result of two heap dumps taken from a memory leak case involving an infinite loop.
您唯一不能做的是创建循环,即将源活动链接到目标活动,而目标活动又链接回源活动(类似于无限循环)。
The only thing that you cannot do is to create a cycle, meaning the source activity links to the target activity which links back to the source (similar to an endless loop).
应用推荐