condition code 双语例句
全部
1·Transparency: The pre - and post-condition code isn't mixed with business logic.
透明性:前置和后置条件代码不与业务逻辑混合。
2·If a user is not authenticated when trying to access this resource, the user will receive a 401 status code and the application can provide a special error handler to deal with that condition.
如果用户在尝试访问这个资源时还没有经过身份验证,那么用户会收到401状态码,应用程序可以提供一个特殊的错误处理函数来处理这种情况。
3·So double bar means if this condition or this one — and maybe even both — are true, go down this road and execute that code.
所以复纵线意思是,如果这两个条件之一-,或者两个都——是成立的,那就继续,执行后面的代码。
4·Creation of the rule essentially means creating the rule target and the condition; these are also demonstrated with their own code listings.
创建规则实质上意味着创建规则目标和条件,这些都使用它们自己的代码清单作了说明。
5·You can measure code coverage in several ways: by assessing line or statement coverage, condition coverage, branch coverage, and so on.
您可以通过许多方法来测量代码覆盖率:通过评估代码行或语句的覆盖面、条件覆盖面、分支覆盖面等等。
6·The programmer can immediately see if a condition is not going to be met and take corrective measures before running the code.
这样程序员就可以立即得知条件是否得到满足,并在运行代码之前进行一定调整。
7·Figure 3 shows the results of running the example code above, showing the results of a memory condition: memory leak condition.
图3显示了运行上述示例代码的结果,其中显示了“内存条件:内存溢出”条件的结果。
8·The code in Listing 4 illustrates creation of the condition.
清单 4 中的代码说明了条件的创建。
9·Fundamentally, each of these does exactly the same thing: it tests a condition, and if true, continues to execute the block of code provided.
它们做的基本上是同一件事:测试一个条件,如果该条件为真,则继续执行提供的代码块。
10·Sometimes a piece of code is called many times, even from different threads, but you only want to stop in that code if a particular condition is met.
有时有一段代码会得到多次的重复访问,有时甚重由不同的线程访问,但是如果达到某种特定的状况时,您只想停止其中的一段代码。