By arranging for objects of different types to implement common methods, we move the dispatch decision into the objects and out of an explicit conditional block.
通过安排不同类型的对象来执行公共方法,我们将分派决定移到对象中并从显式条件块中消除。
Because I am not wrapping the (Out of Stock!) message in an HTML tag element, Razor can’t implicitly determine that the content within the @if block is the start of a content block.
由于我没有将消息“已售完!” 嵌套在HTML标签元素内,Razor不能隐式判断@if块中的内容是否是一个内容块的开始。
If something goes wrong, the catch block rolls back all changes made since the transaction was started, and then prints out an error message.
如果发生了错误,catch块可以回滚事务开始以来发生的所有更改,并打印出一条错误消息。
Paging a memory block out and back in from disk is significantly slower than accessing it directly from RAM, so you should generally avoid this practice.
与直接访问RAM中的内存块相比,把内存块交换到磁盘并交换回来要慢得多,所以一般情况下应该避免这种做法。
The raidtab syntax is fairly easy to figure out — each block of directives begins with a "raiddev" entry specifying the raid volume that will be created.
raidtab语法相当容易理解——每一指令块都以一个“raiddev ”条目开始,指明要创建的raid卷。
Republicans have only 40 out of 100 seats in the Senate, so they cannot block her.
共和党在参议院的100个席位中只有40个,所以他们不能阻止她。
On Georgia Avenue, I got out of the car and walked for a block, shaking hands and talking to merchants and other citizens about their problems and what I could do to help.
在佐治亚大道上,我下车步行了一个街区,与商贩和其他一些市民握手交谈,谈论他们遭遇的问题以及我能给予他们的帮助。
Oracle CEO Larry Ellison, a good friend of Hurd's, blasted HP's board — first for pushing Hurd out, and later for trying to block Oracle from hiring him.
甲骨文公司总裁LarryEllison是赫德的好朋友,指责惠普董事会先是炒掉赫德,接着阻止甲骨文公司聘用他。
In looking at the code example in Listing 1, one immediate difference between lock and synchronization jumps out — the lock must be released in a finally block.
在查看清单1中的代码示例时,可以看到lock和synchronized有一点明显的区别——lock必须在finally块中释放。
If we can figure out how to stop them from 'counting themselves' via quorum sensing, we could block such group behavior, and that is what we are after.
如果我们能弄明白它们是如何通过群体感应来集合的,我们就能阻止这种群体行为。而这正是我们所追求的目标。
To borrow an image from Jim Butcher (one of my favourite authors), it’s like lifting an engine block out of a car.
借用我最喜欢的作家吉姆.巴切笔下的一个形象说法,就象从车里抬出引擎。
On the flipside, amber and red light can be used to block out blue light to help relieve insomnia and overstimulation.
琥珀光和红色光可以被用来阻止蓝光,从而减轻失眠和过度刺激水平。
I block out this reflection of the light box with a hard edge brush set to 100% opacity.
我用100%不透明的硬边笔刷封闭出灯箱的直接反光。
Once we've determined that this statement is an if(Logger.isLogging()) statement, we need to figure out the boundaries of the if's block of code.
确定了这个语句是if(Logger.isLogging())语句后,我们需要找出 if代码块的边界。
To detect this bug pattern, you'll need to know where the try-catch blocks are, what might be thrown out of the try block, and what is caught in the catch blocks.
要检测此bug模式,则需要知道try -catch块的位置、try块可能抛出的内容以及在catch块中将捕获的内容。
Because the value of value is out of range, an exception is thrown that is caught in the catch block.
因为value的值超出了范围,所以抛出了一个被catch块捕获的异常。
A closer look at their neighborhood reveals that they are not alone: Up and down the block, there are "For Sale" signs on the houses, and some neighbours have already had to move out.
靠近观察一下他们的邻居就可以发现,这对夫妇并不是特例:街区上下,很多房子上都挂着“出售”的牌子,一些邻居已经被迫从房子里搬出了。
Save block comments for formal documentation and for commenting out.
块注释用于注释正式文档和无用代码。
Are enough key players selected, especially at the director level, so that those left out cannot easily block progress?
是否选择了足够的关键人员?特别是在管理层,以便他们不会轻易阻碍进展。
Designer's block happens to all of us, and there's no easy way out of it.
设计师的障碍在我们每个人身上都出现过,而且也没有什么简单的方法解决。
You can parse out a lot of useful information from this file — virus probes that you may want to block, for instance.
您可以从这个文件中提取很多有用的信息——例如,可能有一些您希望阻塞的病毒探测。
If the data turns out to be of a simple type such as int for the entire run of a given block, that block (especially if it loops) can run very quickly.
如果在一个给定的代码段中数据是是简单类型,例如int,那么这段代码(如果是一个循环,这种情况就更为突出)就可以很快地运行。
Ferns can grow in dim lighting conditions, which can be caused when particles churned out by volcanoes block out natural light.
由于火山喷发,细小的粉尘颗粒阻挡了自然光线的照射,而蕨类植物却可以在光线昏暗的条件下自由生长。
Their luck held and they were able to walk freely out of the main camp and towards the store block.
他们很幸运,畅通无阻地出了主营区,向仓库区走去。
After all the lines have been processed, the END block will execute, and awk will print out a final summary, specifying the number of blank lines it found.
在所有行都处理完毕之后,awk执行END代码块,并打印最终的汇总信息,以显示它找到的空白行数。
The return keyword is optional here and it is rarely used, except when returning out of the middle of a block (e.g., in an if statement).
return关键字在这里是可选的,而且很少被用到,除非在一段代码中间返回(比如在一个if语句块中)。
Sound sleepers, they found, have specific patterns of activity in the brain that block out distracting signals during their slumber.
他们发现,那些睡眠很好的人,似乎头脑中有着某种特殊的活动来阻隔那些将会影响他们睡眠的声音信号。
Pervasive ice cover for eight to nine months out of the year can block relief ships in case of a blowout.
如果发生井喷,一年中八到九个月无处不在的冰盖会阻挡救援船队。
Pervasive ice cover for eight to nine months out of the year can block relief ships in case of a blowout.
如果发生井喷,一年中八到九个月无处不在的冰盖会阻挡救援船队。
应用推荐