引用计数也难以处理发生循环引用的数据结构。
Reference counting also has difficulties with structures having circular references.
对象可为引用计数对象生成句柄数。
An object that generates handle Numbers for reference counting objects.
这是类是引用计数的,利用了我写的许多全局变量。
The class is ref counted, and makes use of many globals that I wrote myself.
每一个对象都有一个关联的引用计数——对该对象的活跃引用的数量。
Each object has an associated reference count — the number of active references to that object.
罗黙的团队的分数受到终身引用计数的不利制约,但是差异也很显著。
Ms Romer's team is handicapped by our use of lifetime citation counts, but the difference is still striking.
另外,内置函数和第三方的库不会知道或者可以使用您的引用计数机制。
Also, built-in functions and third-party libraries will not know about or be able to use your reference-counting mechanism.
由于引用计数是如此简单,大部分程序员都自已去实现它,而不是使用库。
Since reference counting is so simple, most programmers implement it themselves rather than using libraries.
不使用引用计数为对象,其中可以得到复杂和容易出现的错误。
Doesn't use reference counting for objects which can get complex and error prone.
UMDF使用引用计数方案来管理回调对象和框架对象的寿命。
UMDF uses a reference-counting scheme to manage the lifetime of callback objects and framework objects.
原子引用计数修正了这一点,当你从对象A到对象B,你会这样做。
So atomic reference counts fix that. They work because when you move from object a to object b, you can do this.
而在引用计数系统,这两个对象都不能被销毁,原因是引用计数永远不能为零。
In a reference counting system, however, neither of the objects can be destroyed, because the reference count never reaches zero.
不过,当您使用某个采用引用计数的数据结构时,您必须记得运行引用计数函数。
However, you must remember to run the reference counting functions whenever you are using a reference-counted data structure.
基于对象的引用计数和基于单一对象的多重接口管理都是有用的概念。
Reference counting on objects and managing multiple interfaces on a single object are both useful concepts.
如果没有其他的引用指向对象,那么它的引用计数达到0,这是释放。
If no other reference points to the object, then its reference count reaches 0 and it is deallocated.
如果对象的引用计数是零,那么它就是垃圾(用户程序不可到达它),并可以回收。
If an object's reference count is zero, it is garbage (unreachable from the user program) and can be recycled.
当两个对象互相引用时,就构成了循环引用,其中每个对象的引用计数值都被赋1。
A circular reference is formed when two objects reference each other, giving each object a reference count of 1.
此方法使您能够强制RCW引用计数释放,以便它按照您的所需准确发生。
This method enables you to force an RCW reference count release so that it occurs precisely when you want it to.
除了垃圾收集之外,通常还有其他两种方法用于处理别名问题:引用计数和所有权管理。
Besides garbage collection, two other approaches are commonly used to deal with the problems of aliasing: reference counting and ownership management.
在引用计数系统,每个所引用的对象都会保留一个计数,以获悉有多少对象正在引用它。
In a reference counting system, each object referenced maintains a count of how many objects are referencing it.
如果附件存在于多个数据库中,该附件在每个服务器分区中仅存储一次,同时增加引用计数。
If an attachment exists in multiple databases, the attachment is stored only once per server partition, and the reference counts are increased.
一些垃圾收集算法要求编译器或者运行时环境的重要配合,如当进行指针分配时更新引用计数。
Some garbage collection algorithms require significant cooperation from the compiler or runtime environment, such as updating reference counts whenever a pointer assignment is performed.
介绍采用引用计数、操作标志等方法实现矩阵复制、转置、乘常数等部分矩阵运算。
Then the methods of the adoption to quote from to count, operating the marking etc are introduced.
在同时使用了垃圾收集和引用计数的混合系统中,将会发生泄漏,因为系统不能正确识别循环引用。
In a hybrid system, where both garbage collection and reference counting are being used, leaks occur because the system fails to identify a circular reference.
我可以添加一些引用计数,以保持工作线程活着,直到它的所有COM对象已经被释放。
I could add some reference counting to keep the worker thread alive until all of it's COM objects have definitely been released.
在我们的例子里,我们全部要关心的是引用计数—全局和对象计数—和“数据库”结构。
In our sample, all we have to worry about is the reference counters-both the global and the object counter-and the "database" structures.
所有权政策是实现通过引用计数通常称为“保留计数”后保留方法。每一个对象都有一个保持计数。
The ownershippolicy is implemented through reference counting—typically called "retaincount" after the retain method. Each object has a retain count.
所有权政策是实现通过引用计数通常称为“保留计数”后保留方法。每一个对象都有一个保持计数。
The ownershippolicy is implemented through reference counting—typically called "retaincount" after the retain method. Each object has a retain count.
应用推荐