• Listing 3 starts the main program loop and reads the synclient output.

    清单3将启动程序循环读取synclient输出

    youdao

  • Listing 4 shows the beginning of the three-finger detection in the main program loop.

    清单4显示了程序循环中的三指检测开始部分

    youdao

  • To switch between modes, an additional check is required in each pass of the main program loop.

    模式进行切换需要程序循环每次循环执行额外的检查

    youdao

  • Create a hash keyed on E-mail address for each state name, to be checked in the main program loop.

    创建每个电子邮件地址绑定列,程序循环中检查该散列。

    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

  • With the base variable declarations and subroutine complete, the program moves on to the main program loop, shown below.

    完成基本变量声明子例程后程序继续进行程序循环如下所示。

    youdao

  • Now we have started our main program loop, the part of our program which will repeat over and over checking for updates to the game.

    现在开始我们程序循环一部分反复更新信息检查按钮状态等

    youdao

  • An application's message loop is an internal program loop that retrieves messages from a thread's message queue, translates them, and then sends them to the application to be handled.

    应用程序消息循环内部程序循环,它线程的消息队列检索消息然后转换这些消息,之后将它们发送给要处理应用程序。

    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

  • 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所需运行时间,我调用了同步同步版本比较了结果。

    youdao

  • You can now call this method and interrupt execution at any point of the loop, capturing the state of the program.

    现在可以调用这个方法循环任意位置中断执行这会捕获程序状态

    youdao

  • While it could have been written as a loop, the one-line solution is much cleaner that way, and does not slow the program down significantly.

    虽然我们本来可以把它写成循环,但是长度只有行的解决方案要清楚得并且不会显著降低程序运行速度

    youdao

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

    经验来看,导致程序运行速度慢得罪魁祸首可能就是某个内部嵌套循环可能第三函数调用

    youdao

  • This means the program statements executed in the loop body must change the value of the expressionor else the loop will never end.

    意味着循环执行程序语句必须要改变表达式否则循环无法结束

    youdao

  • This code is pretty straight forward: if the program would halt on itself, then SELF-HALT goes into an infinite loop. Otherwise, it halts.

    段代码非常清晰:如果程序自运行时停机,SELF-HALT进入循环否则SELF-HALT停机。

    youdao

  • In this loop, the program continually waits for new messages to be sent from the X server.

    循环中程序一直等待x服务器发出消息

    youdao

  • No DOES-HALT program exists. If it did, we would be able to generate contradictions such as the above -- a program that halts when it should loop forever, and that loops forever when it halts.

    DOES-HALT永远不会存在假如存在的话产生上述悖论——一个程序无限循环才会停机,并且当它停机时才会无限循环

    youdao

  • 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块。

    youdao

  • A simple example is a loop that computes a particular function for multiple arguments, such as the following Fortran program.

    一个简单例子就是多个论断计算特定函数循环例如接下来Fortran程序

    youdao

  • Just remember to wait for the completion at the end (notice the spu_mfcstat outside the loop), or else your last bit of data may not finish transferring before it is used in the program!

    只需要记住,必须等待最终完成(注意spu_mfcstat循环之外),否则程序使用数据之前最后数据可能还没有完成数据传输

    youdao

  • 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时执行程序语句

    youdao

  • Since the ServiceStatus structure is global to the whole program, the worker loop in ServiceMain stops after the current state changes and the service thread terminates.

    由于ServiceStatus结构对于整个程序而言为全局量,ServiceStatus 中的工作循环当前状态改变服务终止停止。

    youdao

  • 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

    youdao

  • For the test program, we'll simply have a key listener loop up or down based on whether the left or right shift key is pressed, as shown in Listing 5.

    对于测试程序我们简单地侦听器根据还是shift键按向上向下的方向循环如清单5所

    youdao

  • At the end of the day, you can implement the exact same program using a while loop that you can using a for loop, it's just your code is going to look slightly different.

    最终可以执行这个程序,再使用for循环地方使用while循环,只是使代码看起来稍微有点不同

    youdao

  • This article has introduced three Python program statements: the if statement, the while loop, and the for loop.

    本文介绍三种Python程序语句if语句、while循环for循环。

    youdao

  • If the program works for both instances of the loop, you can assume it will work for all of them.

    如果程序能为这循环工作的话,假设能为所有循环工作。

    youdao

  • The test program calls each method repeatedly with a large loop count, averaging the time measurements over several calls.

    测试程序重复调用每种方法使用一个大循环从而平均多次调用时间衡量结果

    youdao

  • The program will loop continuously until a valid password in character matching and total time of entry is entered.

    程序不断循环直至输入匹配字符有效密码输入时间

    youdao

  • So when the program starts to loop through the files, perhaps to determine the directories overall size, it has to requery the file system one by one.

    所以,程序开始这些文件的时候,假设为了确定目录大小必须逐一重新查询文件系统。

    youdao

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

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

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