There's something wrong with your nested loops.
你的嵌套循环错误的东西。
Many operations require you to work through nested loops.
很多时候,你可能需要进行嵌套操作。
Methods with loops, and particularly nested loops, can be time-consuming to execute.
执行带有循环(特别是嵌套循环)的方法可能需要耗费很多时间。
Don't write doubly nested loops just to show off your ability to break or continue an outer loop.
不要写双重嵌套循环只是为了炫耀你打破或者继续一个外循环的能力。
This method consists of two nested loops: the first loop iterate through all the registered types.
这个方法由两个嵌套的循环组成:第一个循环遍历所有注册的类型。
So I've seen a lot of cases where labels are being used in for loops to break out, especially with doubly nested loops.
所以我看过很多的情况下,标签被用于循环爆发,尤其是双嵌套循环。
Two new methods for partitioning and mapping nested loops with non-constant dependencies into distributed memory multiprocessors are presented.
给出了将具有变相关的嵌套循环映射到具有分布式存储的多处理机上的两种方法。
As an indicator of the advantage of applying hierarchical region structure, the technique that moves instruction across nested loops can obtain up to 12.9% runtime speedup.
作为应用层次化区域的优越性的一个反映,调度指令跨越嵌套循环最高可取得12 . 9%的运行时加速比。
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.
在编写代码时应尽量避免嵌套循环,目前大多数代码都是使用了哈希表、简单链表和单循环。
This example USES two for loops. The outer for loop takes care of each row in The Times table, and the nested for loop takes care of the columns within each row.
本例使用两个for循环,外面的for循环关注乘法表中的每一行,嵌套的for循环关注每行内的列。
Using such a statement can sometimes be a better route than nested for loops or if statements to cut down on repetitive code or just for better structure.
有时候,使用这种语句比嵌套的for循环或if语句更好,可以减少重复的代码而且结构更清楚。
This class provides better control of nested wait loops in the active scheduler.
在活动调度器中,这个类能更好地控制嵌套的等待循环。
This class provides better control of nested wait loops in the active scheduler.
在活动调度器中,这个类能更好地控制嵌套的等待循环。
应用推荐