• For tasks that execute code in a loop, it is common to check for interruption only once per loop iteration.

    对于执行循环中的代码任务通常只需为每一个循环迭代检查中断

    youdao

  • The loop in this sequence diagram USES a Boolean test to verify if the loop sequence should be run.

    如果循环序列应该运行这个序列循环使用一个布尔测试确认

    youdao

  • The advantages of adding a loop are that the loop is visible, and that you can control the rate of iterations through the loop if needed.

    添加一个循环好处在于循环可见并且如果需要的话可以通过循环控制迭代速率

    youdao

  • 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.

    还要记住是,循环中,每次反复都是在浪费时间因此不要多次使用相同的循环,而是要尽量一个循环中执行所有操作

    youdao

  • 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.

    这里使用循环应该算是一个缺陷但是影响不大,因为所有即时JIT编译器都会执行循环展开,这会降低循环的影响。

    youdao

  • Some memory leaks occur due to program errors in which infinite loop in the application code allocates new objects and adds them to a data structure accessible from outside the program loop scope.

    有些内存泄漏由于程序错误发生的,存在此类错误的情况下,应用程序代码中的无限循环分配新的对象添加程序循环范围外面访问的数据结构中。

    youdao

  • And what's this little loop say to do? This little loop says I'm going to write a function or procedures that takes in two messages.

    这个小循环什么的,这个循环是,一个函数或者过程接受条消息。

    youdao

  • Your code should (almost) never have multiple nested loops (a loop inside a loop inside a loop). Most of the code written today should use Hashtables, simple lists and singly nested loops.

    在编写代码尽量避免嵌套循环目前大多数代码都是使用了哈简单链表单循环

    youdao

  • A while loop is a loop that repeats the included activities while some condition is satisfied.

    一个while循环满足一些条件的情况下,将重复所包含活动

    youdao

  • You can place a print statement within the loop to verify that data indeed exists at each element in the foreach loop.

    可以循环中放一个print语句检验foreach循环每个元素中是否确实存在数据

    youdao

  • A while loop will rarely include the number of iterationsunless it is a for loop in disguise.

    while循环很少包含迭代次数——除非一个伪装的for循环。

    youdao

  • That's why the main test method in Listing 1 USES a while loop instead of a new for loop.

    就是为什么清单1中的main测试方法使用while循环而不是一个新的for循环。

    youdao

  • But if someone doesn't understand what a loop or a numeric operation does, the place to explain it isn't next to each loop, but in an "about loops" or "about operations" section of the book.

    但是如果某人知道循环或者一个数值运算是做什么的注释的位置并不这个循环或者运算旁边而是在本书的“about loopsaboutoperations章节

    youdao

  • Most of the time, we just slap Iterator inside a for() loop or enhanced for() loop and move on, so to speak.

    可以这么大部分时间我们只是Iterator 随意放到for()循环加强 for() 循环中,然后继续其他操作了。

    youdao

  • To summarize: use the enhanced for loop by default, but consider a hand-written counted loop for performance-critical ArrayList iteration.

    结论:优先采用改进for循环在性能要求苛刻的ArrayList迭代中考虑采用手写计数循环。

    youdao

  • For a while loop, however, this means the code in the else clause is executed once, after the loop is terminated (see the pseudocode shown in Listing 7).

    但是对于while循环意味着循环终止else子句中的代码执行一次(参见清单7中的伪代码)。

    youdao

  • If you clicked + to expand a while loop, the editor showed just the contents of the while loop.

    如果单击+展开while循环编辑器显示while循环内容

    youdao

  • The main function creates a Glib event loop, gets a connection to the session bus, and integrates the D-BUS event handling into the Glib event loop.

    main函数创建Glib事件循环获得会话总线一个连接D -BUS事件处理集成Glib事件循环之中。

    youdao

  • It contains a nested loop that calls exp , cos , and sin , followed by a loop that calls sin and SQRT .

    包含了嵌套循环循环会调用expcos以及sin接下来是一个调用sinsqrt的循环。

    youdao

  • Next, set up your test to loop through all of the data. The easiest way to do this is by adding a loop.

    下一步设置测试循环测试所有数据

    youdao

  • Some models are decomposed into multiple levels, such as a While loop within a local subprocess, within a While loop.

    有些模型分解多个级别例如While循环中的局部子流程中的While循环。

    youdao

  • At the end of the day, you can implement the exact same program using a while loop that you can using a for loop, it's just your code is going to look slightly different.

    最终可以执行这个程序,再使用for循环地方使用while循环,只是使代码看起来稍微有点不同

    youdao

  • Figure 6 shows a while loop (manufacturing loop) that iterates over each order, selecting the correct manufacturing plant and submitting each order to the selected manufacturing plant.

    6显示了一个while循环(ManufacturingLoop),迭代每个订单选择正确生产厂家并且将每个订单提交选的生产厂商。

    youdao

  • The continue and break statements are used inside a while loop to continue with the next pass through the loop or break out of the loop, respectively.

    continuebreak语句分别用于在 while循环继续下一次循环中断循环。

    youdao

  • So first time through the loop, the answer is a. Second time it-sorry, as it enters the loop, at the time it enter exits a the answer is a.

    第一完成循环的时候,答案a第二次,对不起第一次进入循环时候,答案就是

    youdao

  • The basic syntax of a for loop is shown in Listing 1, which also demonstrates how to use continue and break statements within a for loop.

    清单1显示for循环基本语法演示了如何for循环中使用continuebreak语句

    youdao

  • The for-each loop can iterate over the elements of an array or of a collection. Listing 1 shows the syntax of iterating over a collection with the for-each loop.

    for - each循环能够迭代数组集合中的元素

    youdao

  • In cases where a break combination is part of an alternative or a loop, then only the alternative or loop is exited.

    这种情况下,跳转组合变体或者循环一部分然后只是变体循环被退出。

    youdao

  • The goal of the polymorphous initiative was to "institute a paradigm shift from static open loop to reactive closed-loop mission algorithms, application software, and hardware implementation."

    形态计划目标创建一种静态转移反应式闭环任务算法应用软件硬件范例

    youdao

  • The goal of the polymorphous initiative was to "institute a paradigm shift from static open loop to reactive closed-loop mission algorithms, application software, and hardware implementation."

    形态计划目标创建一种静态转移反应式闭环任务算法应用软件硬件范例

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定