What's the first thing I do in a loop?
我在循环中做的第一件事情是什么呢?
So what do air combat and the OODA loop have to do with UI design?
那么空战与OODA循环又和UI设计有什么关系呢?
What we have to do is loop until we have less than ten results or until there is an error. The loop looks like this!
我们需要使用一个循环进行遍历,直到所返回的结果少于10个或出现错误为止。
So now all you need to do is change the loop so that it will utilize this.
现在您所需要做的就是更改循环以利用这种方法。
Do not include synchronized methods into a loop structure.
不要将同步方法放到循环结构中。
According to the formulae derived in this paper, the time sequence dependent relational graph exactly corresponding to the body of a DO-loop can be constructed under some given conditions.
对于满足给定条件的DO循环,根据文中导出的计算公式,可以精确地构造出与循环体相对应的时序依赖关系图。
What we do is, in a loop, march down the argument list checking each one to see if it is an option.
我们所做的是,用一个循环遍历参数列表检查每个参数来看它是否为选项。
The loop could, of course, do anything else desired with each production encountered.
当然,该循环可以对遇到的每个产品做我们所期望的任何其它事情。
To wait all we do is put the thread into a busy loop (a spin).
为了让线程等待,我们只需将线程执行一个忙循环(自旋)。
Next, set up your test to loop through all of the data. The easiest way to do this is by adding a loop.
下一步,设置您的测试循环测试所有数据。
Since we do network transmission on every core and since we poll for network IO from the scheduler’s idle loop, we distribute network processing evenly across all cores.
由于我们在每个核心上进行网络传输,同时由于在调度器的空闲循环中对网络IO进行轮询,我们将网络处理均匀地分散到每个核心上。
The only thing that you cannot do is to create a cycle, meaning the source activity links to the target activity which links back to the source (similar to an endless loop).
您唯一不能做的是创建循环,即将源活动链接到目标活动,而目标活动又链接回源活动(类似于无限循环)。
You could simply wrap the whole thing in a loop, and keep moving data a piece at a time until the whole string has been processed. Here's the revised code to do this.
可以简单地将所有的事情全部封装到一个循环中,并一次移动数据的一部分,直到整个字符串全部处理完成为止。
The loading curves of coal-rock combination body are usually not coincidence with the unloading curves. In addition, they usually do not form a closed loop.
同一循环中的加载与卸载曲线基本不重合,且多数情况不形成闭合环路;
Notice how this method accounts for possible weak references in the queue with the do-while loop.
请注意该方法如何用do -while循环来处理队列中可能存在的弱引用。
The two users will simultaneously do the two actions in a loop.
两个用户同时循环进行两个活动。
How do I know when I'm done with the loop?
我怎么知道循环完毕了呢?
You can easily use a for loop within bash to do the job quickly.
在bash中,可以使用for循环轻松地实现这个目标。
You can do this with a very simple for loop, as demonstrated in Listing 7 below.
您可以使用一个非常简单的for循环来完成这项任务,如下面的清单7所示。
The for loop essentially says "for each item element, do the following."
for循环实际是说“对每个item元素,做以下事情。”
The simplest (though insecure) way to do this would be to loop through the systems, 'rcp'ing the script, and then use rsh to execute it (see Listing 8).
最简单(尽管不是很安全)的方法是,根据这些系统进行循环,对该脚本执行rcp 操作,然后使用rsh来执行它(请参见 清单 8)。
The above example shows that sequential scan and indexes are used to do the data retrieval, and the nested-loop join method is used to join all tables.
以上示例展示了如何使用连续扫描和索引来进行数据检索,以及如何使用嵌套循环连接方法来连接所有表。
Launch into Optim Query Tuner (if installed) directly from SQL-related dashboards to do immediate tuning of problematic SQL, closing the loop on performance problem resolution.
直接从SQL相关的面板启动OptimQueryTuner(如果已安装)来快速调整有问题的SQL,结束性能问题解决循环。
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.
当然,也可以反向而不是正向运行循环,或者使用1之外的循环计数器增量,甚至像while语句那样完全取消循环计数器。
Tools and applications sometimes hang (do not respond to any mouse or keyboard input) because of an infinite loop, deadlock, or other problem.
由于死循环、死锁或其他的问题,工具和应用程序有时会挂起(不会响应任何鼠标和键盘输入)。
Query 9 doesn't produce a row for that employee because the for loop iterates over the distinct office values which do not include missing office information.
查询9没有为该员工生成一行,因为for循环遍历的是不同的office值,这些值不包括丢失的办公室信息。
When interest rates are low, consumers and businesses do not just borrow money; they borrow money to buy assets, setting up a feedback loop that can eventually lead to a bubble.
当利息较低时,消费者与商人并非仅仅借贷资金,他们将借来的钱购买资产,形成反馈循环,最终导致泡沫。
You do this so as to not bombard the cloud manager with requests, and also to not have the flow run a continuous loop unnecessarily.
这样做的目的有两个:一是避免过多的请求“轰炸”云管理器;二是避免流不必要地持续运行循环。
Note that the extension is easy to understand and modify, and that it can do the job just as well as the previous, non-parsing example (see the Event loop with command-line switches).
请注意,很容易理解和修改这个扩展,而且该扩展可以与前面的非解析示例一样出色地完成工作(请参阅带命令行开关的事件循环)。
Note that the extension is easy to understand and modify, and that it can do the job just as well as the previous, non-parsing example (see the Event loop with command-line switches).
请注意,很容易理解和修改这个扩展,而且该扩展可以与前面的非解析示例一样出色地完成工作(请参阅带命令行开关的事件循环)。
应用推荐