Listing 9 shows the beginning of the main program loop.
清单9展示了主程序循环的开始部分。
Listing 2 shows the beginning of the main program loop.
清单2显示了主程序循环的开头。
Listing 3 starts the main program loop and reads the synclient output.
清单3将启动主程序循环并读取synclient输出。
The example program USES a simple loop.
示例程序使用一个简单的循环。
You can now call this method and interrupt execution at any point of the loop, capturing the state of the program.
现在,可以调用这个方法并在循环的任意位置中断执行,这会捕获程序的状态。
The effect is shown graphically in Figure 3: a traditional program would execute the loop sequentially, whereas the OpenMP implementation creates threads to parallelize the for block.
图3中图形化地显示了其效果:传统的程序将连续地执行循环,而OpenMP实现则创建多个线程,从而并行地执行for块。
In each case, I ran a simple program that measured the run time of a loop calling a method 10,000,000 times, calling both a synchronized and an unsynchronized version, and compared the results.
在每一个实例下,我运行一个简单的程序,测定循环调用一个方法10,000,000次所需的运行时间,我调用了同步和非同步两个版本,并比较了结果。
On one test system, it resulted in a 22% speed increase on a test program with a tight inner loop .
在一个测试系统上,对一个有紧内部循环的程序,它的执行结果有22%的速度提升。
The access formula is suitable for loop program construction realization, the reasonable memory allocation method and delicate access subroutines are discussed specifically.
具体介绍了适合于循环程序结构实现的访问公式、合理的存贮分配方式及精练的访问子程序。
In my experience, it will usually be a particular inner or nested loop, or a call to some third party library methods, which is the main culprit for running the program slow.
以我的经验来看,导致程序运行速度慢得罪魁祸首可能就是某个内部或嵌套循环,也可能是对第三方库函数的调用。
In this loop, the program continually waits for new messages to be sent from the X server.
在该循环中,程序一直等待从x服务器发出的新消息。
To switch between modes, an additional check is required in each pass of the main program loop.
要在模式间进行切换,需要对主程序循环的每次循环执行额外的检查。
Finally, a feedback loop was incorporated into the training program.
最后,一个反馈环节被加入培训项目。
In the main program loop, there is no need for the code that ignores the header lines and the first two lines of input.
在主程序循环中,代码无需忽略标题行和输入的前两行。
Tracing the logic flow through the program, you see that the first time through the loop, the value of the variable I becomes 5.
通过跟踪程序的逻辑流可以看到,第一次通过循环后,变量i的值变为5。
The while loop, as was the case with the if statement, supports an optional else clause containing a block of program statements executed when the expression is False.
while循环与if语句一样,支持一个可选的else子句,其中包含一个当表达式计算为False时执行的程序语句块。
The configuration program of incoming loop, bus coupler circuit, feeder circuit, motor circuit, reactive power compensation and the control power in switchgear was described.
阐述了开关柜中受电回路、母联回路、馈电回路、电动机回路、无功补偿和控制电源的配置方案。
With the base variable declarations and subroutine complete, the program moves on to the main program loop, shown below.
完成了基本变量声明和子例程后,程序将继续进行主程序循环,如下所示。
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.
有些内存泄漏是由于程序错误发生的,在存在此类错误的情况下,应用程序代码中的无限循环会分配新的对象,并将其添加到可从程序循环范围外面访问的数据结构中。
The loop invariant embodies essential characteristics of loop program and has an important role to play in design, proof and derivation of algorithmic program.
循环不变式体现了循环程序的本质特征,在算法程序的开发、证明和推导中具有十分重要的作用。
In analysing the parallelism of loop program the analysis of data dependency, which mainly concerns the analysis of a set of elements in loop program is the most important and fundamental.
为分析循环程序的并行性,最重要且最基本的工作是数据相关性分析,而数据相关性分析最主要的内容之一是循环程序中数组元素间的数据相关性分析。
This article has introduced three Python program statements: the if statement, the while loop, and the for loop.
本文介绍了三种Python程序语句:if语句、while循环和for循环。
After declaring variables (most of which are used later in the focus timeout checks), the program enters a loop listening for Synergy events on STDIN.
在声明变量(大多数将在稍后进行焦点超时检查时使用)后,程序将进入一个循环,对stdin侦听Synergy事件。
Information distribution system, terminal apparatus used in such system, recording medium on which program is recorded, and loop connection avoidance method.
信息分发系统,该信息分发系统中应用的终端设备,记录程序的记录介质以及环路连接避免方法。
You could program the main loop more elegantly by using fputcsv(), which handles formatting problems (see Listing 3).
您可以使用fputcsv()更便捷地对主循环编程,fputcsv() 能够帮助处理格式化问题(参见清单3)。
The digital techniques are widely used in the receiver design and the main loop program is executed in DSP TMS320C25.
在接收机的设计中,较多地采用了数字化技术,使用数字信号处理芯片TMS320C 25完成主要的环路运算工作。
The test program calls each method repeatedly with a large loop count, averaging the time measurements over several calls.
测试程序重复调用每种方法,使用一个大循环数,从而平均多次调用的时间衡量结果。
Listing 4 shows the beginning of the three-finger detection in the main program loop.
清单4显示了主程序循环中的三指检测的开始部分。
Listing 4 shows the beginning of the three-finger detection in the main program loop.
清单4显示了主程序循环中的三指检测的开始部分。
应用推荐