• 尽可能减少同步代码块的数量和长度。

    Minimize the number and length of synchronized code blocks.

    youdao

  • 同步方法或同步代码块?

    Synchronized method or synchronized block?

    youdao

  • 其原因是清单5的同步代码阻止了并行执行。

    The reason is that the synchronized block in Listing 5 prevents parallel execution.

    youdao

  • 还会自动地生成数据绑定代码和数据同步代码。

    The data binding code and data synchronization code are also generated automatically. The following C# code is generated by IBM Database Visual Studio Add-in to bind the Employee table.

    youdao

  • 在有必要进行同步的场合下,应该尽量缩小同步代码块。

    In cases where synchronization is necessary, the synchronized code block should be minimized.

    youdao

  • 最后,DOM实现通常包括许多同步代码以使多线程化访问安全。

    Finally, DOM implementations generally include a lot of synchronization code to make multithreaded access safe.

    youdao

  • 创建同步代码块产生了16行的字节码,而创建同步方法仅产生了5行。

    Creating the synchronized block yielded 16 lines of bytecode, whereas synchronizing the method returned just 5.

    youdao

  • 同步代码块所需的执行时间越长,其他线程等待进入该代码块的时间就越长。

    The longer a synchronized code block requires for execution, the longer other threads wait to enter that block.

    youdao

  • 由于是重复使用同一段同步代码,而不是创建自己的同步代码,因此出现的错误会少一些。

    Because you are using the same synchronization code over and over, instead of creating your own, you have fewer bugs.

    youdao

  • 如果您希望对同步代码的部署进行更多细粒度控制,那么解决方案就是使用一个原子字段更新程序。

    The workaround, if you want more fine-grained control over the deployment of synchronized code, is to use an atomic field updater.

    youdao

  • 如果同步代码块不够小,应该对代码进行分析,对其重构,以使所有可以异步运行的代码均位于同步代码块之外。

    If it is not small enough, you should analyze your code and refactor it in such a way that anything that could run asynchronously is located outside of the synchronized block.

    youdao

  • 框架并没有尝试以一种一致的方式将同步代码从异步代码中分离开来,从而使编写出的代码很容易意外阻塞整个阶段。

    The framework doesn't try to isolate synchronous code from asynchronous code in a consistent way, making it dangerously easy to write code that accidentally blocks the entire stage.

    youdao

  • 但是,由于原始的Person没有与这些可变setter 相关的同步代码,所以Scala版本使用起来更安全。

    But considering the original Person also had no synchronization code around those mutable setters, the Scala version is safer to use.

    youdao

  • 应用程序代码的大部分都涉及到在子系统间保持这些信息同步、响应更改以及将更改传播到相关组件。

    A large part of the application code involves keeping all these things synchronized across subsystems, reacting to changes, and propagating the changes to interested components.

    youdao

  • 能够进行同步访问的代码块有时称为关键部分。

    Code areas with synchronized access are sometimes called critical sections.

    youdao

  • 模型与已交付代码的同步。

    Synchronization of models with delivered code.

    youdao

  • 只有方法和代码块能被同步标记。

    Only methods or code blocks can be marked "synchronized".

    youdao

  • 只要您保持测试和代码的同步(这是实践的关键点),如果有程序员想知道系统能做什么,他或她可以参看测试。

    As long as you keep your tests and code synchronized (and that's the whole point of the practice), if a programmer wants to know what the system does, he or she can look at the tests.

    youdao

  • 当您改变模型时(这种情况真的会出现),EMF可以通过单击一个按钮,就使代码和模型保持同步。

    When you change your model (it happens, really), the EMF can keep the code synchronized to your model at the click of a button.

    youdao

  • 本例中的这个代码更改没有涉及任何同步,因此也没有产生应用程序的锁定行为问题。

    The code change in this example did not involve any synchronization and so there are no issues with the locking behavior of the application.

    youdao

  • 第二个解决方案是允许多线程提交,但是依赖于服务器端代码中的同步来避免争用情况。

    The second solution is to allow multiple thread submissions while relying on synchronization in server-side code to safeguard against race conditions.

    youdao

  • 认为一种类型的需求可以满足每个涉众,或者认为可以很容易地使代码和需求保持同步是很愚蠢的。

    It is foolish to think that one type of requirement will satisfy every stakeholder or that it will be easy to keep requirements synchronized with the code.

    youdao

  • 要是您想用一小块线程安全代码把要求同步的两个操作隔开,那么只使用一个同步块一般会更好些。

    If you have two operations that require synchronization separated by a small block of thread-safe code, you are generally better just using a single synchronized block.

    youdao

  • XMLBuddy是免费插件,它为Eclipse增添了XML编辑能力,其中包括对用户可配置的语法着色、DTD驱动的代码辅助、验证以及同步的提纲视图。

    XMLBuddy is a freeware plug-in that enriches Eclipse with XML editing capabilities that include user-configurable syntax coloring, DTD-driven code assist, and validation and synchronized outline view.

    youdao

  • 使用同步Web服务应用程序消息传递,应用程序代码在等待接收响应消息时阻塞。

    With synchronous Web services application messaging, the application code blocks while waiting for the response message to be received.

    youdao

  • 除了Acceleo,Obeo设计器也提供了Obeo可追溯功能,可以用来探测并修正所有你的应用代码和模型之间出现的不一致和同步问题。

    In addition to Acceleo, Obeo Designer also brings along Obeo Traceability to detect and correct all incoherence and synchronization problems between your application code and your models.

    youdao

  • 因为ejb可视化编辑器本质上是动态的,所以它通常能与底层的代码保持同步。

    Being dynamic in nature, the EJB Visual Editor is always synchronized with the underlying code.

    youdao

  • 注意“发布到主干”并不是说我们仅把某个故事的代码直接拷贝到主干中,而是意味着所有的工作拷贝到主干中,做一次完整的同步。

    Note that "release to trunk" doesn't mean that we are copying the code for one specific story to trunk. It means we are copying everything from work to trunk, i.e. doing a complete synchronization.

    youdao

  • 同步的“调用-返回”模型是用绝大多数编程语言编写代码的标准形式。

    The synchronous call-and-return model is the standard form for writing code in most programming languages.

    youdao

  • 同步的“调用-返回”模型是用绝大多数编程语言编写代码的标准形式。

    The synchronous call-and-return model is the standard form for writing code in most programming languages.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定