REDUCED INVALID STATE TRANSITION CALLS.
减少无效的状态转换调用。
In addition, avoid returning objects that are null or in an invalid state.
此外,避免返回空对象或者状态无效的对象。
Both assume that all inputs are valid and no checks for invalid state are made.
假设所有的输入都是有效的,并且没有对无效状态的核查。
When you detect an error or invalid state in a function, what's the best way to handle it?
优雅的退出当你在函数中检测到一个错误或者无效状态时,最好的处理方式是什么呢? 返回一个错误代号(error code),抛出一个异常还是调用assert()?
That is, if the test evaluates to true, the document will be seen to be in an invalid state.
如果测试结果是true,那么文档将处于无效状态。
Otherwise one thread might interrupt what another thread is doing, and the object could be left in an invalid state.
否则,一个线程可能会中断另一个线程正在执行的任务,使该对象处于一种无效状态。
Listing 12 shows the output message, which highlights the first address as containing an invalid state abbreviation of nw.
清单12给出输出消息,它指出第一个地址包含无效的州缩写nw。
INVALID state indicates that the packet is not associated with any known stream or connection and it may contain faulty data or headers.
INVALID状态指出该信息包与任何已知的流或连接都不相关联,它可能包含错误的数据或头。
A race condition exists when a thread modifies a resource to an invalid state, and then another thread attempts to access that resource and use it in the invalid state.
当一执行绪将资源修改为无效状态,而接著另一执行绪尝试存取这个资源并在无效状态中使用它时,就出现竞争情形。
So, for example, you can learn whether the exception was raised because a given method received an unacceptable value, failed in the calculation of the expected return value or holds an invalid state.
因此,例如,您可以了解是否引发异常,因为给定的方法收到不能接受的值、计算预期的返回值中失败或包含无效的状态。
If the server side state of a portal resource that was once required to generate the markup for a specific page changes, this page needs to be regenerated, and thus the cached view becomes invalid.
如果曾用于生成特定页面的标记的某个门户资源的服务器端状态发生更改,需要重新生成此页面,因而缓存的视图会变为无效。
A state name such as TX may be considered invalid by VeriSign, in which case you would receive the error the state value used in the submitted CSR is not valid.
如果输入诸如tx之类的州名称,可能会被verisign视作无效,这时您将接收到错误消息thestatevalueusedin thesubmittedCSR is not valid。
The server health indicator will transit to attention state if one or more servers are invalid. When a server is unavailable the health indicator status is shown as.
如果一个或多个服务器无效,则服务器健康指示器将转变为警报状态。
For simplicity, we did not include error handling for cases such as an invalid operation called for the current state.
为了简单起见,我们并未包含处理对当前状态无效的操作调用等情况的错误处理。
The court held that the judgment from the underlying action was invalid due to the fact that plaintiff was a non-resident of the state in which the action was brought and was not personally served.
最高法院根据在诉讼提起时原告不是俄勒冈州居民且没有亲自收悉诉状和传票的理由认为接下来的行为无效。
Do allow properties to be set in any order even if this results in a temporary invalid object state.
允许按任意顺序设置属性,即便这样做会导致出现暂时无效的对象状态也如此。
If a civil conduct is made by an actor who is in a state of dottiness, it shall be deemed as invalid.
行为人在神志不清的状态下所实施的民事行为,应当认定无效。
Therefore, to prevent invalid data, you must lock application state for writing by only one thread before setting values.
因此,若要避免无效的资料,在设定值之前您必须锁定应用程序状态,只能让一个执行绪写入。
If any field becomes invalid after the transition, the state transition will fail.
如果有任何栏位在转换之后变成无效,则状态转换就会失败。
Debuggability enhancements: Better warnings for invalid packs, ability to see entity state in game.
调试性增强:更好的无效包警告,游戏内可见实体状态。
If the claimant wilfully misstates or fails to state a fact that, if known, might have caused the Copyright Office to reject the application, then the registration may be ruled invalid.
如果权利要求人故意错误陈述或未陈述事实,如果被知悉,可能早已导致版权局驳回申请,则该登记可能会被裁定为无效。
It is exposed so that derived element classes can make further checks on their own possibly invalid layout state.
公开此方法以便派生元素类可以对其自身可能的无效布局状态进行进一步的检查。
Outside of a debugger, you can install a trap handler to log information about the state of the computation that produced the invalid operation.
以外的调试器,可以安装一个陷阱处理程序记录信息的状态计算产生无效的操作。
She could not call herself an invalid now, compared with her state on first reaching Bath.
同她刚到巴思的情况相比,她现在还称不上是病人。
However, the excessive interference from the state makes its institution invalid, the competitive law out of shape etc.
但是国家的过度干预造成国家自身制度供给的非有效性,扭曲了竞争规律。
I was paying state and federal taxes, but I was using an invalid Social Security card and writing false information on my employment forms.
我缴纳国家和州的税款,但我用的非法社保卡,雇佣卡上的信息也是假的。
I was paying state and federal taxes, but I was using an invalid Social Security card and writing false information on my employment forms.
我缴纳国家和州的税款,但我用的非法社保卡,雇佣卡上的信息也是假的。
应用推荐