系统引导的时候,网络初始化代码会轮巡 (loops through) 所有的 device 结构,并且传递一个指向设备本身的指针,来调用探测函数 (dev->init)。
基于1个网页-相关网页
It loops through the view and provides access to its contents.
它循环遍历视图,并提供对其内容的访问能力。
The page loops through each of those items, creating an Atom feed.
页面遍历数组中的每一项以创建一个Atom feed。
Finally it loops through the clients and prints the data to the Console.
最后,它要循环遍历客户机,将数据输出到Console。
OK, so what have I done? I just added a little bit more now. I'm now running through a pair of loops. Again notice the encapsulation, that nice abstraction going on, which is what I want. Once I get to this stage though by the way, there might be more than one solution.
我现在运行了一对循环,再一次注意这个封装,抽象得很好,这就是我想要的结果,我按这种方式走到这一步的时候,可能会有多组答案。
OK. Let's think it through. I've got two loops.
据它内部的内容来判断。
It's running through a similar set of loops.
它执行的是相似的一套循环。
应用推荐