有些程序在把它们自己当作输入运行时,可能永远不会停下来,既然这样——那么让我们用DOES-HALT编写一端伪代码,用它来测试当一个程序把它自己作为输入参数时会发生什么好了。
Some programs might never halt when run on themselves, though -- so let's use DOES-HALT to write pseudo-code for a program that checks to see what happens when a program is given itself as input.
一般而言,任何时刻前台进程都是为数不多的,只有作为最后的策略——当内存不足以维持它们同时运行时——才会被终止。
Generally, only a few foreground processes exist at any given time. They are killed only as a last resort-if memory is so low that they cannot all continue to run.
当处理器以较低的时钟速度运行时,它们消耗的电能和产生的热量也相对较少。
When processors operate at a lower clock speed, they consume proportionately less power and generate less heat.
当查询运行时,来自这些频繁使用的小型表的页将会丢失,这使得再次需要这些数据时就必须重新读取它们。
When this query runs, the pages from the small, very frequently used tables are lost, making it necessary to re-read them when they are needed again.
当从cron定期地运行时,这些代码就会收集显示中的任何变更,然后将它们应用到云服务器。
This code, when run from cron periodically, picks up any changes in the manifests and applies them to the cloud server.
当字符串是这样合并在一起时,由于运行时没有中间字符串,所以连接它们的时间和内存可以减少到零。
When strings are folded together like this, there are no intermediary strings at runtime and the time and memory that would be spent concatenating them is reduced to zero.
公共语言运行时自动处理对象布局并管理对象引用,当不再使用对象时释放它们。
The runtime automatically handles object layout and manages references to objects, releasing them when they are no longer being used.
当需要应用程序域时,公共语言运行时宿主会自动创建它们。
A common language runtime host creates application domains automatically when they are needed.
当需要应用程序域时,公共语言运行时宿主会自动创建它们。
A common language runtime host creates application domains automatically when they are needed.
应用推荐