For example, if the conditional is marked "likely" then the compiler can place the True portion of the code immediately following the branch (which will not be taken).
例如,如果一个条件标上了“likely”,那么编译器可以把代码的True部分直接放在分支指令后面(这样就不需要执行分支指令)。
It slows down the next programmer in the code, as they have to think instead of just flowing through the conditional, if that makes sense.
这会减慢未来程序员使用这段代码,因为他必须去思考这段代码如何讲的通,而不是顺着条件去看。
Note: If you do not enable this conditional compilation flag, you will get the release version of the driver object that will be used in the target environment.
注:如果我们没有启用这个条件编译标志,那么就可以得到一个可以在目标环境中使用的驱动程序对象文件。
The update is then made with a conditional expression to only update if this field is the same as when the data was read.
然后,用条件表达式进行的更新只会在该字段就是数据被读出的那个字段进行。
A conditional connection executes the control flow only if this operation is successful.
这个有条件连接只在这个操作成功的情况下执行控制流。
Closure Stylesheets allows the use of @if, @elseif and @else in creating conditional branches based on the value of some variables.
ClosureStylesheets让我们可以使用@if、@elseif和@else,从而基于某些变量的值来创建条件语句的分支。
The case statement is another conditional statement that you can use in place of using an if statement.
case语句是另一种条件型语句,您可以用该语句来替代if 语句。
You can code conditional WebSphere TX map logic within map rules using the PRESENT function, which tests to see if a particular data object is found in a data structure.
可以在映射规则中使用present函数编写有条件的WebSphereTX映射逻辑,这个函数检查在数据结构中是否可以找到某个数据对象。
If, Else if, and Else refinements are conditional transforms used to control the flow of mappings within a map.
Elseif和Else细分是一些条件转换,用于控制映射内的映射流。
The Mapping Editor contains support to implement such conditional logic on mappings with use of the If, Else if, and Else transformations.
MappingEditor支持使用If、Else if和 Else转换对映射实现这类条件逻辑。
As in most every language, Scala's if evaluates a conditional expression, then proceeds to a block if the result is true or branches to an alternate block if the result is false. A simple example.
和大多数语言一样,Scala的if测试一个条件表达式,然后根据结果为真或假来跳转到响应语句块中。
A conditional transition is traversed if the condition is met, otherwise the default leg is taken. To create the transition, do the following.
如果条件满足,则遍历条件转换,否则采用缺省操作。
In Ruby, if the body of a conditional is a single line, you can write expressions like the one shown in Listing 11. Also note that the same conditional could also be written as definition.word.
在Ruby中,如果条件结构的体只有一行,那么可以编写清单11中所示的表达式。
You can also build more complex conditional tests using an if/elif/else (elif being the equivalent to PHP's elseif), as shown in Listing 8.
您还可以使用if/elif/else(elif,等价于PHP 中的elseif)创建更加复杂的条件测试,如清单8 所示。
To correct this problem, place the unrelated transformation within one of the conditional transformations (or duplicate it in all conditional transformations if it applies in all cases).
要解决这个问题,将不相关的转换放入其中一个条件转换中(或在所有条件转换中复制该转换,如果适应于所有情况的话)。
If the reference that the conditional block will use for input does not exist, create it (as explained in the article on adding dynamic data to your Web service tests in the Resources section).
如果条件块为了输入而使用的引用不存在,那么就创建它(这在参考资料部分的文章addingdynamicdatatoyourWebservicetests中有解释)。
The trivial differences could be handled with simple conditional branches (" if account is new, then... ") in the workflow.
这些细微差别可以在工作流中用简单的条件分支(“如果帐户是新的,则…”)处理。
Policies allow rules to take the form of if, then conditional statements, where actions are executed to account for a given condition.
策略规则可以采用 “如果,那么”条件陈述的形式,也就是说,在某一条件下应该采取某些措施。
Another threatened to divorce her husband if he didn't get a job, but then he divorced her after he was hired because he didn't want the marriage to be so conditional.
另一位病患威胁她丈夫:如果找不到工作就和他离婚,等她丈夫找到工作却跟她离婚了,因为他觉得这场婚姻太现实了。
If you include this in the head of your webpage, in an IE conditional comment, your page will render just fine.
如果你将其以IE选择性注释包含在网页的头部,你的页面就能正常渲染了。
That would be a good argument if we had good reason to believe the conditional, the if-then claim.
如果我们有很好的理由相信这种假设,那这就是个很好的论据。
Mr Uribe's use of the conditional “if” in his tweet about Mr Noguera suggests he may still stand by his man, whom he once called a “good boy.
乌里韦在微博中谈到诺格拉时使用了假设性的字眼“如果”,这表明他仍然支持这个曾以“好孩子”称呼的手下。
If conditional, it should go to the hospital to do an inspection.
如果有条件的话,应该去医院做一个检查。
CONDITIONAL: If the table is present in the front-end database, the SQL statements are executed in the front end.
CONDITIONAL:如果数据表在前端数据库中,sql语句将在前端执行。
This little piece of code shows the conditional if statement.
这一小段代码显示了条件型if语句。
Because if statements are expressions in Scala, there is no need for the special-case ternary conditional expressions that exist in C-derived languages.
因为在scala里if语句是一个表达式,所以就不需要c类型子语言的三重条件表达式了。
In addition, the return clause in this query contains conditional logic to determine if an E-mail element is present in a given customer's record.
此外,这个查询中的return子句包含一个条件逻辑,用于判断给定客户的记录中是否存在e- mail元素。
Even if your components have a far future Expires header, a conditional GET request is still made whenever the user hits Reload or Refresh.
即使您的组件具有远的未来过期标头,一个条件GET请求仍付款时,用户点击Reload或刷新。
It would also be nice if Rich doesn't reserve the vertical bar for anything so we can keep it as part of our core DSL for conditional probability notation.
如果Rich不保留竖线也挺好,这样我们可以将它作为我们核心dsl的一部分,用来作为条件概率记号。
It would also be nice if Rich doesn't reserve the vertical bar for anything so we can keep it as part of our core DSL for conditional probability notation.
如果Rich不保留竖线也挺好,这样我们可以将它作为我们核心dsl的一部分,用来作为条件概率记号。
应用推荐