同步代码用英语怎么说,同步代码的英文翻译


词语导航

基本信息

词语:同步代码

繁体:同步代碼

拼音:tóng bù dài mǎ

英语翻译

【计】 synchronizing code

分词翻译

同步的英语翻译:

synchronism
【计】 geostationary; in-phase; in-sync; S; synchronization; synchronizing
synchrony
【化】 synchronism; synchronizing; timing

代码的英语翻译:

word
【计】 code
【经】 code

翻译例句

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

Minimize the number and length of synchronized code blocks.

2. 同步方法或同步代码块?

Synchronized method or synchronized block?

3. 没有人喜欢编写或维护样本gui至域模型同步代码。

No one likes writing or maintaining boilerplate GUI to domain model synchronization code.

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

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

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

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

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

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.

7. 译文:锁对象同步代码依赖于一种简单的重入锁。

Synchronized code relies on a simple kind of reentrant lock.

8. 使用同步代码能够很好地解决某些问题,但它的缺点在某些情况下也特别明显。

Using synchronized code is fine for certain problems, but the weaknesses are fairly obvious for our use case.

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

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

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

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

11. 打乱顺序最糟糕的结果是造成数据混乱,最幸运的结果是大块样本同步代码出现bug。

What results instead of order is, at worst, chaos and, at best, large blocks of boilerplate synchronization code prone to bugs.

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

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

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

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

14. 如果你有你会怎么写同步代码,而不仅仅是一些破碎的异步代码,它就会为我解决你所做的代码更容易。

If you had included how you would write the synchronous code, rather than just some slightly broken asynchronous code, it would"ve been much easier for me to work out what you intended the code to do.

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

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.

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

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.

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

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

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

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.

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

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

20. 其中并没有反向项目或模型代码同步,在这个方法中的源通常是模型。

There would be no reverse engineering or model-code synchronization, as the source in this approach is always the model.

21. 根据我们的观察,我们似乎需要对一些锁的访问进行优化,比如线程执行的同步块代码在一个循环体中。

In light of our observation it seems as if we should be able to optimize access in the case where a thread is looping over a synchronized block of code.

22. 同步的代码块在执行之前需要与客户类对象相关的锁。

This synchronized code block acquires the lock associated with the customer class object before it executes.

23. 更糟糕的还在后面;在合并锁之后,同步的代码块中只包含一个递增序列,因而可以降低强度,转换成一个单独的相加。

And it gets worse; after coalescing the locks, the synchronized body will contain only a sequence of increments, which can be strength-reduced into a single addition.

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

Code areas with synchronized access are sometimes called critical sections.

25. 大多数项目的一个最大的问题是使文档与实际实现它的代码保持同步。

One of the biggest issues for most projects is keeping documentation in sync with the code that actually implements it.

26. 同样是在这个阶段,设计模型同代码同步,以便模型中发生的变化能够被传送到代码中。

Also during this phase the design model was synchronized with code so that changes in the model could be forward engineered to code.

27. 此时,内核软件RAID代码正在同步这两个驱动器,以便它们彼此精确地成为对方的镜像。

At the moment, the kernel software RAID code is synchronizing the drives so that they"re exact mirrors of each other.

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

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

29. UML建模是有价值的技术,但人工地将模型和代码同步是容易出错且消耗时间的。WwW.wEntIYI.COM

UML modeling is a valuable technique by itself, but manually synchronizing models and code is error-prone and time consuming.

30. UML建模是有价值的技术,但人工地将模型和代码同步是容易出错且消耗时间的。

UML modeling is a valuable technique by itself, but manually synchronizing models and code is error-prone and time consuming.

版权声明:问题易所有作品(图文、音视频)均来源网络,版权归原创作者所有,与本站立场无关,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理!