As the test man page states, the test command evaluates expression parameters and, if the expression value is True, returns a zero (True) exit value.
正如test的手册页指出的,test命令运算表达式参数的值,如果表达式的值是True,就返回零(True)退出值。
As stated in the definition, test returns a zero exit value if the expression value was True or a non-zero exit value (that is, 1).
根据定义,如果表达式值是True,那么test返回零退出值,否则返回非零退出值(即1)。
If stop is true, then iteration will exit immediately.
如果stop为true,则迭代将立即退出。
This ensures that you get to know if, due to a bug in the code in this function, the conditions that you expect to be true on exit, are not.
如果由于该函数中代码的错误,您期望退出时为真的条件并不为真,那么这些断言能够确保您知道这一点。
In Indiana this week, 29% of blacks told exit pollsters that the candidate's race was important to them. The true figure may be even higher, however.
本周在印地安那,29%的黑人选民告诉门口的民意调查人,候选人的种族对他们很重要,但是真实的比例可能会更高。
It occurs to me that "Control your exit" is advice that's figuratively true, too.
我突然发现“控制自己的出口”从喻意方面来说也是正确的。
This is especially true for larger accounts where entry and exit of positions has heavy cost because the orders are large enough to move the markets.
这一点对于大资金帐户进出市场非常重要,因为它们的买卖金额太大了以致于引起市场的波动。
Object invariant describes the relationship of the object-oriented data structure, it always holds true after the object creation and on the entrance and exit of the method invocation.
对象不变式描述了面向对象数据结构中元素间的关系,在对象创建后以及方法引用前后它总为真。
If we exit the loop normally, that means we didn't find an "e", so we return True.
如果正常退出了循环意味着我们没找到e就返回真。
Therefore, a true momentum strategy needs to have solid exit rules to protect profits while still being able to ride as much of the extension move as possible.
因此,真正的动量交易策略需要稳定的出场规则,保护利润但又要尽量地获得更多的利润。
In the quarterfinals, we had Spain dusting Portugal, Brazil thumping Chile and Argentina sending Mexico to its usual second-round exit. All of those prophecies came true.
我们预测,在四分之一决赛中,西班牙将打败葡萄牙、巴西打败智利、阿根廷打败墨西哥,让墨西哥像以往那样在小组出线后就出局。
In the quarterfinals, we had Spain dusting Portugal, Brazil thumping Chile and Argentina sending Mexico to its usual second-round exit. All of those prophecies came true.
我们预测,在四分之一决赛中,西班牙将打败葡萄牙、巴西打败智利、阿根廷打败墨西哥,让墨西哥像以往那样在小组出线后就出局。
应用推荐