循环计数器应该是可变的吗?
内置计时器及机械循环计数器。
用于递增或递减循环计数器的一条或多条表达式语句。
Expression statement or statements to increment or decrement the loop counters.
每循环一次,外部循环都使循环计数器变量递减一次。
The outer loop decrements a loop counter variable each time through the loop.
更重要的是, -O3也避免了在内存中保留循环计数器,即使使用原始源。
More importantly, -O3 also avoids keeping the loop counter in memory, even with the original source.
当然,也可以反向而不是正向运行循环,或者使用1之外的循环计数器增量,甚至像while语句那样完全取消循环计数器。
Of course, you can run loops backward instead of forward, or increment the loop counter by something other than 1, or even eliminate the loop counter completely as you do in a while statement.
变量一般最好根据用途命名(如 firstName或rtitle),不过由于这个变量基本上是一个循环计数器,也可使用单个字母。
Normally, variables are best named by their use (like firstName or title), but as this variable is essentially a loop counter, using single letters is also fine.
探讨利用中规模计数器芯片设计按非自然顺序循环的任意进制计数器方法,该方法在特殊循环计数器设计的应用中,有着广泛的应用。
The method of design of arbitrary cany counter of unnatural sequence circulation by use of medium - scale counter core is discussed. It finds wide application in the special circulation counter.
然后再将寄存器127用作循环计数器,将寄存器126用作基指针,并在每个值上执行convert _ to_upper,直到到达缓冲区的底部为止。
You then use register 127 as your loop counter and register 126 as your base pointer, and perform convert_to_upper on each value until you get to the end of the buffer.
默认情况下,这个计数器从1开始,每执行一次循环递增一次。
By default, this counter starts at 1 and is incremented each time the loop is taken.
目前为止的示例(计数器和堆栈)都是非常简单的非阻塞算法,一旦掌握了在循环中使用CAS,就可以容易地模仿它们。
The examples so far -- counter and stack -- are very simple nonblocking algorithms and are easy to follow once you grasp the pattern of using CAS in a loop.
对于这种情况,通常需要3次循环才能执行一次更新(首次更新尝试失败;获取当前的计数器值;最后成功更新)。
In that case, it will usually cost three round-trips to do an update (the initial failed update attempt, the fetch of the current counter value, and the final successful update).
iteration_count是控制中断模拟循环次数的计数器。
Iteration_count is the count to control the number of iteration of interrupt simulation.
汇编语言依序执行算术指令,而跳转指令可以通过改变程序计数器的值来执行条件语句和循环语句。
Assembly language instruction sequence perform arithmetic, and jump instruction by changing the program counter value to execute the conditional statement and circular statement.
此外,还提出了使用附加触发器时循环码计数器的快速综合法。
Furthermore, a fast synthesis for the cyclic-code counter using additional flip-flop is also proposed.
每隔1000循环采样这些计数器就足够了。
可同时测试12块试样,配有可预设置电子计数器,记录循环次数。
You can simultaneously test 12 block samples, equipped with electronic counter can be set to record the number of times to loop.
该示例将会循环15次。计数器将会从15到1(从后到前)。
This example will loop 15 times. The counter will start at 15 and end at 1. (loops backwards)
看一下程序计数器偶尔登记并试图发现代码只是燃烧一个CPU的循环。
Look at the program counter register once in a while and try to detect that code simply burns a CPU in a tight loop.
看一下程序计数器偶尔登记并试图发现代码只是燃烧一个CPU的循环。
Look at the program counter register once in a while and try to detect that code simply burns a CPU in a tight loop.
应用推荐