Interestingly, it's the second unexercised if block that is a concern.
有趣的是,所要关注的正是第二个没有被执行的if 块。
Thread 1 enters the if block, but is preempted by thread 2 before executing the line at //2.
线程1进入if代码块,但在执行 //2 处的代码行时被线程 2 预占。
The straight forward approach would be to add a fourth IF block after looking for credentials from the form fields.
简单的方法是在寻找来自表单字段的凭证之后添加第四个IF块。
When a call to the log method is found, we check to see if the program counter is outside the if block determined earlier.
找到对log方法的调用后,我们检查程序计数器是否在前面确定的if块外面。
The reason the idiom in Listing 3 is deficient is because obj is not guaranteed to be non-null after the body of the if block completes.
清单3中的风格不够好的原因在于,if块的主体结束之后ob j不一定是非空值。
After working with obj after this if block, you should set obj to null to enable the garbage collector to reclaim this object to take full advantage of weak references.
在使用这个if块之后的obj之后,您应该将ob j设置为null,从而让垃圾收集器能够回收这个对象以充分利用弱引用。
Because I am not wrapping the (Out of Stock!) message in an HTML tag element, Razor can’t implicitly determine that the content within the @if block is the start of a content block.
由于我没有将消息“已售完!” 嵌套在HTML标签元素内,Razor不能隐式判断@if块中的内容是否是一个内容块的开始。
You can always use opaque glass if you need to block a street view.
如果你需要挡住外面的街景,你随时可以使用不透明玻璃。
Why? Because that block identifies a set of things that I'm going to do if the test is true.
为什么呢?因为该代码块指定了在测试正确的情况下,我将进行的一系列操作。
Mention where you live, if you live on the same block.
指出自己住在什么地方,如果你住同一个街区内。
Policy Injection Application Block can still be used if AOP functionality is needed.
如果需要AOP功能,依旧可以使用策略注入应用程序块。
However, if the mutex is locked this call won't block.
然而,如果互斥对象已锁定,这个调用也不会阻塞。
Do code path analysis to see if there is a synchronized block in the code that is blocking requests to execute concurrently.
进行代码路径分析,以查看阻塞请求并发执行的代码中是否存在同步阻塞。
The next block creates the backup directory if it does not exist.
下一个块在备份目录不存在时创建该目录。
If you want to block other content, an option in the right-click context menu helps you block certain elements like online advertisements.
如果你要阻止其它内容的显示,可以在右键菜单中找到阻止内容,从而阻挡一些在线广告。
If the block found in the size tree is exactly the required size, the block is removed from both the size and the address tree and then returned to the caller.
如果在大小树中找到的块正好是请求的大小,那么从大小树和地址树中删除这个块并返回给调用者。
This space is used if a block in the original file system changes.
如果原始文件系统中的一个数据块发生更改,就会使用此空间。
The logic block is only reached if the focused application is the same between input reads.
仅当输入读取之间的获得焦点的应用程序是同一个应用程序时,才会到达逻辑块。
If the parent is not block-level, the dimensions will be ignored.
如果父元素不是块级元素,尺寸将被忽略。
For instance, the read will occur from the snapshot only if the source block has changed since the snapshot was created.
例如,只有在自创建快照以后源数据块被更改,才会从快照读取。
Late Tuesday, however, some Facebook users apparently had all of these potentially irritating notifications turned back on — even if they'd tried to block them.
然而,周二的晚些时候,一些脸书用户显然收到了所有那些潜在的恼人的邮件提醒——就算他们尝试去阻止它们也无济于事。
If the request block is requesting HTML, it executes the first closure; if it's requesting XML, it executes the second.
如果发出请求的代码块是在请求HTML,这段代码会执行第一个闭包;如果发出请求的代码块在请求XML,这段代码会执行第二个闭包。
If Firefox is configured to block pop-ups, click allow to allow the installation window to open.
如果Firefox配置为阻止弹出窗口,单击Allow允许打开安装窗口。
If you can, use a try-catch block.
如果能,那么使用try - catch块。
Count the number of ones in each byte of the 8-byte block; if the number of ones is even, make it odd by setting the least significant bit to one.
统计8字节块中每字节中的1的个数,如果1的个数为偶数,那么就设置最低位为1使它成为奇数。
You see errors inside of the "if" block as shown in Figure 16.
您将看到“if”代码块内的错误,如图 16 所示。
When using Ajax on the client, it is best if you don't block the client, and thus the asynchronous calls. Blocking would defeat the purpose of using Ajax.
在客户机上使用Ajax时,最好不要阻塞客户机,这样就不会阻塞异步调用。
If you wish, you can choose to block cookies at any time.
当然如果你愿意,你可以选择在任何时候都阻止cookies。
In this case, you're using a simple if... Else block to see whether any value stored in the state is accessible via the random key.
在本例中,我们用一个简单的if . . .else块来判断在状态中保存的值是否可通过random键访问。
A wants method executes the corresponding code block if the method name matches the type in the HTTP Accept header.
如果方法名称与HTTPAccept头中的类型匹配,wants方法执行对应的代码块。
应用推荐