请注意两个for循环。
Listing 1. for loops, old-school style.
清单1 .for循环,旧式学院风格。
A few PHP for loops that create the ICONS.
几个创建图标的PHPfor循环。
There are no rules against using extra for loops.
没有规则限制使用额外的for循环。
For loops are run for a set number of iterations.
For循环是针对一组迭代运行的。
What is Parallel for usage in different for loops?
什么是平行在不同的循环使用?
Do clauses or for loops to test a class 'methods appropriately.
do子句或for循环来正确地测试类的方法。
So in addition to for loops like this, know that there are while loops.
除了像这样的循环之外,你们知道还有while循环。
This example provides three different for loops that all iterate over the same string.
本例提供了三个不同的for循环,它们都迭代同一string。
These two parameters are then supplied to the two for loops that generate The Times table.
这两个参数随后会被提供给生成乘法表的两个for循环。
We will take a look on how the compiler implements for loops, and which optimizations it applies on them.
我们将看一下编译器如何执行循环,同时做了哪些优化。
The constructs in the design environment include if-then-else, switch, while loops, do while loops, and for loops.
设计环境中的语法结构包括if - then -else,switch,while循环,do while循环以及for循环。
The illustration in Figure 7.14 shows two For Loops creating a 2d array of random Numbers using auto-indexing.
图7.14中表示的是利用自动索引创建有随机数组成的二维数组。
The two FOR loops generate a Cartesian product from which the product name and the individual feature are returned.
两个FOR循环将生成笛卡儿积,将从该积返回产品名称和单个功能。
The next two for loops iterate through the string and count how many vowels (' a ', 'e', 'I', 'o', or 'u') it contains.
下两个for循环迭代该字符串并计算其包含多少个元音字母(“a”、“e”、“i”、“o”或“u”)。
So I've seen a lot of cases where labels are being used in for loops to break out, especially with doubly nested loops.
所以我看过很多的情况下,标签被用于循环爆发,尤其是双嵌套循环。
In Erlang there is no need for loops because tail recursive functions are transparently optimized to run in constant space.
而在Erlang中不需要使用循环,因为尾递归函数会被自动优化在固定的空间中运行。
Ceylon also creates what is called a fail block that is used with for loops to identify when they do not break prematurely.
Ceylon还创建了fail块,在for循环中使用它处理循环提前中断的情况。
Limited programmability: you don't get if statements and for loops, you get whatever this particular BPEL designer supports.
有限的可编程性:你无法拥有if声明和for循环,你只能得到这一特定的BPEL设计器所支持的东西。
Another example of where variables are often not used when they should be is in the case of for loops that iterate through an array.
另一个应该用变量而没有用的地方是遍历数组的for 循环。
That's why there are no while loops or for loops in Haskell and instead we many times have to use recursion to declare what something is.
这便是haskell没有while或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 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循环关注每行内的列。
Images used in this example are 6,000 x 3,000 pixels, so reading from the getwidth and getheight subroutines is done before the for loops for a significant speed increase.
本例中使用的图像是 6,000x 3,000像素,因此读取getwidth和getheight 子例程是在for 循环之前完成的,这样可以显著提高速度。
Because most for loops deal with complicated logic that does not allow the number of iterations to be statically determined, you will not often employ this form of bracket notation.
因为大多数for循环处理的复杂逻辑不允许静态地确定迭代次数,因此您不会经常使用这种格式的括号表示。
Now, users could write shell scripts; store and export information in variables; control file descriptors; control signal handling, for loops, and case statements; and so much more.
到这时,用户可以编写shell脚本,在变量中存储信息和导出信息,控制文件描述符,控制信号处理,使用for循环和case语句,以及其他大量功能。
Many similar tasks must be scripted separately because ant lacks support for loops, inheritance, and conditional processing; therefore, build code is duplicated and is sometimes redundant.
很多类似任务必须单独编写脚本,因为Ant缺乏对循环、继承和条件处理的支持;因而构建代码将出现重复,以致产生冗余代码。
The release also includes a number of performance optimizations for loops, floating point operations, and memory allocation which have improved SciMark2 and SPEC JVM98 benchmarks by a factor of 1.7.
这个发布还包含许多针对循环、浮点运算和内存分配的性能优化,这使得SciMark2和SPEC JVM 98的Benchmark提高了1.7倍。
We blasted through face-stretching turns and loops for ninety seconds.
我们进行了90秒的面部拉伸转弯和循环。
We blasted through face-stretching turns and loops for ninety seconds.
我们进行了90秒的面部拉伸转弯和循环。
应用推荐