其中存在许多愚蠢的边界情况。
什么是边界情况呢?
该应用程序编程接口(API)确保这些边界情况被妥善处理。
This application programming interface (API) ensures that those corner cases are handled properly.
在这些情况下并不会出现缺陷——能导致出现问题的往往是那些边界情况。
Defects rarely occur for these situations — it's the edge cases that usually cause problems.
清单5依赖于substring在某些边界情况下的行为以及布尔值到数字的转换。
Listing 5 depends on certain behaviors for substring in some edge cases, as well as the conversion of Boolean values to Numbers.
第二,当你已经让一些东西运行得足够快时,就很可能不愿意去修复一些边界情况以免变慢。
And second, once you already have things running really fast, it's very tempting not to fix those edge cases that slow things down.
比方说,把null值传入一个并未编写如何处理null值的方法中,这就是一种边界情况。
It's the situation where, for instance, someone passes a null value to a method not coded to handle nulls.
在目前的煤矿安全规程条件下考虑边界情况,对电液控制系统跟机控制国产化做出可能的扩展性研究。
Under the conditions to meet the present mine safety regulations, the boundary condition was considered. A development study on the domestic made control system followed with the coal shea...
程序员通常会更加系统地考虑过程的问题,因此通常会处于最好的位置来帮助领域专家确定并详细说明所有的边界情况。
Programmers tend to think about issues of process more methodically and therefore are often in the best position to help the domain expert identify and expound upon all of the edge cases.
整个设计通过了海量数据输入测试,并对各种指令的操作数、边界情况和各种随机数据组合进行了充分模拟,代码覆盖率为100%。
The whole design has succeeded in the test of large data input, operation in each instruction, border condition and every random data vector. The code coverage has reached the percentage of 100%.
理想情况下,这个系统甚至会让我们把生态系统从边界处拉回来。
Ideally, the system would even allow us to pull an ecosystem back from the borderline.
如果实现不是很安全,那么这个边界上就会出现漏洞:导致气球消气了,或者最糟糕的情况是气球炸了。
If the implementation is just a bit insecure, a hole is opened on the boundary: the balloon deflates or, worst case, explodes.
允许文本在页面边界处自动换行,避免出现需要水平滚动的情况。
Allow text to wrap at the page border to prevent the need for horizontal scrolling.
不可中断流的缺省情况下,所有活动都在相同的事务边界内执行。
In the case of non-interruptible flows, by default, all activities are executed within the same transaction boundary.
在UML2中,框架元件用于作为许多其他的图元件的一个基础,但是大多数人第一次接触框架元件的情况,是作为图的图形化边界。
The frame element is used as a basis for many other diagram elements in UML 2, but the first place most people will encounter a frame element is as the graphical boundary of a diagram.
北面邻近蒙古边界多山的山西省,情况尤其是这样。
In mountainous Shansi province, near the northern Mongolia border, this is especially true.
通常,吞吐量的测量是相对于负载情况的,确定随着用户负载的继续增长所出现的系统边界。
Throughput is often measured in relation to load, determining where the boundaries of the system might be as user load continues to grow.
可以组合这些表示维、边界和数据查询的基本查询类型,以建模更复杂的情况。
You can combine these basic query types, which represent the dimension, edge, and data queries described here, to model more complex situations.
与真实世界中的情况不同,3d计算给我们增加了两个视图边界:近切割面和远切割面。
Unlike the real world, 3d computing gives you two more view boundaries: near and far clipping planes.
通过考虑组件在应用程序结构内的主要使用情况,可以更为恰当地确定数据有效性检查的位置——例如,仅在受管理的信任边界进行检查。
Considering the primary USES of components within application structures leads to more appropriate placement of data validity checking — for example, only at managed trust boundaries.
一个可能的原因是自由管理程序想要避免那种情况,在那种情况下,如果跨事务边界保持结果集,就必须要保持某些资源锁。
One possible reason is that the resource manager wants to avoid the situation, where it has to hold some resource locks if the result set is held across the transaction boundaries.
在大多数情况下,组织的边界和约束是此反模式的根本原因。
In most cases, organizational boundaries and constraints are the root cause of this antipattern.
在这种情况下,由于您正在使用0,所以您无需任何边界。
In this case, you don't want any borders, so you're using 0.
名人是一种边界性的存在,涉及的是那些生活被媒体描述为充满事件和紧急情况的那些人。
Celebrity is a frontier existence. It involves people whose lives are represented by the media as full of incident and emergency.
很多情况下,这些用例是公开在企业边缘的业务服务,或者在贯穿业务线企业边界内所用的非常好的候选。
These use cases often are very good candidates for business services exposed at the edge of the enterprise, or for those used within the boundaries of the enterprise across lines of business.
问:中国与印度多年来存在边界纠纷,能否介绍最新的谈判情况?
Q: Border disputes between China and India have existed for many years. Could you update us on the latest negotiations?
这种技术完美地避免了只能假定一切正常的测试,或是没有对边界进行有效验证的情况。
This technique is perfect for avoiding tests that only assert sunny-day scenarios or don't effectively verify bounds.
这种技术完美地避免了只能假定一切正常的测试,或是没有对边界进行有效验证的情况。
This technique is perfect for avoiding tests that only assert sunny-day scenarios or don't effectively verify bounds.
应用推荐