• One of the most important things to implement when authoring a pool is a suitable object lifetime policy.

    创作需要实现重要功能之一适当对象生存期策略。

    youdao

  • This includes the control object lifetime behavior, in particular the handling of the described memory leak problem.

    包括控件对象生存期行为特别是所描述内存泄漏问题的处理

    youdao

  • Whenever you can, avoid finalizers because of the additional performance overhead that is involved in tracking object lifetime.

    应尽可能避免终结器,因为跟踪对象生存期会产生额外性能系统开销

    youdao

  • The weak event pattern can also be used whenever the object lifetime of the source exceeds the useful object lifetime of the listener.

    对象生存超出侦听器的有用对象生存期时,可以使用事件模式

    youdao

  • To minimize the work required on a per-object basis, the default should minimize the objects for which you must specify the object lifetime.

    使针对平均每个对象所需执行的工作最小化默认设置使需要指定生存期的对象个数最少。

    youdao

  • You can also collect object lifetime data that shows you the size and number of objects that are reclaimed in each garbage collection generation.

    可以收集对象生存期数据这些数据显示垃圾回收回收对象大小数目

    youdao

  • Most of the time, good software engineering techniques ensure that this happens automatically, without us having to expend a lot of attention on the issue of object lifetime.

    大多数时候好的软件工程技术保证自动实现的,不用我们对象生命周期问题花费过多心思。

    youdao

  • Whenever the source object lifetime extends beyond the object lifetime of the listener, the normal event pattern leads to a memory leak: the listener is kept alive longer than intended.

    如果对象生存超出侦听对象生存期,则常规事件模式导致内存泄漏:侦听器保持活动状态时间预期要长。

    youdao

  • If you are not careful, this can be the lifetime of your programsuch as when you place an object in a global collection.

    如果小心,那么可能就与程序生命周期一样——如果对象放入全局集合中的话

    youdao

  • Whenever you add a listener to an object, you need to ask yourself what the listener's lifetime is and to which object you're adding the listener.

    不管什么时候某个对象添加侦听器,需要自问一下,侦听器添加哪个对象,侦听器的生命期有多长。

    youdao

  • To maintain the integrity of objects with different lifetimes, you must follow one rule when referencing objects: an object may not reference another object with a shorter lifetime.

    维护具有不同生存对象完整性引用这些对象时必须遵守条规则对象可能不能引用一个具有更短生存期(自身比较)的对象。

    youdao

  • Lifetime (creation) policy improvements - Importers can request a specific creation policy for an injected object.

    (创建)生存策略增强——导入器(Importer)能够注入对象请求一个特别的创建策略。

    youdao

  • If the developer forgets to call XyzRelease, then resources are leaked because the compiler doesn't help to track the lifetime of an object instance.

    假如开发者忘记调用XyzRelease函数那时资源就会泄露因为编译不能跟踪一个对象实例生命周期

    youdao

  • While the bundle base name is fixed for the lifetime of the Msg object, you can switch the locale used by the Msg object by calling its setLocale() method (its default is the JVM's default locale).

    绑定名称”在Msg对象生命周期内将一直存在,可以通过调用 Msg 对象的 setLocale() 来切换语言环境(默认语言环境JVM 使用语言环境)。

    youdao

  • When you copy an object reference using an ordinary (strong) reference, you constrain the lifetime of the referent to be at least as long as that of the copied reference.

    普通()引用拷贝一个对象引用限制referent生命周期至少拷贝引用的生命周期一样

    youdao

  • On the other hand, creating a PreparedStatement object introduces a certain amount of overhead, so, ideally, the statement's lifetime will be sufficiently long to compensate for this overhead.

    方面建立一个PreparedStatement对象会带来一定量系统开销所以在理想情况下条语句生命周期应该足够补偿它所带来的系统开销。

    youdao

  • In the previous installment, we saw how weak references can provide an application with an alternate means of reaching an object while it is used by the program, but without prolonging its lifetime.

    前一期文章中我们看到了引用如何可以应用程序提供对象程序使用时另一种到达该对象方法但是不会延长对象的生命周期。

    youdao

  • It has at least the same lifetime as the function object (absent something funky).

    具有至少相同寿命函数对象(没有什么时髦的)。

    youdao

  • On the other hand, when you create a weak reference to an object, you do not extend the lifetime of the referent at all; you simply maintain an alternate way to reach it while it is still alive.

    一方面,创建对象引用时,完全没有扩展referent生命周期,只是对象仍然存活的时候,保持到达方法

    youdao

  • The allocate() method lets you allocate an object with a given lifetime. For example, when no parameters are required

    allocate()方法能够分配具有给定生存期对象

    youdao

  • There's another issue, however, and that's the lifetime of an object.

    这里还有一个问题就是对象生存时间

    youdao

  • Rust (+ SFML) - How to avoid extra object construction when limited by lifetime parameters?

    (+SFML)-如何避免额外的对象构造时,有限寿命参数

    youdao

  • In this example, the name of the object should not change during its lifetime.

    这个例子里,对象名字生命周期内应该被改变

    youdao

  • Where is the data for an object and how is the lifetime of the object controlled?

    对象数据放在哪里,它的生命周期如何

    youdao

  • An object has a storage duration (3.7) which influences its lifetime (3.8).

    对象具有存储类型(3.7),影响寿命(3.8)。

    youdao

  • The state object provides associated information throughout the lifetime of the operation.

    状态对象操作整个生存期内提供相关信息

    youdao

  • A lease can specify that an object has an infinite lifetime.

    租约可以指定对象具有无限长的生存期

    youdao

  • This method is used to explicitly control the lifetime of a COM object used from managed code.

    方法用于显式控制托管代码使用COM对象生存期

    youdao

  • This method is used to explicitly control the lifetime of a COM object used from managed code.

    方法用于显式控制托管代码使用COM对象生存期

    youdao

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

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

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