对于多个文件,您必须执行循环。
在完成执行循环或条件之后调用。
当条件为true 时,将执行循环中的步骤。
While the condition is true, the steps in the loop are performed.
条件表达式的测试发生在执行循环之前。
The test of a conditional expression occurs before the execution of the loop.
这样就完成了将分析和流程调整技术反馈到建模步骤的执行循环。
This completes the execution loop with analysis and process adaptation techniques feeding back to the modeling step.
我们将看一下编译器如何执行循环,同时做了哪些优化。
We will take a look on how the compiler implements for loops, and which optimizations it applies on them.
在应用程序驱动程序执行循环中,发现未处理的异常错误。
An unhandled exception was caught in the application driver execution loop.
在该循环中,一个新的PatientRecord在每次执行循环时返回。
In this loop, a new PatientRecord is returned each time the loop is executed.
一个策略执行循环中规则重估迭代的最大次数。默认值为65536。
The maximum number of rule reevaluation iterations within one policy execution cycle. The default is 65536.
如果您对编辑、构建和执行循环较为熟悉,则Python代码对您来说更简单。
If you are more familiar with the edit, build, execute cycle, this might seem simplistic.
否则测试结果就会一直为真,我们需要离开这个测试,否则就会一直执行循环。
Otherwise the test is always going to be true, we're going to go off here, but this would loop forever if I did that.
这些脚本可能执行循环,也可能打开一张长的文件列表,忘记在打开新文件之前先关闭当前文件。
These scripts might execute a loop, or perhaps open a long list of files, forgetting to close the current file before opening a new one.
这里使用的循环应该算是一个缺陷,但是影响不大,因为所有即时(JIT)编译器都会执行循环展开,这会降低循环的影响。
The loop I used here should be a minor defect, because any decent Just-in-time (JIT) compiler will perform loop unrolling, which lessens the impact.
图3中图形化地显示了其效果:传统的程序将连续地执行循环,而OpenMP实现则创建多个线程,从而并行地执行for块。
The effect is shown graphically in Figure 3: a traditional program would execute the loop sequentially, whereas the OpenMP implementation creates threads to parallelize the for block.
但是输入不是浮点数的话,我这里就会显示一个消息说,你搞砸了,该稍微有点礼貌吧?,然后我们继续执行循环,一直到得到正确类型的输入。
But if it is not, it's going to print out a message here saying, you screwed up, somewhat politely, and it's going to go back around. So it'll just cycle until I get something of the right type.
当然,该代码片段每次执行时,您仍然要付出分配、初始化和回收一次的代价(尽管如此,这仍然要比每次执行循环时付出相应的代价更好一些)。
Of course, you still pay for a single allocation, initialization, and collection each time this code snippet is executed (though that's still better than paying for it every time through the loop).
我们根据输入的类型执行两个循环中的一个。
We execute one of two loops, depending on the type of input.
但是无论什么类型的循环,执行的顺序都至关重要,这一点与函数式编程正好相反。
However, regardless of the loop's type, the order of execution matters, and this is antithetical to functional programming.
类中的主要方法就是打开原始的BAR文件并循环执行该文件内容的处理方法(图3)。
The main method in this class is the process method (Figure 3) that opens the original BAR file and loops through its content.
DB 2不执行任何自动的循环检查。
尤其是,对于清单4中的代码,JVM可以跟踪执行每个循环的次数。
In particular, with the code in Listing 4, the JVM can track how many times each loop is executed.
第[3]步和[4]步可以再循环中重复执行。
如果TESTING启用,当循环执行时,哈希条目将以排序顺序显示。
If TESTING is enabled, the hash entries are printed out in sorted order as the loop executes.
执行带有循环(特别是嵌套循环)的方法可能需要耗费很多时间。
Methods with loops, and particularly nested loops, can be time-consuming to execute.
您必须创建一个工具来循环执行id文件的附加。
You would have to create a tool to cycle through the attaching of the IDs.
这个循环执行了多少次呢?
以下是在执行嵌套循环联接的第一步时将发生的操作。
Here's what happens at execution time for the first leg of the nested loop join.
绝对不要对循环内执行的方法进行测量
Never add measurements for methods that are executed within a loop
此线程由原始线程创建,后者执行包含for循环的run方法。
This thread is created by the primordial thread, which executes the run method containing a for loop.
此线程由原始线程创建,后者执行包含for循环的run方法。
This thread is created by the primordial thread, which executes the run method containing a for loop.
应用推荐