• The new loop code has two fewer operations per iteration, which can lead to increasing performance gains as the number of iterations increases.

    循环代码每次迭代减少两个操作随着迭代次数增长性能将显著提升

    youdao

  • Because the hint is before the loop body, this code leaves your hint active for every iteration of the loop, but it only has to use one cycle.

    由于提示位于循环之前因此这段代码将使提示对于循环每次迭代都保持活动状态不过使用一个周期。

    youdao

  • For example, the code in Listing 3 prints a note after each number in the loop.

    举例来说,清单3中的代码循环编号输出一个说明

    youdao

  • Then, break the execution and find the assembly code representing the infinite loop.

    然后中断执行找到表示无限循环汇编代码

    youdao

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

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

    youdao

  • It is entirely possible to stop, refactor, be a little behind on features, slam in a few features, not catch up but screw up the code, and loop forever, never getting benefit.

    停下来重构稍微落后特性专注少量特性、进度而是优化代码,如此循环往复,却从来不受益;这样的状况完全有可能

    youdao

  • For loop conformance, consider the code snippet in Listing 3.

    对于循环一致性可以考虑清单3中的代码片段

    youdao

  • The key is that the loop and network sockets need a lot of management code to ensure that you are listening, updating, and controlling the different connections and interfaces.

    关键在于循环网络套接字需要大量管理代码,这样才能监听、更新控制不同连接和接口。

    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

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

    虽然通过分析转储能够标识内存泄漏数据结构,但是标识无限循环中的内存泄漏代码并不简单

    youdao

  • In this example, the code block is iterated until the loop is broken through the condition.

    示例中,代码迭代直至循环根据条件而中断

    youdao

  • In contrast, the code in Listing 4 puts a note at the end of the loop.

    相反清单4中的代码循环结束处输出一条说明

    youdao

  • In particular, with the code in Listing 4, the JVM can track how many times each loop is executed.

    尤其是对于清单4中的代码JVM可以跟踪执行每个循环次数

    youdao

  • 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中的注释告诉读者代码什么正在通过循环进行迭代添加一个数字

    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

  • The code snippet in Listing 2 shows a loop to process every project in a DOAP file (normally, there's only one) and output data inside a element in an XML document.

    清单2中的代码片断展示了循环,该循环用于处理DOAP文件中的每个项目(通常只有个项目),输出XML文档元素括起来数据

    youdao

  • Well I ought to be able to do that by simply generalizing the loop. And that's what the next piece of code on your a hand out shows you.

    好的通过生成这个循环,应该能够达到目的,也是你们讲义中下代码

    youdao

  • Improving the performance of this loop is very simple and doesn't even require an additional line of code (see Listing 9).

    提高循环性能方法简单甚至多加一行代码(清单9)。

    youdao

  • The code for the loop is displayed in Listing 12.

    清单12展示循环代码

    youdao

  • All right, you can see that this little piece of code, it's got a loop in there, and what's it doing?

    你们看到一小代码,是一个循环吧?,他什么

    youdao

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

    例如必须专门测试代码中捕捉占用大量资源无限循环代码。

    youdao

  • In the main program loop, there is no need for the code that ignores the header lines and the first two lines of input.

    程序循环中代码无需忽略标题输入行。

    youdao

  • Let's say you're going to time 200,000 iterations through a loop, and the compiled code is 10 times faster than the interpreted code.

    假设正在通过循环计时200,000次迭代编译代码解释代码10

    youdao

  • Loop repeats the cycle with a newly generated random code until a scan of the rows does not produce a match.

    Loop使用一个生成随机重复这个循环直到行扫描不再生成匹配值

    youdao

  • The compiler translates this code into the equivalent iterator-based loop, as shown in Listing 2.

    编译这个代码转换等价基于迭代器循环如清单2

    youdao

  • Add protocol-specific elements, transactions, a loop, a comment, conditional processing, and custom code.

    添加特定协议元素事务循环注释条件处理定制代码

    youdao

  • When the loop is finished, the code will have a fully populated Channel object and a list of fully populated Item objects.

    循环结束时代码拥有完全填充Channel对象一个完全填充的Item对象列表

    youdao

  • This makes the SELECT clause a code loop.

    使select子句成为代码循环。

    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

  • 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

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

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

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