这个简单的例子证明了Scala中模式匹配的强大功能。
This is a pretty simple example of the power of pattern matching in Scala.
光流是指图像中模式运动的速度。
在你的意识之光中,无意识的模式很快就会瓦解。
In the light of your consciousness, the unconscious pattern will then quickly dissolve.
注意这只是众多模式中的一种,不是“银弹“。
Note that this is only one pattern among many, not a silver bullet.
玛丽娅在她的整个一生中,在各个不同的人生阶段,都在仿效这样的教育模式。
Maria emulated this model of education at different times throughout her life.
在这种模式中,指令本身就包含了数据加载的源地址。
In this mode, the instruction itself contains the address from which to load the data.
有趣的是,它们也表现出一贯的雄性在巢中育儿的模式。
Interestingly, they also show a consistent pattern of nest care by the male.
从这些信息中,他能够确认一种模式的存在。
From this information, he was able to confirm the existence of a pattern.
注意,在下面的示例中,每个模式由逗号分隔。
Notice in the following example each pattern is separated by a comma.
这是迭代中的常用模式么?
在64位模式中,这就有点困难了。
然后可以在捕获模式中运行应用程序以收集新添加的SQL。
You then run the application in capture mode to collect the newly added SQL.
在正常模式中关闭数据库。
从睡眠模式中唤醒后,造成内存泄露。
模式:在脚本中编写所有部署流程。
在操作的一个通用模式中,客户端将名称查询广播到整个网络段。
In one common mode of operation, clients broadcast name queries to an entire network segment.
在寄存器寻址模式中,我们也不会访问主存的内容,而是访问寄存器。
In register mode, rather than accessing the contents of main memory, you access registers.
在任何规则分解中,一定要寻找模式。
In any rule decomposition exercise it's important to look for patterns.
在本系列的下一个部分中,您将对服务应用模式。
In the next part of this series, you will apply patterns to the service.
然后在 hosts.deny 中搜索匹配的模式。
在以上代码块中,出现了一种模式。
如果您希望在替换文本中包括字面匹配的模式,该怎么办呢?
What if you want to include the literal matched pattern in the replacement text?
以超级用户身份执行命令init0以将计算机转入关闭模式中。
Execute the command init 0 as root to send the machine into shutdown mode.
单轨交通是我国城市轨道交通体系中的一种崭新模式。
Monorail system is a new model in the urban rail transit system in China.
可以预见,远程教育将成为教育模式中的重要一环。
It can be foreseen that the long-distance education will become an important mode for education.
返回是否可将配置设置到运行模式中。
很多细节会在取样模式中丢失。
那么,模式在前面描述的方法中,又扮演了怎样的角色呢?
So how do patterns factor into the approach described above?
毫无疑问,在经济复苏的过程中,这种假设的模式确实适用于某些时候。
No doubt this hypothetical pattern did apply at times during the course of the recovery.
毫无疑问,在经济复苏的过程中,这种假设的模式确实适用于某些时候。
No doubt this hypothetical pattern did apply at times during the course of the recovery.
应用推荐