最简单的情况就是考虑直接在缓冲区后面的记忆体中指派一个布尔标志。
In the simplest case, consider a Boolean flag allocated in memory directly after a buffer.
cancel方法可利用一个布尔标志来指出执行接受的线程是否可被中断。
The cancel method takes a Boolean flag to indicate whether the thread performing the accept can be interrupted.
布尔标志,表示数据是否必须严格按照语义顺序(slower ?)来进行提交。
Boolean flag indicating whether data must be submitted in strict semantic order (slower).
在上述示例中,借助布尔标志visible,‘anesthesialevel’的输入只显示给医生,而不会显示给管理员。
In the above examples, the input 'anesthesia level' is shown only to doctors and not administrators, using the Boolean flag visible.
可以使用的一种方法是创建一个布尔值数组,初始方法中的每一行代码对应一个布尔值,然后添加代码,每执行一行代码就设置相应的标志。
One way would be to create an array of booleans, one for each line of the original method, and add code that sets the appropriate flag as each line is executed.
最后一个参数保留布尔值标志,如果标志的值为true,则指示消息为发布到该主题的“lastknown good”值。
The last parameter, a boolean flag termed retained, if true indicates that the message is the "last known good" value published to that topic.
因此,当卡梅伦的新闻主管克雷格·奥利弗7月5日在喀布尔外的一架拥挤的飞机上爬来爬去时,这标志着有什么急事正在发生。
Thus it signalled that something urgent was afoot when David Cameron's director of communications, Craig Oliver, began clambering about on a cramped flight out of Kabul on July 5th.
在加载properties对象之后,关闭输入流,然后设置布尔型标志变量(init)值为true,确定AddressStore对象已经被初始化。
After loading the Properties object, you close the input stream, and then set your Boolean flag variable (init) value to true, demarcating that the AddressStore object has been initialized.
我们觉得我们的选择已经很有代表性了,莎士比亚、康斯特布尔、当然还有伊丽莎白·斯科特,这些人都是英国真正的标志性人物。
We like to feel we've got a good representative view celebrating some real ICONS of the UK - Shakespeare, Constable and of course Elisabeth Scott herself.
这样就可以有效地对设备寄存器和位于SRAM中的某些标志位提供存取接口,而不再需要完整的布尔逻辑运算过程。
This allows efficient access to peripheral registers and flags located in SRAM memory without the need for a full Boolean processor.
这样就可以有效地对设备寄存器和位于SRAM中的某些标志位提供存取接口,而不再需要完整的布尔逻辑运算过程。
This allows efficient access to peripheral registers and flags located in SRAM memory without the need for a full Boolean processor.
应用推荐